InstallShield 2019 » Automation Interface
Project • This information applies to the following project types:
• | Basic MSI |
• | InstallScript MSI |
ISWiAutomaticUpgradeEntries returns a collection of ISWiAutomaticUpgradeEntry items as they are defined in the IDE.
Members
Property |
Type |
Description |
Count |
Read-Only Property |
Use this property to return the total number of elements in the ISWiAutomaticUpgradeEntries collection. |
Item |
Read-Only Property |
Provide the index number or upgrade code in order to retrieve the ISWiAutomaticUpgradeEntries items. Item is the default property for ISWiAutomaticUpgradeEntries, which means that m_ISWiProject.ISWiAutomaticUpgradeEntries.Item("12345678-1234-1234-1234-123456789012") is equivalent to m_ISWiProject.ISWiAutomaticUpgradeEntries("12345678-1234-1234-1234-123456789012"). |
Example
Dim m_ISWiProj As ISWiProject
Dim m_AutomaticUpgradeEntries As ISWiAutomaticUpgradeEntries
Set m_ISWiProj = New ISWiProject
m_ISWiProj.OpenProject "C:\mysetups\build 34.ism"
For Each m_AutomaticUpgradeEntries In m_ISWiProject.ISWiAutomaticUpgradeEntries
m_AutomaticUpgradeEntries.Name = "Upgrade Msi Item1"
Next
m_ISWiProj.SaveProject
m_ISWiProj.CloseProject
The following line illustrates how to access a particular automatic upgrade entry:
Set m_AutomaticUpgradeEntries = ISWiProject.ISWiAutomaticUpgradeEntries ("Upgrade Msi Item1")
Applies To
• | ISWiProject |
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |