Scripting Question

Hi All, please i need a script to install a driver with my .msi?

04/19/2013 864 views

i need write a script to install a driver with .msi file. please help new to packaging

0 Comments   [ + ] Show comments


All Answers


or use the AdminStudio - Driver Wizard.. easy ...couple of clicks and you're done

Answered 04/19/2013 by: jaybee96
Red Belt

  • Hi, you could use the DPINST from Microsoft. http://msdn.microsoft.com/en-us/library/windows/hardware/ff544842(v=vs.85).aspx The site provides excellent documentation. Good luck!

1. Create a text file

2. rename text file to install.bat

3. Right Click -> Edit

4. msiexec /i "<drivername>.msi" MSIFASTINSTALL=1 /qn /norestart

5. Save and close, then with the msi and install.bat in the same directory double click the install.bat to run it.


This is just a quick easy way to do it. It doesn't contain any logic to see if it's installed already or not. Just a quick and dirty install. If you need to put in logic, look up some information on "if exist" and "Reg query"

Answered 04/19/2013 by: samzeeco
10th Degree Black Belt

  • Thanks for all your Info, i have been off for a few days, i will give it a shot tomorrow when am back.

Here is step by step instruction to create the driver package with Installshield Admin Studio.



Answered 04/22/2013 by: piyushnasa
Red Belt


Google i say! But it dosent help if you dont know what your looking for.



Use DPisnt, with a CA to install te drivers.
After you install the drivers, there should be in entry in add/remove programs. Note that and make a CA to remove the drivers. *then you can tell dpisnt to hide the entry and use the MSI to remove the drivers.

If you have Installshield, i think there is a built in wizard tool??


Answered 04/19/2013 by: rileyz
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


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