uninstall problem - Advanced Installer Community
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

uninstall problem

Hi,

Uninstall will happen smoothly, but sometimes dialog box will appear. I have attached the image, please find the attachment.
Attachments
Uninstall_error.png
Uninstall_error.png (33.48 KiB) Viewed 5720 times
Best Regards,
Dan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: uninstall problem

Hello,

Please take a look on the Upgrade requires previous MSI forum thread which debates subject.

Let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

Re: uninstall problem

I have done "In order to avoid this behavior you can build your target installation package as an EXE package type and enable (in the target installation project) the "Do not delete extracted MSI and CAB files" option from "Media -> Configuration tab -> Bootstrapper Options" group.", now other dialog box is coming..
Attachments
Message.png
Message.png (10.66 KiB) Viewed 5704 times
uninstall.LOG
(16.1 KiB) Downloaded 330 times
Best Regards,
Dan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: uninstall problem

Hello,

Did you removed the previos broken installation? If not, here's the How do I remove a broken installation? article with related information for hints and guidance.

Also, can you please tell us if this behavior can be replicated on a clean machine?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

Re: uninstall problem

Hi,

On a clean machine its working fine.

"msiexec /fv <path_to_new_msi>" This command will not work for .exe files. So how to fix that?
Best Regards,
Dan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: uninstall problem

Hello,

You can extract the .MSI from the .EXE running the /extract command line statement.
Example:
Mypackage.exe /extract:"C:\My work"

This command will extract the Mypackage.msi file in the "My work" folder. Also, for testing we highly recommend virtual machines, you can easily restore them to a clean snapshot and save a lot of time on testing.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

Re: uninstall problem

Hi,

In control panel there is option called "change" if we click that three option will appear "Modify", "Repair", "Remove". When we click any option no action are taking place. But it will show successfully done. For example if we click on remove button, the exe will not get removed but message will show "test has been successfully removed". Can you tell why its behaving like that?
Best Regards,
Dan
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: uninstall problem

Hello,
For example if we click on remove button, the exe will not get removed but message will show "test has been successfully removed". Can you tell why its behaving like that?
I'm afraid I don't fully understand what you mean by "exe". If you refer to the EXE setup package, then please keep in mind that when you remove (uninstall) a product installation only the installation resources (files, folders, registries, etc installed by the setup package) will be uninstalled. The setup package will not be uninstalled.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”