[CMake] CPack: NSIS: how to install files to APPDATA?

Yegor Yefremov yegor_sub1 at visionsystems.de
Fri Apr 16 08:37:01 EDT 2010


I need to install some configuration files to application data directory. I found following variable in NSIS docs (http://nsis.sourceforge.net/Docs/Chapter4.html) as $APPDATA:

"The application data directory. Detection of the current user path requires Internet Explorer 4 and above. Detection of the all users path requires Internet Explorer 5 and above. The context of this constant (All Users or Current user) depends on the SetShellVarContext  setting. The default is the current user."

So how can I specify this folder as install()'s DESTINATION?

Regards,
Yegor


More information about the CMake mailing list