Jump to content

Recommended Posts

Posted

I want to create a reg file to create this key in the registry.

Anyone know where it belongs? I'm expermenting with creating a

self extracting SFX file containing my drivers and a reg file

to be run from detatchedprogram. Mainly to get F6 to work and

still beable to install drivers.

I guess I should ask if any one has done that. I've searched but

found no definent answers.


Posted (edited)

To answer my one question. I didn't use a reg file but ended up

editing hivesft.inf and hivesft32.inf by appending my driver path

to the line HKLM,"SOFTWARE\Microsoft\Windows",,0x00000012

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020002,"%SystemRoot%\inf;"

Example HKLM,"SOFTWARE\Microsoft\Windows",,0x00000012

HKLM,"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 using

Winrar. Placed this in my AMD64 folder since I'm installing 64bit XP

otherwise it would go in the i386 directory.

Next edit txtsetup.sif and add the line to copy your self extracting

exe.

example

bootvid.dll = 1,,,,,,3_,2,0,0,,1,2

drivers.exe = 1,,,,,,3_,1,0,0,,1,2

this 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 write

files with no prompting to the current directory.

I was able to use F6 and install all my drivers unattendedly.

Edited by jbm

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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