[Incident]: Some users report they are unable to access the case portal. Please see this community notice for more information.

Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Use Python with the InstallShield Automation Interface

How to Use Python with the InstallShield Automation Interface


InstallShield automation is implemented as a COM object, hence it can be accessed from any language that supports COM extensions.

Python (32-bit version) supports writing COM clients using win32com.client module. This module can be installed "python -m pip install pywin32"  if it is not already present.


The following is an example of using Python to open an existing project and update some of the contents:

import win32com.client
o = win32com.client.Dispatch("ISWiAuto26.ISWiProject")
o.OpenProject("C:\InstallShield 2020 Projects\Test.ism")
prodconf = o.ISWiProductConfigs("Product Configuration 1")
prodconf.Title= "Flexera"
prodconf.Subject= "InstallShield"
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Oct 11, 2021 10:27 AM
Updated by: