I am able to trigger a batch file from within an inf file.
But the ordering seems to be off.
My intention is to first complete installing the driver (sys file) AND THEN trigger the batch file.
The driver is for a network adapter and the batch file is a simple script that automates the setting of the just installed network interface.
But what is really happening is that the batch file gets triggered first and blocks the completion of the driver installation.
How can i achieve what i am trying to do?
Do i need an autorun.inf or some such thing that serializes the driver installation and batch file triggering?
wrote in message news:xxxxx@ntdev… > Hi all, > > I am able to trigger a batch file from within an inf file. > But the ordering seems to be off. > My intention is to first complete installing the driver (sys file) AND > THEN trigger the batch file. > The driver is for a network adapter and the batch file is a simple script > that automates the setting of the just installed network interface. > But what is really happening is that the batch file gets triggered first > and blocks the completion of the driver installation. > How can i achieve what i am trying to do? > Do i need an autorun.inf or some such thing that serializes the driver > installation and batch file triggering? > > Thanks in advance. > > >
Dear Don,
OK. I will look into coinstaller. Can you give me a big picture of how this would work in a line or two? Is a coinstaller a sys file or dll file or an exe file that’s auto-launched? Where should i start digging on coinstallers (DDK as always would be a good start i guess)? Thanks.
It is a DLL, there are samples in the WDK. The co-installer will be called
for multiple events in the install process, including the driver having
been successfully installed.
wrote in message news:xxxxx@ntdev… > Dear Don, > OK. I will look into coinstaller. Can you give me a big picture of how > this would work in a line or two? Is a coinstaller a sys file or dll file > or an exe file that’s auto-launched? Where should i start digging on > coinstallers (DDK as always would be a good start i guess)? Thanks. > >