jbm Posted June 12, 2005 Posted June 12, 2005 I want to create a reg file to create this key in the registry.Anyone know where it belongs? I'm expermenting with creating aself extracting SFX file containing my drivers and a reg fileto be run from detatchedprogram. Mainly to get F6 to work andstill beable to install drivers. I guess I should ask if any one has done that. I've searched butfound no definent answers.
jbm Posted June 12, 2005 Author Posted June 12, 2005 (edited) To answer my one question. I didn't use a reg file but ended upediting hivesft.inf and hivesft32.inf by appending my driver pathto the line HKLM,"SOFTWARE\Microsoft\Windows",,0x00000012HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020002,"%SystemRoot%\inf;"Example HKLM,"SOFTWARE\Microsoft\Windows",,0x00000012HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020002,"%systemroot%\inf;%systemroot%\DRIVERS\CHIPSET;more paths;"Don't know the path limit but I assume its 4096 characters.Next created a self extracting exe of my drivers directory usingWinrar. Placed this in my AMD64 folder since I'm installing 64bit XPotherwise it would go in the i386 directory.Next edit txtsetup.sif and add the line to copy your self extractingexe.examplebootvid.dll = 1,,,,,,3_,2,0,0,,1,2drivers.exe = 1,,,,,,3_,1,0,0,,1,2this copies drivers.exe to systemroot or the windows directory.Next add the following line to winnt.sif[GuiUnattended]DetachedProgram="%windir%\drivers.exe"One other thing the drivers.exe if set to extract and over writefiles with no prompting to the current directory.I was able to use F6 and install all my drivers unattendedly. Edited June 12, 2005 by jbm
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