OverviewExamples
UninstallData.RemoveItem ( |
Removes an item from the uninstall's configuration file.
Note: This action is only supported during the install, and will not work in the uninstall.
(number) The type of item that you want to remove. The type of item determines what the Identifier is. 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 to be uninstalled. |
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 to be uninstalled. |
UNINDATA_SCRIPTS |
6 |
An extra script to run during the uninstall. |
(string) The Identifier of the type you want to remove. Below you will find the key identifiers to use:
CONSTANT |
IDENTIFIER |
DESCRIPTION |
UNINDATA_MAIN |
Name |
The main item name 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 |
Filename |
The full path and filename of the file. |
UNINDATA_SESSIONVARS |
Name |
The session variable name. |
UNINDATA_SUPPORTFILES |
Filename |
The full path to the support file such as a primer file, image, plugin etc. |
UNINDATA_SHORTCUTS |
Filename |
The full path to the shortcut (.lnk) file. |
UNINDATA_FOLDERS |
FolderPath |
The full path to the folder. |
UNINDATA_SCRIPTS |
ID |
The unique ID for the script. |
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions