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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
Answered 08/26/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
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
Answered 08/26/2007 by: WayneB
Blue Belt

Please log in to comment
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.
Answered 08/26/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
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
Answered 08/27/2007 by: AngelD
Red Belt

Please log in to comment
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
Answered 08/27/2007 by: WayneB
Blue Belt

Please log in to comment
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..
Answered 08/28/2007 by: AngelD
Red Belt

Please log in to comment
0
Thanks Kim,

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

Regards
Wayne
Answered 08/28/2007 by: WayneB
Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity