Author: dreimer Date: Wed Jul 11 01:32:24 2007 New Revision: 27580
URL: http://svn.reactos.org/svn/reactos?rev=27580&view=rev Log: This fixes the needed Variable
Modified: trunk/tools/RosBE-Windows/WriteEnvStr.nsh
Modified: trunk/tools/RosBE-Windows/WriteEnvStr.nsh URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/WriteEnvStr.nsh... ============================================================================== --- trunk/tools/RosBE-Windows/WriteEnvStr.nsh (original) +++ trunk/tools/RosBE-Windows/WriteEnvStr.nsh Wed Jul 11 01:32:24 2007 @@ -4,12 +4,7 @@ !include "WinMessages.nsh"
!ifndef WriteEnvStr_RegKey - !ifdef ALL_USERS - !define WriteEnvStr_RegKey \ - 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"' - !else - !define WriteEnvStr_RegKey 'HKCU "Environment"' - !endif + !define WriteEnvStr_RegKey 'HKCU "Environment"' !endif
# @@ -126,7 +121,7 @@ !macro IsNT UN Function ${UN}IsNT Push $0 - ReadRegStr $0 HKCU \ + ReadRegStr $0 HKLM \ "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion StrCmp $0 "" 0 IsNT_yes ; we are not NT.