MakeSFX.exe Options
MakeSFX
Converts a zip file into a 32-bit GUI Windows self-extractor.
« Example usage »
makesfx.exe /zip="source.zip" /sfx="output.exe" [/title="Your Title"]
[/website="http://www.example.com"] [/intro="This is a test self extractor"]
[/defaultpath="$desktop$\My Files"] [/autoextract] [/openexplorerwindow]
[/shortcut="$desktop$\Program Shortcut.lnk|$targetdir$\Program.exe]
[/delete] [/icon="MyIcon.ico"] [/overwrite] [/?]
« Self-extractor options »
/zip="file.zip" The source zip file (Required)
/sfx="out.exe" The output self-extractor (Required)
/title="Your Title" The user-friendly name
/website="http://www.example.com" The embedded URL
/exec="setup.exe" Command to execute after extraction
/intro="This is the intro." The splash screen intro text
/icon="MyIcon.ico" Changes the SFX icon. This must be a
2,238 byte, 32x32, 256 color icon.
/defaultpath="$desktop$\Folder" Default extraction path. Valid variables
are: $desktop$, $temp$, $programfiles$,
$windir$, $targetdir$ and $sysdir$. You
may also hard-code a path.
/autoextract Automatically extract the contents to
the default path. Don't prompt the user.
/openexplorerwindow Open the target directory in Windows
Explorer.
/delete Deletes extracted files after program
specified in /exec is completed.
/shortcut="shortcut.lnk|target.ext" Creates a shortcut to target. Each may
include scriptable paths (like with
/defaultpath). You may specify up to 16
/shortcut entries.
« MakeSFX Options »
/overwrite Overwrite the output EXE, if it exists.
/? Show this help message
|