mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-21 07:57:50 +08:00
db6bf547a9
* Feat. msi Signed-off-by: fufesou <shuanglongchen@yeah.net> * remove ununsed file Signed-off-by: fufesou <shuanglongchen@yeah.net> --------- Signed-off-by: fufesou <shuanglongchen@yeah.net>
47 lines
2.0 KiB
XML
47 lines
2.0 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>
|
|
|
|
</DirectoryRef>
|
|
|
|
</Fragment>
|
|
</Wix>
|