DeleteShellProperty Method
InstallShield 2020
Project:This information applies to the following project types:
| • | Basic MSI | 
| • | DIM | 
| • | InstallScript MSI | 
| • | Merge Module | 
The DeleteShellProperty method deletes the specified Shell property from the current shortcut object.
For more information on setting Shell properties for a shortcut, see Setting Custom Shell Properties.
Syntax
DeleteShellProperty (pShellProp As ISWiShellProperty) As Long
Parameters
| Parameter | Description | 
| pShellProp | Pass the ISWiShellProperty object to specify a Shell property that you want to remove from a shortcut. | 
Example
The following sample VBScript snippet deletes all of the Shell properties from a shortcut:
Dim pShellProperty As ISWiShellProperty
For Each pShellProperty In pShortcut.ISWiShellProperties
pShortcut.DeleteShellProperty pShellProperty
Next
Applies To
| • | ISWiShortcut |