Using Advanced installer, I've created a package resulting in an EXE (there are deployment features that couldnt be contained within a plain MSI file).
Now, while Advanced Installer allows me to pass through command line parameters to the underlying MSI, I have no idea what parameters to pass to force the package to uninstall.
For example, the following parameters logs the setup events and instructs the underlying MSI to run passively and log its own actions.
"c:\MySetup.exe" /exelog "c:\log.txt" /passive /log "c:\msilog.txt"
The resulting commands that AdvancedInstaller executes is ultimately
msiexec.exe /i [path to extracted msi] /passive /log "c:\msilog.txt"
But try as I might, I cannot figure out how to have AdvancedInstaller launch msiexec with the /uninstall or the /x switch. For example:
"c:\MySetup.exe" /exelog "c:\log.txt" /x /log "c:\msilog.txt"
results in
msiexec.exe /i [path to extracted msi] /x /passive /log "c:\msilog.txt"
which of course fails because the /x is in the wrong place (should be in place of the /i). What switches/parameters is the Advanced Installer exe needing?