skylinefighterx
Posts: 17
Joined: Wed Apr 25, 2012 12:25 am

Upgrade process - quick question

During a upgrade process where I am using uninstall old version and install new version, from lets say version 1.0 to 1.1.

Does the uninstaller use the uninstall process in version 1.1 to uninstall v1.0 or does it find and use the old v1.0 uninstaller to uninstall itself, then use the v1.1 installer to finish up the install upgrade process.

I am asking this because in my case my two version have different custom actions in each versions. And when it uninstalls I would like it to use the uninstall process of the newer version with the newer and updated custom actions.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrade process - quick question

Hello,

During a major upgrade, when the old package is uninstalled and the new one is installed, the custom actions that are executed on the uninstall stage are the one defined in your old installation package.

So, the custom action which will be executed in your case, is the one from the old installation package, version 1.0.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
skylinefighterx
Posts: 17
Joined: Wed Apr 25, 2012 12:25 am

Re: Upgrade process - quick question

Thanks for the quick reply Dan,

what would be some good solutions to avoid this. I would like to use the uninstall process of the newer installer v1.1 not the v1.0. Would a minor upgrade be better vs major. Not sure if you know any tricks thanks.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrade process - quick question

Hi,

In order to be able to give you an advice I need to have a clear picture with your scenario, as now, I only know that you want to execute a custom action from the upgraded version instead of the custom action from the old installation package.

Please give me more details about the custom action, what does your custom action do? Does your custom action call a function from a .dll or a .bat file? Does it launch another file?

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

Return to “Common Problems”