Open topic with navigation
InstallShield 2012 Spring
Project: This information applies to InstallScript projects.
Setup.ini is an initialization file that is created during the build process of InstallScript-based projects to control certain elements of the installation. The build process fills in only certain key names and values in Setup.ini. After the build process creates Setup.ini, it is placed in the Disk1 folder in <project folder>\Media\<media name>\Disk Images.
If you want to customize Setup.ini further, modify it with a text editor. You can automate this process by using the Postbuild Options panel of the Release Wizard or the Execute Batch File property in the Releases view to launch a batch file or executable file that performs the desired modifications. Do not simply overwrite Setup.ini with a modified copy from a previous media build; doing so could cause your installation to work improperly.
Setup.ini contains two predefined sections:
You can add additional sections to Setup.ini to pass information to your setup script. You can then call the GetProfString and GetProfInt functions to transfer the information from the Setup.ini file to your installation.
Here is an example Setup.ini file:
CompanyName=My Company Name
Note: If you need to access the file later (after Disk1 has been removed), you should copy Setup.ini to the support folder (SUPPORTDIR) at the beginning of the installation.
InstallShield 2012 Spring Help Library
|Copyright Information | Contact Us|