How launch uninstaller file of nsis program when uninstall? - Advanced Installer Community

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!

Mr.Mehdi
Posts: 5
Joined: Sat Oct 15, 2011 8:00 am

How launch uninstaller file of nsis program when uninstall?

i have program that installer was created nsis.this program is prerequisites in my installer. i want run uninstaller file when uninstall my program.
nsis uninstaller need admin privilege for launching and this have install path from APPDir property.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How launch uninstaller file of nsis program when uninsta

Hello,

Please keep in mind this approach is not recommended because it will make your installation package remove other applications. Users may already have had your prerequisite installed before they installed your application. They may not want you to uninstall the prerequisite.

You could try to implement this functionality using custom behavior. Another method you could try is to use the "Import NSIS script" feature to convert the prerequisite into a .MSI based package.
Here's a user guide article that demonstrates how to achieve this with .MSI based prerequisites.

Can you please specify why would you need to accomplish this?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Mr.Mehdi
Posts: 5
Joined: Sat Oct 15, 2011 8:00 am

Re: How launch uninstaller file of nsis program when uninsta

thanks for your replay.

i try used to "import nsis" but converting encountered error.i used search file for uninstall file but search have a lot of time of install.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How launch uninstaller file of nsis program when uninsta

Hello,

Can you please describe your application's installation scenario in which this functionality would prove pertinent?
i try used to "import nsis" but converting encountered error
Can you please specify the error you are getting? You can even attach a screenshot to your post to evidentiate it.
i used search file for uninstall file but search have a lot of time of install
I'm afraid I don't understand what you were trying to accomplish by doing this. Can you please be more specific and exemplify?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”