I'm having a slight problem with the end of my installer. I have been asked to make the program we are installing auto run once the installation has finished.
At the minute I have a dummy section which ends thus:
However my program is shutting itself down straight away. I have a feeling this is to do with the way I am running the program from the installs as if I navigate to the install path and run it from there it runs fine.; Pop up dialog to kill the movie player when the downlaod is done.
HideWindow MessageBox MB_OK "Your Learn To Play Experiance is now ready. Press OK to begin."
sleep 500
FindWindow $dialogeHWND "#32770" "" $HWNDPARENT
DetailPrint $dialogeHWND
Call repositionDialoge
KillProcDLL::KillProc "projector.exe"
; Run the program
ExecShell open "LTP\Program.exe"
sleep 1000
Delete Install.ini
Delete LTP_Movie.exe
SectionEnd
Any help would be greatly appreciated