ReleasePackager.exe

InstallShield 2020

Project:This information applies to InstallScript projects.

Use ReleasePackager.exe to build a self-extracting executable file from the command line. This can be useful if you are building from a batch file.

ReleasePackager.exe is installed in the following location:

InstallShield Program Files Folder\System

Syntax

ReleasePackager.exe "disk_images_folder" "package_file" ["icon_file" [icon_index]]

Parameters

Command-Line Parameters for ReleasePackager.exe

Parameter

Description

disk_images_folder

This optional parameter specifies the folder that contains the disk images to be incorporated in the self-extracting executable file. A typical value is:

C:\InstallShield 2020 Projects\ProjectName\Media\Releasename\Disk Images

package_file

This parameter specifies the fully qualified name of the self-extracting executable file. A typical value is:

C:\InstallShield 2020 Projects\Projectname\Media\Releasename\Package\Packagename.exe

icon_file

This optional parameter specifies the fully qualified name of the file that contains the icon you want to use for your self-extracting executable file.

icon_index

This optional parameter specifies the numeric index of the icon from icon_file that you want to use for your self-extracting executable file. If you do not specify an index, the icon at index 0 is used.

-s

This optional parameter is available for running ReleasePackager.exe in silent mode. To pass this parameter to ReleasePackager.exe, the syntax is as follows:

ReleasePackager.exe "disk_images_folder" "package_file" ["icon_file" [icon_index]] -s

Note that the -s parameter must be specified after the other parameters. If you do not want to specify an icon file or icon index, you must specify the default values of a null string ("") for the icon file and 0 for the icon index.

Example

ReleasePackager.exe "C:\InstallShield 2020 Projects\My Project\Media\My Release\Disk Images" "C:\InstallShield 2020 Projects\My Project\Media\My Release\Package\MyPackage.exe" "C:\My Icon Files\MyIcons.dll" 2 -s

See Also