I am trying to get an installer compiled with NSIS on Windows 7 to work without administrator privileges. The project is set up with CMake and compiled with VC2010. I have figured out that I have to use the
RequestExecutionLevel user
option. My question is: What do I have to put into my CMakeLists.txt to pass this option to NSIS? I found
set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "RequestExecutionLevel user")
somewhere on google, but that gives an error, saying that this option cannot be set in this section.
Any help is greatly appreciated