ISWiObject Object
Project:This information applies to the following project types:
• | InstallScript |
• | InstallScript Object |
The ISWiObject object represents an InstallScript object belonging to your project. The InstallScript object can be an existing one from the InstallShield user interface's Objects view or one added by calling AddObject.
Use the project’s ISWiObjects collection to access a specific InstallScript object. You must specify either an index number or the moniker for the Item property of ISWiObjects. The moniker is visible in the IDE only as the Moniker in the Direct Editor view’s ISFeatureExtended table.
Members
None.
Example
The following Visual Basic code illustrates the use of the ISWiObject:
Dim pProj As ISWiProject
Set pProj = CreateObject("IswiAutoAutomation Interface Version.ISWiProject")
pProj.OpenProject "C:\MySetups\Project1.ism"
Dim pFeature As ISWiFeature
Dim pObject As ISWiObject
Set pFeature = pProj.ISWiFeatures.Item(2)
Set pObject = pFeature.ISWiObjects.Item("@ismk2:755142B0-1EB4-11D3-8B09-00105A9846E9")
pFeature.RemoveObject pObject
pProj.SaveProject
pProj.CloseProject
Applies To
• | ISWiFeature |