I have a problem. We're evaluating Advanced Installer, and we have a scenario we want tested before we purchase it.
I just tried this scenario without success, so I created a post hoping there's a solution for this problem.
1. Say we created our program version 1.0.0 which is an MSI.
2. In the uninstall we have a custom action - which is a call to a .Net DLL. With some tweaking and the help of Gabriel, I made this custom action work. But say that we have some bug in our code, and calling this custom action raises an exception which causes the custom action to fail.
3. When the custom action in uninstall fails, you can't uninstall the program 1.0.0
4. So what we do is create an Upgrade 1.0.1, which has a FIX in the DLL that causes the exception when trying to uninstall.
5. And now I try to upgrade the program to 1.0.1, but it first tries to uninstall, and install the upgrade, and since the uninstall action fails, this causes the upgrade to fail.
I tried to create a new program with the option that it: "Install new version first and then uninstall old version" in the "Upgrades" tab (instead of the default: "Uninstall old version first and then install new version"). But this didn't help either...
How to solve this problem?
Dashut.
FOLLOW US
Get the latest news in Application Packaging