installer: SxS: WIP

This commit is contained in:
Bill Zissimopoulos 2022-09-07 16:19:48 +01:00
parent a9b3cef253
commit b08f60bfbd

View File

@ -46,7 +46,7 @@
<!-- Setup INSTALLDIR and SXSDIR from the registry or defaults. --> <!-- Setup INSTALLDIR and SXSDIR from the registry or defaults. -->
<Property Id="P.RegistryKey">Software\$(var.MyProductName)</Property> <Property Id="P.RegistryKey">Software\$(var.MyProductName)</Property>
<Property Id="P.LauncherRegistryKey">Software\$(var.MyProductName)\Services</Property> <Property Id="P.LauncherRegistryKey">Software\$(var.MyProductName)\Services</Property>
<Property Id="INSTALLDIR"> <Property Id="INSTALLDIR" Secure="yes">
<RegistrySearch <RegistrySearch
Id="R.INSTALLDIR" Id="R.INSTALLDIR"
Root="HKLM" Root="HKLM"
@ -54,7 +54,7 @@
Name="InstallDir" Name="InstallDir"
Type="raw" /> Type="raw" />
</Property> </Property>
<Property Id="SXSDIR"> <Property Id="SXSDIR" Secure="yes">
<RegistrySearch <RegistrySearch
Id="R.SXSDIR" Id="R.SXSDIR"
Root="HKLM" Root="HKLM"
@ -1105,7 +1105,7 @@
NOT Installed NOT Installed
</Custom> </Custom>
<Custom Action="Deferred.InstallSymlinks" After="Rollback.InstallSymlinks"> <Custom Action="Deferred.InstallSymlinks" After="Rollback.InstallSymlinks">
((NOT Installed) OR REINSTALL) (NOT Installed) OR REINSTALL
</Custom> </Custom>
</InstallExecuteSequence> </InstallExecuteSequence>