DeleteProperty Method

InstallShield 2015 » Automation Interface

Project: This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module

Call the DeleteProperty method to delete a property from the Property table. The function returns 0 if successful.

Syntax

Public Function DeleteProperty(ByVal pProperty As ISWiProperty) As Long

Parameters

DeleteProperty Method Parameters

Parameter

Description

Property

Pass the name of the property you want to delete.

Example

Dim proj As IswiAuto22.ISWiProject

Set proj = New IswiAuto22.ISWiProject

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

Dim pProp As IswiAuto22.ISWiProperty

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

proj.DeleteProperty pProp

Applies To

ISWiProject