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.