SFX options: Modes
This dialog is a part of the "Advanced SFX options" dialog and it includes following settings:
This option forces SFX to create a temporary folder, extract all files to it, start the program specified in Setup program/Run after extraction field and remove the temporary folder including all its contents after completing Setup program. The SFX automatically uses "Hide start dialog" silent mode (described below), when performing these operations, but you can override it by specifying "Hide all" silent mode. Temporary folder with unpacked files is set as the current folder for setup program.
You may also set two optional string parameters, which define a question and question title displayed before extraction. In such case the extraction is started only if a user selects "Yes" button.
If "Restrict folder access" option is set, SFX attempts to modify permissions of temporary folder, so only the current user can access it. By default, newly created folders might include permissions for several other users additionally to current one. In some special cases it might be associated with security risks, such as a local user able to replace files in a temporary folder, even when SFX is started under system account. Some installers might fail to start in a folder created with this option.
If Unpack to temporary folder option is set, you should also specify Setup program. SFX ignores Path to extract parameter in this mode.
This option may fail to work with setup program, which terminates earlier than its child processes. Read TempMode command description for details.
Corresponding SFX script command - TempMode
By default SFX asks for confirmation to start extraction and allows to user to change the destination folder. If you set "Silent mode" to "Hide start dialog" this confirmation will be skipped. Select "Hide all" if you also wish to hide SFX license dialog and the extraction progress.
Corresponding SFX script command - Silent