Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   The %PATH% change updates the system? (http://forums.winamp.com/showthread.php?t=270202)

doncristiano 26th April 2007 08:08

The %PATH% change updates the system?
 
After I add the install directory to the %PATH% variable (HKEY_CURRENT_USER\Environment\path) I expect that when the install is finished to be able to run commands located in the
intallation folder from any folder with >cmd.com or start->run
but the system is not updated with the new value of the environment variable so a restart is needed(NOT WANTED).

What I know is that this is possible in the TCL language (http://tmml.sourceforge.net/doc/tcl/registry.html) with the "registry broadcast" command because I have tested and it worked.

Is there a way in NSIS to do this ?


Thanks!
Donoiu Cristian.

doncristiano 26th April 2007 09:54

I have found the solution after searching the forum:
http://nsis.sourceforge.net/wiki/Path_Manipulation

Thanks (for the great information on the forum).


All times are GMT. The time now is 04:10.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.