Skip to content
⌘ NSIS Forum Archive

Uninstalling a different NSIS uninstall program A_~NSIS.exe problem

3 posts

JimInNH#

Uninstalling a different NSIS uninstall program A_~NSIS.exe problem

My install program needs to check for a number of other programs that may exist. If any exist, they must be uninstalled. These programs have been created with NSIS scripts also.

When my script executes "ExecWait '....\uninstallXYZ.exe'" the script returns immediately.

If there is a message box in the uninstaller and in the line after the ExecWait, they are both on the screen at the same time.

The program A_~NSIS.exe has been spawned. In the past I have worked around this by using a helper dll that executes the uninstall and then waits as long as the process A_~NSIS.exe is in the process list.

I would like to avoid having to use a dll and thought since this is NSIS calling NSIS there might be a better way.

Does anyone have an idea or experience?'

Thanks🙂
Afrow UK#
This should help you:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


-Stu