![]()
|
InstallShield 2008 ยป Automation Interface
Project
The ISWiSequence collection is available for the following project types:
The ISWiSequence collection is a virtual collection that contains all of the actions of the current project, sorted by sequence number.
The VBScript example below displays a string with each action name and sequence number in the projects Installation User Interface sequence:
Dim pProject
Set pProject = CreateObject("IswiAuto14.ISWiProject")
pProject.OpenProject "C:\MySetups\YourProject.ism", True ' open read-only
Dim sNames
sNames = "The Installation UI sequence contains the following actions:" & vbNewLine & vbTab
For i = 1 to pProject.InstallUISequence.Count
sNames = sNames & pProject.InstallUISequence.Item(i).Name & " " & _
pProject.InstallExecuteSequence.Item(i).Sequence & vbNewLine & vbTab
Next
pProject.CloseProject
MsgBox sNames
| Name |
Type |
Description |
|---|---|---|
| Count |
Read-Only Property |
Use this property to return the total number of elements in the ISWiSequence collection. |
| Method |
Use this method to insert a custom action into the selected sequence. This method returns an ISWiSequenceRecord object. |
|
| Item |
Read-Only Property |
Provide the index number or name of an action in order to retrieve its ISWiSequenceRecord object. The name of the action is case sensitive. That is, ThisAction and thisAction are two different actions. Item is the default property for ISWiSequence, which means that pProject.InstallUISequence.Item("ThisAction") is equivalent to pProject.InstallUISequence("ThisAction"). |
| Method |
Use this method to remove an item from a sequence in the project. |
|
|
Copyright Information | Contact Macrovision |