Jump to content

Recommended Posts

Posted

I have a .inf file which installs files and registers these files. It also sets four or five reg settings.

The inf file is used to install authorware but i need for this to run on user accounts.

I have used autoit before to allow users to run defrag and to install java versions etc but just wondered if there was a way to be able to run .inf file which usually has the option of right click install.

Any help much appreciated.

Thanks

Posted

Quickest, easiest thing to do is to use IExpress (just click Start | Run... and enter IExpress on a Win XP Pro PC) and make a self-extracting EXE including the INF, then choose the INF to auto-run when the EXE is run...

Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines.

Posted

When you install an INF, Windows XP runs the following

C:\WINDOWS\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1

;so you could try something this

$filename = "C:\whatever\some file.inf"

Run('rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 "' & $filename & '"')

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...