aaguirre
Posts: 5
Joined: Wed Apr 24, 2019 8:58 pm

How to use UninstallPreviousVersion custom action in silent installation

Thu Apr 25, 2019 6:49 pm

Hi Guys, im using the custom action called UninstallPreviousVersions, it is working fine but to make it work it must be placed in the wizard dialog stage, it works fine, but when i make my installer silent (in silent it wont have wizard dialog stage) the custom action is never called, and if i put it in different places it doesn't work.

Can i get any suggestion on how to make it work for silent installation? thanks in advance.

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: How to use UninstallPreviousVersion custom action in silent installation

Tue May 07, 2019 7:43 am

Hello and welcome to Advanced Installer forums,

First of all, please accept my apologies for the delayed reply, but we had our Orthodox Easter holiday here.

The "UninstallPreviousVersion" custom action can be used as a custom action without sequence or under "Wizard Dialogs Stage".

I am afraid that this custom action can not be used in the "Install Execution Stage":

"Uninstall Previous Versions custom action"

However, could you please give me some more details about why you want to use this custom action? By doing so, I may be able to help you workaround this.

Looking forward to hearing from you.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”