using custom INF files in an unattend deploy

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm currently working on an unattend deploy - which is currently working - but I need to have a custom INF file which needs to be processed during the install phase. Below is an example of my INF file with bogus info.

I'm aware that I could update the HIVESYS.INF, but I would rather leave it alone. Suggestions on how I could resolve this would be great.


[Version]
Signature = "$Windows NT$"
DriverVer=10/23/2003,5.1.2600.0

[AddReg]
HKLM,"System\CurrentControlSet\Control\Session Manager\Environment","Prompt",0x00020002,"$p$g$_"
HKLM,"System\CurrentControlSet\Control\Session Manager\Environment","dircmd",0x00020002,"/ogn"

[DelReg]
HKLM,"System\CurrentControlSet\Control\Session Manager\Environment","Prompt",0x00020002,"$p$g$_"
HKLM,"System\CurrentControlSet\Control\Session Manager\Environment","dircmd",0x00020002,"/ogn"
 
I've resolved my first issue. I'm now able to get the unattend deployment to
read the custom.inf file, but now I'm getting the following error from the
custom.inf file.

Line 0 of custom.inf is corrupted. Setup cannot continue.

Not much of an error message. Line 0 contains [Version]


I'm using the following as my test INF file

===begin custom.inf
[Version]
Signature = "$Windows NT$"
DriverVer=10/23/2003,5.1.2600.1106

[AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Tour","RunCount",0x0
0010001,0
HKLM,"System\CurrentControlSet\Control\Session
Manager\Environment","Prompt",0x00020002,"$p$g$_"
HKLM,"System\CurrentControlSet\Control\Session
Manager\Environment","dircmd",0x00020002,"/ogn"
===end custom.inf

cheers,
joe

joe avelar said:
I'm currently working on an unattend deploy - which is currently working -
but I need to have a custom INF file which needs to be processed during the
install phase. Below is an example of my INF file with bogus info.
I'm aware that I could update the HIVESYS.INF, but I would rather leave it
alone. Suggestions on how I could resolve this would be great.
[Version]
Signature = "$Windows NT$"
DriverVer=10/23/2003,5.1.2600.0

[AddReg]
HKLM,"System\CurrentControlSet\Control\Session Manager\Environment","Prompt",0x00020002,"$p$g$_"
HKLM,"System\CurrentControlSet\Control\Session
Manager\Environment","dircmd",0x00020002,"/ogn"
[DelReg]
HKLM,"System\CurrentControlSet\Control\Session
Manager\Environment","Prompt",0x00020002,"$p$g$_"
HKLM,"System\CurrentControlSet\Control\Session
Manager\Environment","dircmd",0x00020002,"/ogn"
 
Back
Top