Self Extracting Archive: Execute Command
-
Does anyone know how to properly execute an install command for a INF file?
I need to automate a driver distribution where there is not an executable to install. Only an INF.
TIA.
-
same as in Windows, what do you use to execute info from windows shell? same procedure has to be used in SFX… it just passes whatever you type in to the windows shell.
-
Thats the problem. I right click the file and choose ‘Install’. I dont know what the command line is.
-
Check:
Windows Explorer / Tools / Folder Options / FileTypesFor INF there is an “Install” option which (on my system) has the command
C:\WINNT\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1
Is that what you are after?
-
Yes I think thats it! Thanks! I modified it to:
%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 INF FILE HEREWorks from the command line so it should work in PA. Thanks again!
-
:d





