SFX options: General


This dialog is a part of the "Advanced SFX options" dialog and includes the following settings:

Path to extract

Set the default destination path for unpacked files. You may choose to create it in the user's "Program Files" folder, in the current folder or specify an absolute path here. In first two cases an entered path must not include the disk letter or leading backslash, in the third it must have one of them.

Corresponding SFX script command - Path

Path to extract/Save and restore paths

This option allows SFX to store the destination path entered by user to Registry and then restore it when SFX archive with the same Path to extract contents executed the next time. The original path value is placed to the list associated with the destination path input field, so a user may choose between previously entered and original paths.

This feature may be convenient when installing new versions or upgrades of some software in the same folder. It allows to change the proposed path to desired only once instead of retyping it every time.

It may be used only in combination with non-empty Path to extract field.

Corresponding SFX script command - SavePath

Setup program/Run after extraction

SFX will try to execute the specified program after successful extraction. The folder containing extracted files is set as the current before executing the program. If a program name contains spaces, it must be enclosed in quotes. Read notes to Setup topic for some additional details.

Corresponding SFX script command - Setup

Setup program/Run before extraction

SFX will try to execute the specified program before starting extraction. The destination folder is set as the current before executing the program. If a program name contains spaces, it must be enclosed in quotes. You may use this command, for example, to remove a previous version of program, when installing a new version over the old one.

Corresponding SFX script command - Presetup

Save current settings as default

Save settings entered in all sections of "Advanced SFX options" dialog including the current section and use them later as default every time when creating a self-extracting archive.