Install usb driver using dpinst.exe
G'Day Crew,
I haven't used dpinst.exe before, but I'm got a package that requires a custom usb driver installed in a lockdown profile.
I've used a custom action type 82 in the immediate/deferred execution with command line switches /s /f /sw. I've added Dpinst.exe into a drivers folder installed by the application in ProgramFilesFolder. This has the inf file for the usb driver in it.
I've glanced over the Tips and Tricks detailing the use of dpinstexe (is this process out of date? No disrespect intended here[:)])
Why does the dpinst.exe have to be called by a wisescript exe for example?
I'm getting a 1722 error. I don't understand why at this stage.
Any advice greatly appreciated.
Regards
Wayne
I haven't used dpinst.exe before, but I'm got a package that requires a custom usb driver installed in a lockdown profile.
I've used a custom action type 82 in the immediate/deferred execution with command line switches /s /f /sw. I've added Dpinst.exe into a drivers folder installed by the application in ProgramFilesFolder. This has the inf file for the usb driver in it.
I've glanced over the Tips and Tricks detailing the use of dpinstexe (is this process out of date? No disrespect intended here[:)])
Why does the dpinst.exe have to be called by a wisescript exe for example?
I'm getting a 1722 error. I don't understand why at this stage.
Any advice greatly appreciated.
Regards
Wayne
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
jmcfadyen
17 years ago
Posted by:
WayneB
17 years ago
Posted by:
jmcfadyen
17 years ago
Posted by:
AngelD
17 years ago
The thread bellow should give you the information you need to use the DIFxApp merge module.
http://itninja.com/question/how-do-you-roll-out-new-machines?0873&mpage=1
http://itninja.com/question/how-do-you-roll-out-new-machines?0873&mpage=1
Posted by:
WayneB
17 years ago
Thanks John and Kim,
Kim: that thread is a bit of a marathon, with lots of useful goodies.
I've getting the app. UAT'd today.
What I've done is created a Wisescript that executes the dpinst.exe on install and uninstall using 2 CA's. Install had the switches in the script /f /s /lm. Uninstall had the switch /u "path to drivers .inf file" I've inserted the dpinst.exe into the drivers folder of my app.
I've ensured the keypath for the component with the drivers is my inf file.
I was unable to find the template John, but I'll have another look again today.
Thanks for your valued advice.
Regards
Wayne
Kim: that thread is a bit of a marathon, with lots of useful goodies.
I've getting the app. UAT'd today.
What I've done is created a Wisescript that executes the dpinst.exe on install and uninstall using 2 CA's. Install had the switches in the script /f /s /lm. Uninstall had the switch /u "path to drivers .inf file" I've inserted the dpinst.exe into the drivers folder of my app.
I've ensured the keypath for the component with the drivers is my inf file.
I was unable to find the template John, but I'll have another look again today.
Thanks for your valued advice.
Regards
Wayne
Posted by:
AngelD
17 years ago
Using dpinst has one advantage over DIFxApp which is you don't have to split up multiple drivers in separate folders.
dpinst will just go through each .inf file in the folder and install them in the order they are found.
If the template John mentioned is what I think it is then don't bother as it doesn't work that well. You'll be better of with just using DIFxApp in such case or use dpinst if that's more preferred..
dpinst will just go through each .inf file in the folder and install them in the order they are found.
If the template John mentioned is what I think it is then don't bother as it doesn't work that well. You'll be better of with just using DIFxApp in such case or use dpinst if that's more preferred..
Posted by:
WayneB
17 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.