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


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:)


This should help you:
http://forums.winamp.com/showthread....er+doesnt+wait

-Stu


Thanks Stu,

That was the medicine I needed.

Jim