/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (7)

Posted by: jmcfadyen 17 years ago
5th Degree Black Belt
0
Wayne,

Have a look at DifX as well there is a Wise template available on the kb's which allows right click driver support.

ie right click import driver etc. If you an INF file for the driver this is quick simple solution to adding drivers.

John
Posted by: WayneB 17 years ago
Blue Belt
0
Thanks John,

I gather that is the Altiris KB's for the Wise template? Do I have to create a separate package for the usb driver?


Thanks
Wayne
Posted by: jmcfadyen 17 years ago
5th Degree Black Belt
0
yeah it is in the altiris KB's. I dont have a link to it around.

I expect a search on difxapp should find it.

If you find the kb the template file is downloadable within the kb. I have a copy at home if you cant find it.

Basically it add's CA's to incorporate the difx stuff easily.
Posted by: AngelD 17 years ago
Red Belt
0
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
Posted by: WayneB 17 years ago
Blue Belt
0
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
Posted by: AngelD 17 years ago
Red Belt
0
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..
Posted by: WayneB 17 years ago
Blue Belt
0
Thanks Kim,

UAT passed with flying colours [:D]. And our client were pressing us for admin rights on this issue.

Regards
Wayne
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ