Shell Functions

InstallShield 2014 » InstallScript Language Reference

Shell functions create program folders, delete existing program folders, and add items to existing program folders. At the end of the setup, add the application to the appropriate program folder to allow the user to access your software immediately. The following functions also support various icon options.

Shell Functions

Function

Description

AddFolderIcon

Adds a shortcut or program folder to locations such as the Start menu, the Programs menu, or the desktop.

CreateShortcut supersedes this function.

CreateProgramFolder

Creates a program folder.

CreateShortcutFolder supersedes this function.

CreateShortcut

Adds a shortcut or program folder to locations such as the Start menu, the Programs menu, or the desktop.

Optionally sets Windows Shell properties for the shortcut to configure behavior such as disabling the ability to pin the shortcut to the Start menu.

CreateShortcutFolder

Creates a program folder.

DeleteFolderIcon

Removes a shortcut from a folder.

DeleteShortcut supersedes this function.

DeleteProgramFolder

Removes a shortcut folder (that is, a subfolder of the Start menu's Programs folder) and its contents, including all shortcuts and all of the shortcut folder’s subfolders and their contents.

DeleteShortcutFolder supersedes this function.

DeleteShortcut

Removes a shortcut from a folder.

DeleteShortcutFolder

Removes a shortcut folder (that is, a subfolder of the Start menu's Programs folder) and its contents, including all shortcuts and all of the shortcut folder’s subfolders and their contents.

GetFolderNameList

Retrieves all subfolder names and shortcuts in the specified folder.

GetShortcutInfo

Returns information about a specified shortcut or subfolder.

ProgDefGroupType

Sets the value of the ALLUSERS system variable.

QueryProgItem

Returns information about a specified shortcut or subfolder.

GetShortcutInfo supersedes this function.

QueryShellMgr

Returns the name of the current shell manager.

ReplaceFolderIcon

Replaces a shortcut in a specified folder.

ReplaceShortcut supersedes this function.

ReplaceShortcut

Replaces a shortcut in a specified folder.

SelectFolder

Presents a dialog that enables end users to select a folder from a list of program folders.

SetShortcutProperty

Sets one or more shortcut properties that you want the Windows Shell to set at installation run time.

ShowProgramFolder

Displays the specified program folder.