daemon_n
Posts: 7
Joined: Sat Sep 19, 2020 2:17 pm

Uninstall of prevuous version

Hello!

I have troubles with my build projects.
So the native work of same installer version is calling extended service dialog for repair/change/remove current soft version.
So the native work of new installer version is removing previous version and installing new one above.

But i need that newer installer version could only remove previous version (if previous is installed), till it will not launched again for installing by user. If previous version isnt installed, then start install software.

mb possible check and make cuaton action, idk... This soft is some hard :|
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Uninstall of prevuous version

Hello and welcome to our forums,

In order to achieve that, all you need to do is:

- go to "Product Details" page and increase your version

- when asked about generating a new product code, please select "Generate New"

- build the newer version

This way, when the new package will be deployed, it will look for older versions and, if present, it will uninstall them and then will proceed in installing the newer version.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
daemon_n
Posts: 7
Joined: Sat Sep 19, 2020 2:17 pm

Re: Uninstall of prevuous version

Thanks for answer, but i need only removing previous version without installing of newone.
If it was only rewriting, then i didnt ask that.
daemon_n
Posts: 7
Joined: Sat Sep 19, 2020 2:17 pm

Re: Uninstall of prevuous version

Okay - i found that
Custom action - StopProcess "process name" after remove resources with parametert (UPGRADINGPRODUCTCODE)
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Uninstall of prevuous version

Hello,

Thank you for your followup on this.

I am glad you got this working!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”