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

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

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!
Please log in to comment
1

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
Tenth 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.
Please log in to comment
1

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

http://msiworld.blogspot.com.au/2012/07/creating-device-driver-based-package-in.html

 

Answered 04/22/2013 by: piyushnasa
Red Belt

Please log in to comment
-1

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

http://msdn.microsoft.com/en-gb/library/windows/hardware/ff544775(v=vs.85).aspx

 

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

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