ISWiShortcuts Collection

InstallShield 2016 » Automation Interface

Project • This information applies to the following project types:

Basic MSI
DIM
InstallScript
InstallScript MSI
Merge Module

ISWiShortcuts contains every shortcut belonging to a specified ISWiFolder object.

The following example makes a copy of the shortcut named MyShortcut under the program folder contained in m_pFolder:

    Dim m_pShortcut As ISWiShortcut

    Set m_pShortcut = m_pFolder.ISWiShortcuts("MyShortcut")

Members

ISWiShortcuts Collection Members

Name

Type

Description

Count

Read-Only Property

Use this property to return the total number of elements in the ISWiShortcuts collection.

Item

Read-Only Property

Provide the index number or name of the shortcut in order to retrieve the ISWiShortcut object.

Item is the default property for ISWiShortcuts, which means that m_pFolder.ISWiShortcuts.Item("MyShortcut") is equivalent to m_pFolder.ISWiShortcuts("MyShortcut").

Applies To

ISWiFolder