![]() |
ExecWait does not work in Section "Uninstall"
Hi,
I am trying to run an executable during uninstall. For some reason it just ignore my ExeWait call, the executable is not called, but the uninstaller does the other commands I give it. I use NSIS 2.40, Modern UI version 2 This is the script uninstall section beginning, where I try to run my executable: ... Section "Uninstall" ExecWait "$WINDIR\notepad.exe" RMDir /r "$INSTDIR\bin\release" RMDir /r "$INSTDIR\data" ... If I look into the MakeNSIS log, I don't see this line at all: ... Section: "Uninstall" RMDir: /r "$INSTDIR\bin\release" RMDir: /r "$INSTDIR\data" ... Any ideas? Am I doing something wrong? Thanks! Ron. |
Because "notepad.exe" is located in $SYSDIR, not in $WINDIR ???
|
Tried $SYSDIR... did not work as well :-(
The MakeNSIS does not even show this line in the log - why is that? |
Post your COMPLETE script please...
|
Sorry... just found the mistake in my script.
Thanks for the swift responses ;-) |
| All times are GMT. The time now is 04:31. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.