Jump to content

Recommended Posts

Posted

Ok, I have a program that installs by right-clicking the .INF file and choosing Install. Is there any way to perform this function during an Unattended setup? IE: What code do I put in my setup process? I use WPI.


Posted

If the inf works by right click install, then it will be performing the commands as defined under [DefaultInstall].

Therefore the most likely method of install would be to use the following command

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 X:\Path\MyFile.inf

As you use WPI, then I'm sure that the WPI forum would give you the correct syntax, but my guess would be something like this

cmd1[pn]=['rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 X:\\Path\\MyFile.inf']

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...