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!

Gabik
Posts: 1
Joined: Tue Feb 21, 2017 8:10 am

How to uninstall dangerous MSI package

I am developing a program in C#. I am using Advanced Installer to create MSI install package for my program.

Version 1 of my MSI install package was creating shortcut to my program in Windows Start Menu. On uninstall I wanted it to delete this shortcut from Start Menu folder, but by accident I made things wrong and it deletes whole Start Menu folder instead of shortcut to my program.

Now I want to spread Version 2 of my MSI install package without changing product GUID. But before installation of Version 2 Version 1 must be uninstalled first – and here the problem comes to light. I don't want my users to loose their Start Menu...

Is there any way to solve this situation?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to uninstall dangerous MSI package

Hi and welcome to our forums.

Can you please give me more details about how the problem appeared? Did you create your own custom action that removes your shortcut and the Start Menu folder? Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so we can investigate them?

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

Return to “Building Installers”