Jump to content

Need help writting HKCU Entries from .Inf file


Strike
 Share

Recommended Posts

Hi.

This is my first time here and i am hoping someone here can help me with this problem.

I am creating an unattended XP cd and i am writing my own .inf files to install some applications with there registry entries, now the problem i am having is that although the entries for HKCR,HKLM and HKCU have been written the same format in the inf file not all the entries in the HKCU are being written to the Registry on installation. I have even added these to the hive files but still the same problem.

The files are all being installed into there write location.

Example of my PowerISO registry entries in the .Inf file.

HKLM,"SOFTWARE\PowerISO",,0x00000012

HKLM,"SOFTWARE\PowerISO","Install_Dir",0x00000000,"C:\Program Files\PowerISO\"

HKLM,"SOFTWARE\Classes\.ashdisc",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.b5i",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.bwi",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.c2d",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.cdi",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.cif",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.daa",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.fcd",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.gi",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.lcd",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.mdf",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.mds",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.p01",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.pdi",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.pxi",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.uif",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.vcd",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.ncd",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.dmg",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.bif",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.cue",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.nrg",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.img",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.bin",,,"PowerISO"

HKLM,"SOFTWARE\Classes\.iso",,,"PowerISO"

HKLM,"SOFTWARE\Classes\PowerISO",,,"PowerISO File"

HKLM,"SOFTWARE\Classes\PowerISO\DefaultIcon",,,"C:\Program Files\PowerISO\PowerISO.exe,0"

HKLM,"SOFTWARE\Classes\PowerISO\shell",,0x00000012

HKLM,"SOFTWARE\Classes\PowerISO\shell\open"

HKLM,"SOFTWARE\Classes\PowerISO\shell\open\command",,,"C:\Program Files\PowerISO\PowerISO.exe %1"

HKLM,"SOFTWARE\Classes\*\shellex\ContextMenuHandlers\PowerISO",,,"{967B2D40-8B7D-4127-9049-61EA0C2C6DCE}"

HKLM,"SOFTWARE\Classes\CLSID\{967B2D40-8B7D-4127-9049-61EA0C2C6DCE}",,,"PowerISO"

HKLM,"SOFTWARE\Classes\CLSID\{967B2D40-8B7D-4127-9049-61EA0C2C6DCE}\InProcServer32",,,"C:\Program Files\PowerISO\PWRISOSH.DLL"

HKLM,"SOFTWARE\Classes\CLSID\{967B2D40-8B7D-4127-9049-61EA0C2C6DCE}\InProcServer32","ThreadingModel",0x00000000,"Apartment"

HKLM,"SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\PowerISO",,0x00000012

HKLM,"SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\PowerISO",,,"{967B2D40-8B7D-4127-9049-61EA0C2C6DCE}"

HKLM,"SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\PowerISO",,0x00000012

HKLM,"SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\PowerISO",,,"{967B2D40-8B7D-4127-9049-61EA0C2C6DCE}"

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","PWRISOVM.EXE",0x00000000,"C:\Program Files\PowerISO\PWRISOVM.EXE"

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","{967B2D40-8B7D-4127-9049-61EA0C2C6DCE}",0x00000000,"PowerISO"

HKLM,"SYSTEM\CurrentControlSet\Services\SCDEmu",,0x00000012

HKLM,"SYSTEM\CurrentControlSet\Services\SCDEmu","ErrorControl",0x00010001,00000001

HKLM,"SYSTEM\CurrentControlSet\Services\SCDEmu","Start",0x00010001,00000001

HKLM,"SYSTEM\CurrentControlSet\Services\SCDEmu","Type",0x00010001,00000001

HKLM,"SYSTEM\CurrentControlSet\Services\SCDEmu","MaxDiskCount",0x00010001,00000004

The bold text is the part that is not being written to the registry. Take no notice of the "*******" i have removed the text from there.

HKCU,"Software\PowerISO",,0x00000012

HKCU,"Software\PowerISO","Install_Dir",0x00000000,"C:\Program Files\PowerISO\"

HKCU,"Software\PowerISO","*********",0x00000001,00,04,55,73,65,72,29,21,4f,b9,43,46,10,68,80,f8,57,2e,5f,ca,a3,

4e

HKCU,"Software\PowerISO","Language",0x00010001,"1033"

HKCU,"Software\PowerISO","MainWindow",0x00000001,6e,00,00,00,6e,00,00,00,c0,03,00,00,d9,02,00,00,00,00,00,00

HKCU,"Software\PowerISO","Status",0x00010001,00000005

HKCU,"Software\PowerISO","ShellIntegration",0x00010001,00000001

HKCU,"Software\PowerISO\SCDEmu",,0x00000012

HKCU,"Software\PowerISO\SCDEmu","DiskCount",0x00010001,00000001

HKCU,"Software\PowerISO\SCDEmu","FLAGS",0x00010001,00000001

HKCU,"Software\PowerISO\SCDEmu","ImageName1",0x00000000,""

HKCU,"Software\PowerISO\SCDEmu","ImageName2",0x00000000,""

HKCU,"Software\PowerISO\SCDEmu","ImageName3",0x00000000,""

HKCU,"Software\PowerISO\SCDEmu","ImageName4",0x00000000,""

HKCU,"Software\PowerISO\SCDEmu","ImageName5",0x00000000,""

HKCU,"Software\PowerISO\SCDEmu","ImageName6",0x00000000,""

HKCU,"Software\PowerISO\SCDEmu","ImageName7",0x00000000,""

I hope there is someone here that can help.

Many Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy