2024-04-02 18:10:09 +08:00
|
|
|
<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">
|
2024-04-13 13:11:50 +08:00
|
|
|
<RegistryValue Type="string" Value='"[INSTALLFOLDER]$(var.Product).exe",0' />
|
2024-04-02 18:10:09 +08:00
|
|
|
</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">
|
2024-04-13 13:11:50 +08:00
|
|
|
<RegistryValue Type="string" Value='"[INSTALLFOLDER]$(var.Product).exe" --play "%1"' />
|
2024-04-02 18:10:09 +08:00
|
|
|
</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">
|
2024-04-13 13:11:50 +08:00
|
|
|
<RegistryValue Type="string" Value='"[INSTALLFOLDER]$(var.Product).exe" "%1"' />
|
2024-04-02 18:10:09 +08:00
|
|
|
</RegistryKey>
|
|
|
|
</Component>
|
2024-04-11 11:51:35 +08:00
|
|
|
|
|
|
|
<!--For compatibility with registry values from previous versions-->
|
2024-04-16 13:09:20 +08:00
|
|
|
<Component Id="Product.Registry.UninstallApp" Guid="FC1A3D2E-5642-FBD8-CFA6-5ECAC6DE69A8">
|
2024-04-11 11:51:35 +08:00
|
|
|
<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>
|
2024-04-02 18:10:09 +08:00
|
|
|
</DirectoryRef>
|
|
|
|
|
|
|
|
</Fragment>
|
|
|
|
</Wix>
|