Changing Project Settings from the Command Line

InstallShield 2018

The InstallShield automation interface enables you to query and modify many project settings from an unattended build process, using, for example, a VBScript script or Visual Basic application.

The framework of any script that uses the automation interface to access a project appears as follows (you can copy this script into a text file called Framework.vbs and then double-click the file icon):

Set oProject = CreateObject("IswiAutoAutomation Interface Version.ISWiProject")

oProject.OpenProject "C:\MySetups\MyProject.ism"

 

' perform queries and changes here

 

oProject.SaveProject ' necessary only if modifying the project

oProject.CloseProject

See Also