Jump to content

SFX Archive using WinRAR


DarkRats

Recommended Posts

I have a few questions about creating an SFX archive using WinRAR:

1. Under the Advanced SFX Options there's a place to input a file to be executed after extraction. Is it possible to specify more than one file to be executed, or are you limited to one?

2. Can a Registry file (.reg) be executed this way?

3. If yes, how can you suppress the Registry confirmation message that usually pops up?

Thanks!

Link to comment
Share on other sites


1) one file, but if you use a batch file can execute more than one

No, you can use multiple "Setup=" lines. ;)

So you can use

Setup="setup.exe"

Setup="regedit.exe /s bla.reg"

Setup="my scripts.vbs"

Similar to 7-Zip's

RunProgram="setup1.exe"

RunProgram="setup2.exe"

RunProgram="my batch.cmd"

Etc.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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