WinRAR GUI SFX modules: setup commands


GUI SFX modules: setup commands


WinRAR support simple setup commands. You may put them to the SFX . Setup commands are listed below. Click on the command name for the detailed description.

Delete a file before extraction
Display a program license
Select file overwrite mode
Set the default destination path
Run the specified program before extraction
Store the destination path
Run the specified program after successful extraction
Wait for setup program termination and return its exit code
Create a shortcut to unpacked file
Skip the start dialog
Unpack to the temporary folder
Add text to the SFX dialog text window
Set SFX dialog title
Select file update mode

SFX module expands environment variables in command parameters, so it is allowed to use commands like:

Path=%temp%\myapp

Setup=mysetup.exe %sfxpar%

(see for sfxpar variable description).

at the simple example of the complete installation script.