DeleteShortcut Method
InstallShield 2022 » Automation Interface
Project:This information applies to the following project types:
• | Basic MSI |
• | DIM |
• | InstallScript |
• | InstallScript MSI |
• | Merge Module |
Call DeleteShortcut to create a shortcut from the current folder.
Syntax
DeleteShortcut (pShortcut As ISWiShortcut) As Long
Parameters
Parameter |
Description |
pShortcut |
Pass the ISWiShortcut Object to specify a shortcut that you want to delete from a folder. |
Examples
Set pShortcut = pFolder.ISWiShortcuts(“MyShortcut”)
If Not pShortcut Is Nothing Then
pFolder.DeleteShortcut pShortcut
Next
Applies To
• | ISWiFolder |