[wix-users] Bundle Upgrade Order of Operations
Stephen Downard
stephen.downard at medfusion.com
Fri Jun 17 08:08:47 PDT 2016
Is there any way to force a Bundle Upgrade operation to execute the "uninstall" of existing packages before applying the packages in the upgraded bundle? Currently, the new packages are applied and the at the end the engine executes the "uninstall" of the previous. The command line from the log file is detailed below.
Applying execute package: {1417b657-742c-4304-b3ea-ef582d1ea1df}, action: Uninstall, path: C:\ProgramData\Package Cache\{1417b657-742c-4304-b3ea-ef582d1ea1df}\MyInstall.exe, arguments: '"C:\ProgramData\Package Cache\{1417b657-742c-4304-b3ea-ef582d1ea1df}\MyInstall.exe" -uninstall -quiet -burn.related.upgrade -burn.ancestors={6e27b5e5-aca9-4d48-b1c1-8b85e9f1156a} -burn.filehandle.self=484'
Basically, the ExePackages are executing third party installers and during the upgrade I reinitialize the DetectCondition to be False which enables the bundle to reinstall the new packages from within the upgraded bundle. So, the packages are applied and then uninstalled because of the "-uninstall" action.
More information about the wix-users
mailing list