GUI RAR and ZIP SFX modules (Default.SFX and Zip.SFX)


Using these two modules you may create GUI (graphic mode) self-extracting archives for Windows.

Use Default.SFX module for RAR archives in RAR 5.0 format and Zip.SFX for ZIP archives.

WinRAR also includes Default32.SFX and Zip32.SFX, which are 32-bit versions of these SFX modules. By default WinRAR x64 uses 64-bit versions, but you can select 32 bit modules explicitly in SFX options: Module dialog. Resulting 32-bit SFX archive will work in 32-bit Windows x86, but will not support compression dictionaries larger than 1 GB. 32-bit WinRAR uses 32-bit SFX modules by default.

Both these modules support simple setup commands and command line options. Use links below to read more about it:

Notes

  1. It is allowed to edit Windows resources contained in SFX modules to adapt them for your needs. For example, you may wish to resize the start dialog or add some graphics to it. WinRAR does not provide tools or documentation for modifying resources. It is rather complicated process and if you wish to do so, you must already have a resource editor and you must know how to work with it. But you do not need to edit resources if the standard SFX start dialog is acceptable for you. Also if you need to change only SFX logo or icon, you can use "Logo and icon" page of Advanced SFX options dialog.
  2. By default, exit codes returned by GUI self-extracting archives when terminating, are the same as WinRAR exit codes. It is possible to modify this behavior with SetupCode command, so SFX will also return setup program exit codes.