; PE Builder v3 plug-in INF file
; Created by Bart Lagerweij
; http://www.nu2.nu/pebuilder/

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Profiles folder"
Enable=1

[WinntDirectories]
a="Profiles\All Users\Desktop",1
b="Profiles\Default User\Desktop",1
c="Profiles\Default User\My Documents",1

[Software.AddReg]
; Set ProfileList
0x2, "Microsoft\Windows NT\CurrentVersion\ProfileList", "ProfilesDirectory", "%SystemRoot%\Profiles"

; Set DefaultUserProfile
0x1, "Microsoft\Windows NT\CurrentVersion\ProfileList", "DefaultUserProfile", "Default User"

; Set AllUsersProfile
0x1, "Microsoft\Windows NT\CurrentVersion\ProfileList", "AllUsersProfile", "All Users"

[SetupReg.AddReg]
; Add ProfilesDir environment variable
0x2, "ControlSet001\Control\Session Manager\Environment", "ProfilesDir", "%SystemRoot%\Profiles"

; Testing 11-12-2003 11:42

[Software.AddReg]
; Registering "My Documents" System Folder (working button in "Open" and "Save as..." boxes) 
0x1, "Classes\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}", "LocalizedString", "My Documents"

[Default.AddReg]
; Set "My Documents" folder.
0x2, "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Personal","%SystemRoot%\Profiles\Default User\My Documents"
