SetupData.GetAppShortcutFolderPath

string SetupData.GetAppShortcutFolderPath ( 

 )

Description

Gets the folder that your application's shortcuts will currently be created in. This action is useful when creating shortcuts through actions since the location and name of the target shortcut folder can change during the install.

Note: The value returned by this action is based on the %AppShortcutFolderName% session variable, and will vary subject to the install type chosen (All Users/Current User).

Parameters

None.

Returns

(string) The folder path that your application's shortcuts will currently be created in.  If an error occurs, a blank string ("") will be returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions