MUI_FINISHPAGE_RUN - script not executed
Hi all,
I've searched through this forum, but can't find an answer, so, here goes:
Basically, at the end of the installation, I plan to execute a script, via
MUI_FINISHPAGE_RUN "$INSTDIR\myscript.bat"
myscript.bat is a small batch script that will perform some post install stuff. However, the script was almost never executed. What I mean is, at the end of the installation, the cmd.exe window will pop-up for a split second, so I was not able to capture any error messages if there is any. Plus I am very sure that my script was not executed after checking the installation. I've tried to put the script from within a function (MUI_FINISHPAGE_RUN_FUNCTION PostInstall) where in the function I've tried Exec, ExecShell, all to no avail.
Any hints? I'm using NSIS 2.0, and Windows XP Pro.