I want to install my tweaks using an inf-file.
For testing supposes I created a sample file:
[Version] Signature = "$Windows NT$" [DefaultInstall] AddReg = AddReg.Tour AddReg = AddReg.SecretLogging [AddReg.Tour] HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Tour",RunCount,0x00010001,0 [AddReg.SecretLogging] HKLM,"SOFTWARE\Microsoft\WBEM\CIMOM",EnableEvents,,0 HKLM,"SOFTWARE\Microsoft\WBEM\CIMOM",Logging,,0 [Strings] TESTSTRING="dummy dummy dummy dummy dummy dummy dummy dummy dummy"
I tested to use this command to instal my inf (for testing on an already installed winXP):
rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 customize.inf
But I get an error saying that the installation failed.
Can you say me how to do the whiole thing the right way?
/PITU
btw: Or is there a better way to install the customize.inf? Is there an ability to just link it in for example the dosnet.inf so it is called during the setup?



Help
Back to top









