Jump to content

[help]need away to change inf into exe


Guest

Recommended Posts

i need away just not clicked right click then install i want it just to click on it like an exe file and it run

is their a way and thx

Link to comment
Share on other sites

If you know how to make a 7zip or WinRAR sfx use this command to install

rundll32 advpack.dll,LaunchINFSection NameOfINF.inf,,1

The ",,1" will make it silent

And make sure you put the .cab file in a folder named i386

doesn`t this requires to put the address of the file before it`s name

and thx

Link to comment
Share on other sites

What method are you planning on using?

If 7zip SFX use

RunProgram="hidcon:cmd /c rundll32 advpack.dll,LaunchINFSection \"%%T\\NameOfINF.inf\",,1"

%%S - full path to the SFX archive file

%%T - full extraction path

If its winrar you dont have to do that, just use this (it will lanuch the DefaultInstall section if any)

Setup=NameOfINF.inf
TempMode
Silent=1
Overwrite=1

Link to comment
Share on other sites

  • 3 weeks later...
If its winrar you dont have to do that, just use this (it will lanuch the DefaultInstall section if any)

Setup=NameOfINF.inf
TempMode
Silent=1
Overwrite=1

Rick,

Using this method, do I still need to place my .cab file in the folder i386?

***Nevermind. I figured it out. The answer is YES.***

Aaron

Edited by ontheteam
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...