<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello everyone,<br>
<br>
I make a library and when I install it, I want to put inside the
PATH environment variable the include directory path and the library
path.<br>
<br>
I write this:<br>
<br>
<meta charset="utf-8">
set(CPACK_NSIS_MODIFY_PATH ON)<br>
set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "\${EnvVarUpdate} \"$0\"
\"PATH\" \"A\" \"HKCU\" \"${MY_INCLUDE_DIR};${MY_LIB_DIR}\"")<br>
<br>
where MY_INCLUDE_DIR and MY_LIB_DIR are just some relative path.<br>
<br>
Unfortunately, my PATH variable doesn't change.<br>
<br>
Where can I found some example to modify the PATH whit NSIS and
CPack?<br>
<br>
Thank you.<br>
<br>
Romain<br>
</body>
</html>