PowerArchiver Home


Go Back   PowerArchiver Forums > PowerArchiver 2012 > Tech Support

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-25-2006, 05:11 PM
MarcFou's Avatar
MarcFou MarcFou is offline
PA Super User
 
Join Date: Oct 2005
Location: AZ. - USA
Posts: 201
Thanks: 0
Thanked 6 Times in 5 Posts
Question 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.
Reply With Quote
  #2  
Old 01-25-2006, 05:50 PM
spwolf's Avatar
spwolf spwolf is offline
Administrator
 
Join Date: Jun 2001
Posts: 7,823
Thanks: 682
Thanked 207 Times in 192 Posts
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.
__________________
ConeXware, Inc.
latest PA release info on Facebook, Twitter | Follow us and win free PowerArchiver.
Reply With Quote
  #3  
Old 01-26-2006, 09:22 AM
MarcFou's Avatar
MarcFou MarcFou is offline
PA Super User
 
Join Date: Oct 2005
Location: AZ. - USA
Posts: 201
Thanks: 0
Thanked 6 Times in 5 Posts
Thats the problem. I right click the file and choose 'Install'. I dont know what the command line is.
Reply With Quote
  #4  
Old 01-26-2006, 10:38 AM
TBGBe's Avatar
TBGBe TBGBe is offline
Still Mainly Lurking
 
Join Date: Jul 2001
Location: UK
Posts: 2,151
Thanks: 6
Thanked 102 Times in 94 Posts
Check:
Windows Explorer / Tools / Folder Options / FileTypes

For INF there is an "Install" option which (on my system) has the command
Quote:
C:\WINNT\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1
Is that what you are after?
__________________
Terry

WinXP SP3
Reply With Quote
  #5  
Old 01-26-2006, 11:27 AM
MarcFou's Avatar
MarcFou MarcFou is offline
PA Super User
 
Join Date: Oct 2005
Location: AZ. - USA
Posts: 201
Thanks: 0
Thanked 6 Times in 5 Posts
Yes I think thats it! Thanks! I modified it to:
%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 INF FILE HERE

Works from the command line so it should work in PA. Thanks again!
Reply With Quote
  #6  
Old 01-26-2006, 03:09 PM
TBGBe's Avatar
TBGBe TBGBe is offline
Still Mainly Lurking
 
Join Date: Jul 2001
Location: UK
Posts: 2,151
Thanks: 6
Thanked 102 Times in 94 Posts
Thumbs up

:d
__________________
Terry

WinXP SP3
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:44 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.