UninstallData.GetItemList

table UninstallData.GetItemList ( 

number ItemType )

Description

Returns a numerically indexed table of identifiers given an uninstall data type.

Parameters

ItemType

(number) The type of item whose list you want to get. Choose from:

CONSTANT

VALUE

DESCRIPTION

UNINDATA_MAIN

0

A main item such as: "DataFilePath" - The full path to the uninstall data file (*.dat). "CPRegKey" - The uninstall Registry key.  "EXELocation" - The full path to the uninstall executable. "AppShortcutFolderPath" - The path to the application's shortcut folder. "UninstallReverseOrder" - Whether or not the files will be uninstalled in reverse order.

UNINDATA_FILES

1

A file..

UNINDATA_SESSIONVARS

2

A session variable.

UNINDATA_SUPPORTFILES

3

A support file such as a primer file, image, plugin etc.

UNINDATA_SHORTCUTS

4

A shortcut (.lnk) file.

UNINDATA_FOLDERS

5

A folder.

UNINDATA_SCRIPTS

6

An extra script.

Returns

(table)  A numerically indexed table of identifiers given the item's type. The following Identifiers can be returned:

ITEM TYPE

IDENTIFIER

DESCRIPTION

UNINDATA_MAIN

Name

The main item names such as: "DataFilePath", "CPRegKey",  "EXELocation", "AppShortcutFolderPath" or "UninstallReverseOrder."

UNINDATA_FILES

Filename

The full path and filenames of the files.

UNINDATA_SESSIONVARS

Name

The session variable names.

UNINDATA_SUPPORTFILES

Filename

The full paths to the support files such as a primer files, images, plugins etc.

UNINDATA_SHORTCUTS

Filename

The full paths to the shortcut (.lnk) files.

UNINDATA_FOLDERS

FolderPath

The full paths to the folders.

UNINDATA_SCRIPTS

ID

The unique IDs for the scripts.

 

If an error occurs, nil is 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