Jump to content

Add new hardware wizard pops up during install.


Recommended Posts

Posted

Hello. I have placed my drivers in a directory and edited winnt.sif to point to these drivers via the drivers guide on msfn (http://unattended.msfn.org/xp/drivers.htm)

Anyway, now when windows reboots and starts executing my entries in RunOnceEx.cmd, and my printer is plugged in, I get an add new hardware wizard that tells me windows found my printer and is ready to install. I have to manually click next and finish to complete the driver installation (although the runonceex.cmd contents are still being installed in the background).

The printer drivers are working, and they are what I want, but I would rather not see the add new hardware wizard. Anyway to make it automated? I suppose I could use autoit in my runonceex.cmd file to automagically click the buttons for me, but is there a better way?


Posted

No need for autoit scripts - that's unnecessary complication.

Just simply include even your printers drivers with your other drivers (I hope the printer drivers are signed/WHQL-approved, only then it will work without hitches).

If you have already included your printer drivers, then I'd conclude that its the lack of driver-signing which is causing your problem. Try disabling driver-signing checking from winnt.sif

Posted

Thanks for the response, but alas, that is what I am doing. From my winnt.sif:

[Unattended]
OemPreinstall=Yes
UnattendSwitch="yes"
UnattendMode=FullUnattended
OemSkipEula=Yes
TargetPath=\WINDOWS
FileSystem=*
OemPnPDriversPath="Drivers\007_printer"
DriverSigningPolicy=Ignore
NonDriverSigningPolicy = Ignore

Stupid add hardware wizard. It says nothing about the drivers not being signed, it just says "This wizard helps you finish..." then I click next, then I get "This wizard has finished..." and I click finish.

Posted
Thanks for the response, but alas, that is what I am doing.  From my winnt.sif:

[Unattended]
OemPreinstall=Yes
UnattendSwitch="yes"
UnattendMode=FullUnattended
OemSkipEula=Yes
TargetPath=\WINDOWS
FileSystem=*
OemPnPDriversPath="Drivers\007_printer"
DriverSigningPolicy=Ignore
NonDriverSigningPolicy = Ignore

Stupid add hardware wizard.  It says nothing about the drivers not being signed, it just says "This wizard helps you finish..."  then I click next, then I get "This wizard has finished..." and I click finish.

I was getting the add hardware wizard for a video driver in the middle of an unattended cd. I had the right driver, winnt.sif was correct, etc. In fact, my unattended cd includes drivers for several machines the company uses, and only one model seemed to do this.

It looked like setup was continuuing in the background, so I just didn't touch anything. Sure enough, setup continued, the add hardware wizard went away, and at the end of setup the machine did indeed have the right driver.

So, have you just tried waiting it out? I did the same thing you did several times, and clicked through the wizard, but it proved to be unneccessary in my case.

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...