Help - Search - Members - Calendar
Full Version: INF install during Unattended
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
Nightlord
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.
Yzöwl
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
CODE
cmd1[pn]=['rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 X:\\Path\\MyFile.inf']
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.