Set the environment variables %USERPROFILE% and %ALLUSERSPROFILE% for the Live-CD...
authorEric Kohl <eric.kohl@reactos.org>
Mon, 17 Jan 2005 09:50:10 +0000 (09:50 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Mon, 17 Jan 2005 09:50:10 +0000 (09:50 +0000)
Patch by tinus.

svn path=/trunk/; revision=13094

reactos/bootdata/livecd.inf

index 347515a..5170b0a 100644 (file)
@@ -31,4 +31,8 @@ HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Common
 HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Desktop",0x00020000,"%SystemDrive%\Profiles\Default User\Desktop"
 HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Personal",0x00020000,"%SystemDrive%\Profiles\Default User\My Documents"
 
+; User Profile environment variables
+HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Environment","USERPROFILE",0x00020000,"%SystemRoot%\Profiles\Default User"
+HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Environment","ALLUSERSPROFILE",0x00020000,"%SystemRoot%\Profiles\All Users"
+
 ; EOF