Thanks for your reply.
I was using:
ExecWait "${INSTALL_DIRECTORY}\Webserver\bin\${UNINSTALLER}"
And tried changing it to:
ClearErrors
ExecWait "${INSTALL_DIRECTORY}\Webserver\bin\${UNINSTALLER}" $0
And not doing anything with the return code '$0'
I ran the Installer several times, and it seems to work, but the Welcome
screen is under the Uninstall window every time. It won't take much
for it to "decide" to come to the front.
I looked around and only found _?= used once in Examples\makensis.nsi
and couldn't find any docs on how it's used.
I did find out that I CAN add a MUI_PAGE_CUSTOMFUNCTION_PRE
before my !insertmacro MUI_PAGE_WELCOME
And I wrote this Function:
Function WelcomePre
Loop_Start:
StrCmp $UninstallRunning "TRUE" Loop_Start Loop_End
Loop_End:
FunctionEnd
And it looks like it works pretty well.
How do I use _?= ?
Thanks!
|