SetupIni.exe

InstallShield 2024

Project: This information applies to the following project types:

Basic MSI
InstallScript MSI

SetupIni.exe is a command-line tool that enables you to modify a Setup.ini file that is embedded in a Setup.exe or Update.exe file. Setup.ini is an initialization file that is created during the build process of installation projects to control certain elements of the installation.

SetupIni.exe is installed in the following location:

InstallShield Program Files Folder\System

Syntax

SetupIni.exe PathToSetup.exe Section Key Value

Parameters

Command-Line Parameters for SetupIni.exe

Parameter

Description

PathToSetup.exe

Specify the path and file name to the Setup.exe file that contains the Setup.ini file that you want to modify.

If the path contains spaces, enclose it within quotation marks.

Section

Specify the name of the section that you want to modify.

Key

Specify the name of the key whose value you want to set.

Value

Specify the value that you want to use for the specified key.

If the value contains spaces, enclose it within quotation marks.

Example

SetupIni.exe "C:\InstallShield 2021 Projects\My Project\Media\My Release\Package\MySetup.exe" Startup CmdLine MYPROPERTY="MyValue"