Sign in to follow this  
Followers 0

Install .inf file from command prompt?

6 posts in this topic

Anyone know how to install a .inf file other than rightclicking and choosing "Install"? Id like to install it from cmd or maybe autoit can do it even better using some other way...

Share this post

Link to post
Share on other sites

do you mean like...


see help



Share this post

Link to post
Share on other sites

#5 ·  Posted (edited)

change path and inf file name to match what you need and give it a try

Runwait (@systemdir & "\rundll32.exe syssetup,SetupInfObjectInstallAction DefaultInstall 128 " & $pathtoinf & "\your.inf","",@SW_HIDE)
Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs


Don't argue with an idiot; people watching may not be able to tell the difference.


Share this post

Link to post
Share on other sites

printer drivers?

I am not sure what device you are trying to install - but if you go to add remove hardware or device manager I am sure you can install it from there - just find the icon with a RED X or the yellow Exclamation Point and update the driver with the INF file.

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."



WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes




GDI Basics


GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0