We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

MKutschner
Posts: 9
Joined: Thu May 16, 2013 8:14 am

Uninstall OldProduct via Upgrade

Hello,

I am trying to uninstall a older Version of my Product via the Upgrade Section.
I entered the UpgradeCodes of my old Application described in the Article here:

http://www.advancedinstaller.com/user-g ... -info.html

But when I install my new Version, the old Version is not uninstalled.

Old Version Information:
- Not Created with AdvancedInstaller
- Is MSI File
- UpgradeCode is available

Are there other ways to Uninstall an Old Version of my Product?

Greetings & Thanks
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Uninstall OldProduct via Upgrade

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

I'm not sure why you encounter this behavior, but the solution described in our article should really work and it is also the most elegant solution of uninstalling an old version of the product.

Another solution would be to go in the Custom Actions page and add a "Launch file" custom action after the "Wizard Dialogs Stage -> User Selection" action group with the following configuration:
  • File To Launch: msiexec.exe
    Command Line: /x <and the product code of the old version package>
    Dialogs Stage Condition: check only "Install"
Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MKutschner
Posts: 9
Joined: Thu May 16, 2013 8:14 am

Re: Uninstall OldProduct via Upgrade

Thank you for you`re reply.

I think too that the described solution by me is the best way and I don't know why I not work.

But you`re solution works and I can uninstall my Old Product.

Thank you for your`re help.

Best regards
MKutschner
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Uninstall OldProduct via Upgrade

You're welcome. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”