mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-19 06:31:02 +08:00
47 lines
2.0 KiB
Plaintext
47 lines
2.0 KiB
Plaintext
|
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
|
||
|
xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
|
||
|
<?include ../Includes.wxi?>
|
||
|
|
||
|
<Fragment>
|
||
|
<!-- Regs for shortcuts are defined in "Fragments/ShortcutProperties.wxs" -->
|
||
|
<!-- Component that persists the property values to the registry so they are available during an upgrade/modify -->
|
||
|
<DirectoryRef Id="INSTALLFOLDER">
|
||
|
<Component Id="Product.Registry.InstallDir" Guid="3196EDA7-9AEF-4705-A0C8-E3F3ECCCB153">
|
||
|
<RegistryKey Root="HKCR" Key="$(var.RegKeyRoot)">
|
||
|
<RegistryValue Type="string" Name="INSTALLFOLDER" Value="[INSTALLFOLDER]" />
|
||
|
</RegistryKey>
|
||
|
</Component>
|
||
|
|
||
|
<Component Id="Product.Registry.DefaultIcon" Guid="6DBF2690-0955-4C6A-940F-634DDA503F49">
|
||
|
<RegistryKey Root="HKCR" Key="$(var.RegKeyRoot)\DefaultIcon">
|
||
|
<RegistryValue Type="string" Value='"[INSTALLFOLDER]$(var.Product)",0' />
|
||
|
</RegistryKey>
|
||
|
</Component>
|
||
|
|
||
|
<Component Id="Product.Registry.CommandPlay" Guid="613C9E4F-2F1F-45A3-96E2-26EBBEBA6B0E">
|
||
|
<RegistryKey Root="HKCR" Key="$(var.RegKeyRoot)\shell" />
|
||
|
<RegistryKey Root="HKCR" Key="$(var.RegKeyRoot)\shell\open" />
|
||
|
<RegistryKey Root="HKCR" Key="$(var.RegKeyRoot)\shell\open\command">
|
||
|
<RegistryValue Type="string" Value='"[INSTALLFOLDER]$(var.Product)" "--play" "%1"' />
|
||
|
</RegistryKey>
|
||
|
</Component>
|
||
|
|
||
|
<Component Id="Product.Registry.URLProtocol" Guid="565BE3F8-23A7-4B9D-B0DE-6D51CC86FC0B">
|
||
|
<RegistryKey Root="HKCR" Key="$(var.ProductLower)">
|
||
|
<RegistryValue Type="string" Name="URL Protocol" Value="" />
|
||
|
</RegistryKey>
|
||
|
</Component>
|
||
|
|
||
|
<Component Id="Product.Registry.Command" Guid="BC8D581C-5960-4843-93DC-E347CD43BD49">
|
||
|
<RegistryKey Root="HKCR" Key="$(var.ProductLower)\shell" />
|
||
|
<RegistryKey Root="HKCR" Key="$(var.ProductLower)\shell\open" />
|
||
|
<RegistryKey Root="HKCR" Key="$(var.ProductLower)\shell\open\command">
|
||
|
<RegistryValue Type="string" Value='"[INSTALLFOLDER]$(var.Product)" "%1"' />
|
||
|
</RegistryKey>
|
||
|
</Component>
|
||
|
|
||
|
</DirectoryRef>
|
||
|
|
||
|
</Fragment>
|
||
|
</Wix>
|