- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Automating ism in Install shield
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Automating ism in Install shield
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @skummara,
Yes, its possible to automate using the automation interfaces. More information on the automation interfaces can be found : https://docs.revenera.com/installshield26helplib/helplibrary/IHelpAutoISWiProject.htm#ref-automationinterface_3198501150_1161875
Sample VB script code to add new release:
Set oISM = CreateObject("ISWiAuto23.ISWiProject")
' this time, open project as read-write
oISM.OpenProject "D:\MySetups\BuildMe.ism", False
' get existing configuration
Set oMyConfig = oISM.ISWiProductConfigs("DemoVersion1")
' add new release to existing configuration
Set oNewRelease = oMyConfig.AddRelease("new")
' set release properties
oNewRelease.Compressed = True
oNewRelease.SetupEXE = True
oNewRelease.TargetOS = 3 ' i.e., os9xNT: include both engines
' ...set other properties...
' if you want, build the new release
oNewRelease.Build( )
' for testing
MsgBox "Done!"
' this time, save the project before closing it
oISM.SaveProject
oISM.CloseProject