Jump to content

Recommended Posts

Posted

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=System
ClassGuid={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",,0x00010000
HKCU,"Emerge Desktop\emergeCommand",,0x00010000
HKCU,"Emerge Desktop\emergeCommand\History",,0x00010000
HKCU,"Emerge Desktop\emergeCommand\Settings","X",0x00010001,00,00,00,00


[AddRegSection]
HKLM,"Software\Emerge Desktop",,0x00010000
HKLM,"Software\Emerge Desktop\emergeCommand",,0x00010000
HKLM,"Software\Emerge Desktop\emergeCommand\History",,0x00010000

[Strings]
PLUGINNAME = "emergeDesktop plugin"
MSCUST="Microsoft"
DESCRIPTION="emergeDesktop Shell Installation"
DISK_DESC="Current Directory"


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...