Uninstall Prerequisite non msi - Advanced Installer Community
dhananjayharel
Posts: 2
Joined: Thu May 25, 2017 2:08 pm

Uninstall Prerequisite non msi

We are installing prerequisite software (non msi based ) which is a part of our software.
So as per the documentation given here
http://www.advancedinstaller.com/user-g ... l-msi.html
I am creating the custom action to launch the uninstaller of my prerequisite
but it is not getting executed at the time of uninstall.
I need some help to get to know how to do this.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall Prerequisite non msi

Hello and welcome to Advanced Installer forums,

Since your prerequisite is not a MSI based one, you cannot use the approach described in the How do I uninstall another MSI package when my application is uninstalled? article. This approach is only available for .MSI based packages.

Since you need to uninstall an installation package which is not MSI-based you can use a custom action. If the old package has an Uninstaller, the custom action can be used to launch it. For this you can use a Launch file custom action.

However, if the old package doesn't have an Uninstaller, the custom action must remove all the resources (files, registry entries etc.) created by the installation.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dhananjayharel
Posts: 2
Joined: Thu May 25, 2017 2:08 pm

Re: Uninstall Prerequisite non msi

Thanks for the reply Dan,
Yes that's the my question/issue I cant able to launch my file during uninstall.
I have created custom action with launch file(which executes the Prerequisite uninstaller exe file)
then I have selected the check box "uninstall" at the bottom to let this file execute only on uninstall process but its not happening and also.
The perfect steps given to implement this would be helpful.

Return to “Common Problems”