Make .EXE File

Top  Previous  Next

Use the Make .EXE File entry in the Actions menu to convert the open archive to a Self-Extracting Archive(SFX).  Self-Extracting archives have an extension of .EXE, and can be run as commands.  When a self-extracting archive is run, the files in the archive are automatically extracted.  This is convenient, because the end user does not need an unzip program (like IZArc) to extract files from these self-extracting archives.

 

Currently IZArc can make self-extracting archives from 7-ZIP, ACE, ARJ, BH, JAR, LHA, LZH, RAR and ZIP archives.

 

Options:

· Default Extract Folder - This is the default folder in which the extracted files will be placed. If you don't specify anything, the user's current directory will be the default.

If you enter the special symbol >< , then the user's temporary directory will be the default extraction directory.

 

· Caption - Caption of the self-extracting archive dialog box.

 

· Message - Message is used to specify a message given before the main extraction dialog shows itself.

 

· Message Type - If you specify a message, you can also specify the type of the message box:
· - Standard - The message box shows an 'OK' button. The User cannot cancel starting the SFX application.

 

· - Information - The message box shows the buttons 'OK' and 'Cancel'. if the User presses 'Cancel', SFX will stop.

 

· - Confirmation - The message box shows the buttons 'Yes' and 'No'. if the User presses 'No', SFX will stop.

 

· Default Overwrite Action - Sets the the action for what the SFX program is supposed to do if it finds files that already exist.
· Prompt for overwriting existing files - Ask user when each file is found.

 

· Always  overwrite existing files - Always overwrite existing files.

 

· Skip exisiting files - Never overwrite - skip those files.

 

· Command Line - You can specify a command line parameters to execute after extracting the executable.

 

Typically used to view the readme file, but can do anything. There is a predefined symbol that can be used in the command line to tell you which target directory was actually used.

 

Special symbols:

|    (Vertical bar) is the command / argument separator.

>< Is the actual extraction directory selected by user.

 

Example: Notepad|><Readme.txt

This will run notepad to show "Readme.txt" in the actual extraction dir.

 

You can also install .inf scripts, even with support for different sections depending on the operating system:

"><setup.inf" will run the [DefaultInstall] section of "EXTRACTPATH\setup.inf".

"><setup.inf|.ntx86" will run the [DefaultInstall] section if the User's OS is Win95/98,

but [DefaultInstall.ntx86] section if it's Windows NT/2000/XP.

 

· Allow to Avoid the Command Line - Allows user (at runtime) to de-select the SFX program's command line checkbox. Once de-selected, the command line will not be executed.

 

· Hide Overwrite Action Group - Does not show the user (at runtime) the SFX program's dialog box that lets him choose the overwrite action for files that already exist.

 

· Create an AutoRun SFX - Extraction of the SFX contents will be performed automatically, no user actions are required.

 

· Show Success Message After Extraction - Shows message after the end of the extraction process.

 

· Delete the Zip File - Deletes the archive if the SFX is created successfully.

 

 

Note: You should always test self-extracting archives before distribution. IZArc will offer to test the archive as soon as it is created. IZArc self-extracting files will add about 40KB to an archive, containing the code necessary for extraction.