mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-24 12:24:07 +08:00
64020758d9
Signed-off-by: fufesou <shuanglongchen@yeah.net>
57 lines
2.5 KiB
XML
57 lines
2.5 KiB
XML
<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>
|
|
|
|
<!--For compatibility with registry values from previous versions-->
|
|
<Component Id="Product.Registry.UninstallRustDesk" Guid="FC1A3D2E-5642-FBD8-CFA6-5ECAC6DE69A8">
|
|
<RegistryKey Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\$(var.Product)" >
|
|
<RegistryValue Type="string" Name="BuildDate" Value="$(var.BuildDate)" />
|
|
<RegistryValue Type="string" Name="share_rdp" Value="" />
|
|
|
|
<!--$ArpStart$-->
|
|
<!--$ArpEnd$-->
|
|
</RegistryKey>
|
|
</Component>
|
|
</DirectoryRef>
|
|
|
|
</Fragment>
|
|
</Wix>
|