DeleteProperty Method
InstallShield 2024 » Automation Interface
Project:
| • | 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
|
Parameter |
Description |
|
Property |
Pass the name of the property you want to delete. |
Example
Dim proj As IswiAutoAutomation Interface Version.ISWiProject
Set proj = New IswiAutoAutomation Interface Version.ISWiProject
proj.OpenProject "c:\mysetups\your project name-3.ism"
Dim pProp As IswiAutoAutomation Interface Version.ISWiProperty
Set pProp = proj.ISWiProperties.Item("MyProperty")
proj.DeleteProperty pProp
Applies To
| • | ISWiProject |