DeleteProperty Method (Advanced UI and Suite/Advanced UI)

InstallShield 2019 » Automation Interface » Advanced UI and Suite/Advanced UI

Project • This information applies to the following project types:

Advanced UI
Suite/Advanced UI

Edition • The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.

The DeleteProperty method removes an Advanced UI or Suite/Advanced UI property with a specified name from the project.

Syntax

DeleteProperty(ByVal pProperty As ISWiProperty) As Long

Parameters

DeleteProperty Method Parameters

Parameter

Description

Property

Pass the ISWiProperty object that you want to remove.

Example

The following Visual Basic lines demonstrate this method:

Dim proj As ISWiAutoSuiteAutomation Interface Version.ISWiProject

Set proj = New ISWiAutoSuiteAutomation Interface Version.ISWiProject

proj.OpenProject "c:\mysetups\your project name-3.issuite"

Dim pProp As ISWiAutoSuiteAutomation Interface Version.ISWiProperty

Set pProp = proj.ISWiProperties.Item("MyProperty")

proj.DeleteProperty pProp

Applies To

ISWiProject