mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-23 08:55:26 +02:00
wix-installer: register jami protocol
Add some registry keys and values for the URL protocol via the WiX installer. Gitlab: #655 Change-Id: Ibc857cfea2db4ff5a20ca3e71e057990527a4054
This commit is contained in:
parent
5613a81ada
commit
f319c95485
1 changed files with 18 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
<ComponentRef Id="ApplicationShortcutDesktop" />
|
||||
<ComponentRef Id="ApplicationShortcutStartMenu" />
|
||||
<ComponentRef Id="RegistryEntries" />
|
||||
<ComponentRef Id="URLProtocolRegistryEntries" />
|
||||
</Feature>
|
||||
|
||||
<!--Visual C++ Redist merge module-->
|
||||
|
@ -100,6 +101,23 @@
|
|||
</DirectoryRef>
|
||||
</Fragment>
|
||||
|
||||
<Fragment Id="URLProtocol">
|
||||
<DirectoryRef Id="TARGETDIR">
|
||||
<Component Id="URLProtocolRegistryEntries" Guid="*" Win64="yes">
|
||||
<RegistryKey Root="HKCR" Key="jami" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes">
|
||||
<RegistryValue Type="string" Name="URL Protocol" Value="" />
|
||||
<RegistryValue Type="string" Value="URL:jami"/>
|
||||
<RegistryKey Key="DefaultIcon">
|
||||
<RegistryValue Type="string" Value="[APPLICATIONFOLDER]$(var.ExeName).exe" />
|
||||
</RegistryKey>
|
||||
<RegistryKey Key="shell\open\command">
|
||||
<RegistryValue Type="string" Value='"[APPLICATIONFOLDER]$(var.ExeName).exe" "%1"' />
|
||||
</RegistryKey>
|
||||
</RegistryKey>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
</Fragment>
|
||||
|
||||
<Fragment Id="UI">
|
||||
<UI Id="CustomUI">
|
||||
<Property Id="WixAppFolder" Value="WixPerMachineFolder" />
|
||||
|
|
Loading…
Add table
Reference in a new issue