<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I understand from reading the following article<br>
<br>
<a href="http://support.microsoft.com/kb/104011">
http://support.microsoft.com/kb/104011</a><br>
<br>
that one need to broadcast a WM_SETTINGSCHANGE for environment
variable updated via the registry key to take effect in the current
session<br>
<br>
I have been able to update the registry and re-login in have the
effect of updating the environment, using the information from the
following URL<br>
<br>
<a href="http://nsis.sourceforge.net/Docs/Chapter4.html">
http://nsis.sourceforge.net/Docs/Chapter4.html</a><br>
<br>
However, I was unable to determine a way from within CPack to do
a WM_SETTINGSCHANGE broadcast so that the user installing the
software I am packaging not to have to log-out and log-in for the
updated environment variable to take effect.<br>
<br>
Is there a different approach ?<br>
<br>
Regards<br>
<pre class="moz-signature" cols="72">--
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
Management - Recruitment, career management
<a class="moz-txt-link-freetext" href="http://www.proceduralinsight.com/">http://www.proceduralinsight.com/</a>
<a class="moz-txt-link-freetext" href="http://au.linkedin.com/in/nicholasyue">http://au.linkedin.com/in/nicholasyue</a>
</pre>
</body>
</html>