InstallShield 2016 » InstallScript Language Reference
The DeleteShortcut function supersedes the DeleteFolderIcon function.
The DeleteFolderIcon function removes a shortcut from a folder.
Note • DeleteFolderIcon cannot be used for Internet shortcuts.
Syntax
DeleteFolderIcon ( szProgramFolder, szItemName );
Parameters
Parameter |
Description |
szProgramFolder |
Specifies the name of the folder that contains the shortcut to remove. |
szItemName |
Specifies the name of the shortcut to delete. |
Return Values
Return Value |
Description |
0 |
Indicates that the function successfully deleted the specified shortcut. You can obtain the error message text associated with a large negative return value—for example, -2147024891 (0x80070005)—by calling FormatMessage. |
< 0 |
Indicates that the function was unable to delete the shortcut. |
See Also
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |