Archive: How to run NSIS Setup with "WINXPSP3" compatible mode?


NSIS compiled setup halts Windows 7 during file copy process...
My NSIS compiled setup program halts during copy files on Windows 7. If I run the setup after change it's compatible mode to WINXPSP3, it continues copying files and successfully installed sometimes but not always.

The problem is setup script halts all system and Windows also during executing below copy file scrcipt. (In the middle of copying file process, it stops everything. It contains about 200 MB with hundres of files.)

File /r "${SOURCE_FOLDER}\*.*"

Until Windows Vista, it was OK, but it failed with Windows 7 Ultimate. I tested with anther PC also and results in the same problem.

I would like to know how to run my NSIS compiled setup file with/in "WINXPSP3" compatible mode. And if you can avdice me the reason or solution, it would be very helpful to me.

Thank you very much for your help in advance!

Steve


There is no way to set a compatibility mode without having to restart your exe (And even if that's ok, it's still ugly since you have to add registry entries that really should only be changed during human interaction and not by a program alone IMHO)

You should try to find out why it fails...

Do you have RequestExecutionLevel in your script?


you can use the excellent Process Monitor to watch over the copying of files during installation, and find the reason of halting