Upgraded the wix installed to use Wix 7

This commit is contained in:
2026-10-29 12:36:27 +00:00
parent e2b7fbc875
commit 8ef4a0fced
8 changed files with 86 additions and 142 deletions
+4 -8
View File
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Config.wxi?>
<Fragment>
<DirectoryRef Id="INSTALLFOLDER"/>
<ComponentGroup Id="cgAscomLocalServer" Directory="INSTALLFOLDER">
<Component Id="cmpAscomLocalServer" Guid="*" Win64="no">
<Component Id="cmpAscomLocalServer" Guid="*">
<File Id="filLocalServerAssembly"
Source="$(var.Meade.net.TargetPath)"
KeyPath="yes"
@@ -31,12 +31,8 @@
/>
<InstallExecuteSequence>
<Custom Action='RegisterEXE' Before="InstallFinalize">
<![CDATA[(NOT Installed)]]>
</Custom>
<Custom Action="UnRegisterEXE" After="InstallInitialize">
<![CDATA[(REMOVE ~= "ALL" AND NOT UPGRADINGPRODUCTCODE)]]>
</Custom>
<Custom Action="RegisterEXE" Before="InstallFinalize" Condition="NOT Installed" />
<Custom Action="UnRegisterEXE" After="InstallInitialize" Condition="REMOVE ~= &quot;ALL&quot; AND NOT UPGRADINGPRODUCTCODE" />
</InstallExecuteSequence>
</Fragment>
</Wix>