Refactor Windows MSI installer sequence for improved action flow
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Adjusted the order of custom actions in the MSI wrapped configuration to streamline the installation process. - Enhanced conditions for uninstalling previous versions and running the installer, improving clarity and maintainability of the script.
This commit is contained in:
parent
7150639908
commit
c334781689
@ -102,9 +102,8 @@
|
|||||||
<Custom Action="KillFarmControl" After="InstallInitialize">NOT Installed</Custom>
|
<Custom Action="KillFarmControl" After="InstallInitialize">NOT Installed</Custom>
|
||||||
<Custom Action="SetUninstallPreviousFromRegistry" Before="UninstallPrevious">NOT Installed AND PREVIOUS_UNINSTALL_CMD</Custom>
|
<Custom Action="SetUninstallPreviousFromRegistry" Before="UninstallPrevious">NOT Installed AND PREVIOUS_UNINSTALL_CMD</Custom>
|
||||||
<Custom Action="SetUninstallPreviousFromInstallDir" Before="UninstallPrevious">NOT Installed AND NOT PREVIOUS_UNINSTALL_CMD AND PREVIOUS_INSTALL_DIR</Custom>
|
<Custom Action="SetUninstallPreviousFromInstallDir" Before="UninstallPrevious">NOT Installed AND NOT PREVIOUS_UNINSTALL_CMD AND PREVIOUS_INSTALL_DIR</Custom>
|
||||||
<Custom Action="UninstallPrevious" After="KillFarmControl">NOT Installed AND (PREVIOUS_UNINSTALL_CMD OR PREVIOUS_INSTALL_DIR)</Custom>
|
<Custom Action="UninstallPrevious" Before="RunInstaller">NOT Installed AND (PREVIOUS_UNINSTALL_CMD OR PREVIOUS_INSTALL_DIR)</Custom>
|
||||||
<Custom Action="RunInstaller" After="UninstallPrevious">NOT Installed AND (PREVIOUS_UNINSTALL_CMD OR PREVIOUS_INSTALL_DIR)</Custom>
|
<Custom Action="RunInstaller" After="KillFarmControl">NOT Installed</Custom>
|
||||||
<Custom Action="RunInstaller" After="KillFarmControl">NOT Installed AND NOT (PREVIOUS_UNINSTALL_CMD OR PREVIOUS_INSTALL_DIR)</Custom>
|
|
||||||
</InstallExecuteSequence>
|
</InstallExecuteSequence>
|
||||||
</Product>
|
</Product>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user