Hi,
Don't know if this is any use to anyone, but I've found a way to detect if my .exe file has been unzipped when someone runs it.
It's very simple, just add these lines to the start of your code:
IF INSTR(GETSTARTPATH,"\\Temp\\")
MESSAGEBOX(0,"Sorry, You need to Extract / Unzip the Setup.exe program first.","Error",@MB_ICONINFORMATION | @MB_OK)
END
ENDIF
Basically, if it's not been unzipped, Windows (or other porgrams) will run it in a 'Temp' folder.
For my setup.exe, I need users to unzip it first before running.
I've tested this on XP and Win7.
Perhaps someone might test this on Vista and Win8?
Anyway if it helps, please use it.
Andy
:)