[CMake] CPack NSIS RequestExecutionLevel

rpf at gmx.li rpf at gmx.li
Fri Dec 16 03:40:56 EST 2011


Hi everyone,

I am compiling an installer for Windows 7 using CPack + NSIS.
I need to pass the extra option

RequestExecutionLevel user

to NSIS. Does anyone know how to do this? The only way proposed somewhere on the net was to use

set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "RequestExecutionLevel user")

but that raises an error in NSIS (Error: command RequestExecutionLevel not valid in Section).

Any help is greatly appreciated

Hans
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!		
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the CMake mailing list