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']

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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