GUI SFX modules: setup commands
WinRAR GUI SFX modules support simple setup commands. You may put them to the SFX archive comment. Setup commands are listed below. Click on the command name for the detailed description.
Delete | Delete a file before extraction |
License | Display a program license |
Overwrite | Select file overwrite mode |
Path | Set the default destination path |
Presetup | Run the specified program before extraction |
SavePath | Store the destination path |
Setup | Run the specified program after successful extraction |
SetupCode | Wait for setup program termination and return its exit code |
Shortcut | Create a shortcut to unpacked file |
Silent | Skip the start dialog |
TempMode | Unpack to the temporary folder |
Text | Add text to the SFX dialog text window |
Title | Set SFX dialog title |
Update | 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 Setup for sfxpar variable description).
Here you may look at the simple example of the complete installation script.