ordan Posted April 2, 2009 Posted April 2, 2009 Hello, please can some help me with creation of inf file?! I need insert HKCU to registry of boot.wim by WAIK command peimg. This code works but only for HKLM not for HKCU. Does have anybody idea hot correct it?!Thank you much [Version]Signature="$WINDOWS NT$"Class=SystemClassGuid={4D36E97d-E325-11CE-BFC1-08002BE10318}Provider=%MSCUST%DriverVer=03/29/2009,6.0.0.0[Manufacturer]%MSCUST%=MSCUST[MSCUST]%PLUGINNAME%=OC_Inst,DUMMY\Autorun[SourceDisksNames]1=%DISK_DESC%[SourceDisksFiles]emerge.exe=1[DestinationDirs]RootOrdner1.Copy=16422,"EmergeDesktop"[OC_inst]CopyFiles=RootOrdner1.Copy[RootOrdner1.Copy]emerge.exe[OC_inst.HW]AddReg=AddRegSection,AddRegSectionHKCU[AddRegSectionHKCU]HKCU,"Emerge Desktop",,0x00010000HKCU,"Emerge Desktop\emergeCommand",,0x00010000HKCU,"Emerge Desktop\emergeCommand\History",,0x00010000HKCU,"Emerge Desktop\emergeCommand\Settings","X",0x00010001,00,00,00,00[AddRegSection]HKLM,"Software\Emerge Desktop",,0x00010000HKLM,"Software\Emerge Desktop\emergeCommand",,0x00010000HKLM,"Software\Emerge Desktop\emergeCommand\History",,0x00010000[Strings]PLUGINNAME = "emergeDesktop plugin"MSCUST="Microsoft"DESCRIPTION="emergeDesktop Shell Installation"DISK_DESC="Current Directory"
IcemanND Posted April 2, 2009 Posted April 2, 2009 HKCU only exists when the OS is running. You would need to add this to the appropriate user hive in HKU.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now