InstallShield 2019 » Release Wizard
Project • The General Options panel is available in the following project types:
• | InstallScript |
• | InstallScript Object |
The General Options panel enables you to do the following:
• | Create a self-extracting executable file for distributing your installation. |
• | Pass command-line options to Setup.exe. |
• | Pass preprocessor variable definitions to the compiler. |
• | Select whether to place the compiled script file (.inx file) in a cabinet file. |
Project • In an InstallScript object project, the Compiler Preprocessor Defines list and the Advanced button are available; none of the other options on this panel are available.
Create a single file executable
Select this check box to create a self-extracting executable file. The File Name and Icon lists are enabled only if this check box is selected.
File Name
Type a file name for the self-extracting executable file or select a path variable whose value defines the password.
Icon
Optionally specify the fully qualified name of the file from which the executable file’s icon is taken at build time; if no file is specified, a default icon is used. To specify a file, type an explicit path, select and append to a path variable, or click the browse button to open the Change Icon dialog box, in which you can click the Browse button to select a file. By default, the icon with index 0 is used; to specify a different icon, either select an icon in the Change Icon dialog box or append the icon’s index or resource ID (preceded by a minus sign) to the file name. For example, C:\Temp\MyLibrary.dll,2 indicates the icon with an index of 2, and C:\Temp\MyLibrary.dll,-100 indicates the icon with a resource ID of 100.
Compress compiled script (.inx) file into media
If the compiled script file (.inx file) should be placed in a cabinet file, select this check box. If the file should be placed uncompressed in the Disk1 disk image folder, clear this check box.
Setup Command Line
Optionally specify any command-line parameters you want to pass to Setup.exe when the installation is launched; type a command line or select a path variable.
Compiler Preprocessor Defines
Optionally specify any preprocessor variable definitions; type the definitions or select a user-created build variable. Preprocessor variable definitions that are specified here apply only to the current release; they are not used when compiling the script for other releases. Use the following format, with no spaces before or after equals signs or commas:
MYVARIABLE1=123,MYVARIABLE2
Such variables can be tested in the script by #if and #ifdef statements that control the flow of the script. When you are creating an InstallScript object, enter IFX_OBJECTS.
Entering the name of a preprocessor variable in this box defines the variable. For example, if you enter MYVARIABLE in this box, the script commands in the following #ifdef loop are executed:
#ifdef MYVARIABLE
// Commands
#endif
After you add or change a preprocessor variable definition in this box, you must compile your installation project for the addition or change to take effect. To learn how, see Compiling Scripts.
Other Disk Files
This button is enabled only if there are files in the Other folder under Advanced Files in the Support Files/Billboards view and you selected a media format that produces multiple disk images—which is true for all formats other than Network Image.
When you click this button, the General Options - Other Disk Files dialog box opens. This dialog box lets you specify a location in the disk image folders for each file that is in the Other folder.
Advanced
When you click this button, the General Options - Advanced dialog box opens. This dialog box lets you specify a custom location for the built files, the space that is reserved in the disk images folders, and whether the installation performs MD5 checking.
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |