momarf
Posts: 5
Joined: Wed Feb 04, 2015 9:54 am

Upgrading from Wix with Bootstrap

I am in process of migrating our installers from WIX to Advanced Installer. Previously out installation package was delivered as MSI and EXE installer authored using WIX and Burn.

In new installer using advances installer I have added the correct upgrade codes to enable upgrading from old versions. It is working perfectly when old version was installed using MSI. Old version is detected, uninstalled and new version is installed.

However, If the old version of product is installed using EXE installer, the product is not removed from the ARP. On further investigation and detailed analysis of logs, I have found that the old version of product is detected and installed correctly by advanced installer and is removed but the bootstrap bundle is not removed and that is the reason it is still being shown in ARP. The similar behavior is exhibited by running command to uninstall old version Installed through EXE installer

Code: Select all

msiexe /x {PRODUCT_CODE}
I have tried searching the WIX and advanced installer forums. Seems like we can only uninstall it using /uninstall command line switch on the cached installer package like:

Code: Select all

myinstaller.exe /uninstall 
Is there any way to achieve what i am trying to do using advanced installer?
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrading from Wix with Bootstrap

Hello and welcome to our forums,

Thank you for your interest in Advanced Installer.

In order to achieve that you can use the predefined Launch File custom action as a custom action with sequence added on the Wizard Dialogs Stage to avoid the following error:
Another installation is in progress. You must complete that installation before continuing this one.
You can also take a look on the How do I upgrade an older version of the package? article which may be useful to you.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”