Adding Uninstall Categories and Actions to the Uninstall Sequence
InstallAnywhere 2024 R2
To customize uninstall behavior, you can add actions to the Uninstall sequence, and group the actions into uninstall categories.
To add an uninstall category or action to the Uninstall sequence:
|
1.
|
In the Advanced Designer, on the Sequence page, click Uninstall. The Uninstall view opens. |
Note:By default, all of the Uninstall actions are listed in the Visual Tree of the Uninstall view. If you delete one of these Uninstall actions and want to re-add it later, you can do so.
|
2.
|
To add an uninstall category, do the following: |
|
a.
|
Click the Add Action button. The Choose an Action dialog box opens. |
|
b.
|
On the Uninstall tab, select Uninstall Category and click Add. InstallAnywhere adds a new uninstall category to the Visual Tree and displays its settings at the bottom of the view. |
|
c.
|
On the Properties tab, in the Category Name box, enter a name for the new category. |
|
d.
|
With the new uninstall category selected, use the arrow keys to move the category up or down in the Visual Tree. |
To add an action, do the following:
|
a.
|
Select the uninstall category to which you want to add an action. |
|
a.
|
Click the Add Action button. The Choose an Action dialog box opens. |
|
b.
|
Select the action that you want to add, and then click Add. InstallAnywhere adds the new action to the Visual Tree and displays its settings at the bottom of the view. |
Tip:If you added a General, Plug-In, or Console action to the Uninstall sequence, you can assign it to a product feature or component by selecting the appropriate check boxes. To learn more, see Assigning Actions in the Uninstall Sequence to Product Features and Components.
Special Considerations for Adding Uninstall Categories and Actions to the Uninstall Sequence
Note the following guidelines about adding uninstall categories and actions:
|
•
|
Only Uninstall actions, General actions, and Panel actions can be added to uninstall categories because they are not bound to magic folders, and they do not change the product registry. To show messages to the end user during a console installation, one Console action—Show Message Console ‘Dialog’— is also available. |
|
•
|
Each of the uninstall categories and Uninstall actions can be added to the Visual Tree in the Uninstall view only once. If they are added more than one time, the second instance is ignored. |
|
•
|
You can assign rules to uninstall categories and to actions in those categories to prevent them from being executed or uninstalled. |
|
•
|
Although you can assign General, Plug-In, and Console actions in the Uninstall view to components or features, it is not possible to assign uninstall categories or Uninstall actions to components or features. This is because uninstall categories and Execute Uninstall actions are special actions that are not feature or component specific; they are shared across all components and features. |
See Also
Uninstall Actions
General Actions
Panel Actions
Console Actions
Plug-In Actions