Talk:Path Manipulation: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
 
(User PATH versus SYSTEM path)
Line 7: Line 7:


/Pontus Bergendahl
/Pontus Bergendahl
== User PATH versus SYSTEM path ==
Hi,
If we want an installation for all the users, I would replace the registry key for the current user by
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
Cedric

Revision as of 02:25, 30 December 2005

Hi,

Here is a problem I fought with a long time.

The directory you want to add to path must exist before you call AddToPath. If it doesn't exists the path environment variable doesn't change, and you get no error message.

/Pontus Bergendahl

User PATH versus SYSTEM path

Hi,

If we want an installation for all the users, I would replace the registry key for the current user by HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path

Cedric