Hello AI support team,
I have a few questions regarding folder removal during uninstall and prompting the user to confirm the folder removal.
I used the Uninstall Cleanup Wizard to create a Folder Removal component. This component deletes a subfolder beneath APPDATA. I also configured the component to "ask the user whether he wants to perform cleanup", for both a full UI uninstall and a basic UI uninstall.
This functionality is working fine, but I have some questions:
(1)
When uninstalling from Windows Add/Remove Programs, the "basic UI uninstall" is triggered. The user is presented with a dialog which asks whether the folder should be deleted (exact wording comes from .ail dictionary). The user must then click "Yes" or "No". Can those button labels / text be customized? Rather than "Yes|No", I would like the buttons to say "Delete|Do not delete".
Using an AI enterprise project, I looked on the "Dialogs" page but could not find the corresponding dialog to edit. I also looked in my .aip file, but all I could find was "AI_PromptUserBasicUI".
(2)
It seems that the Folder Removal component cannot traverse a folder-structure and search for names of subfolders. For example, a company MyFauxCo may create two products, MyFauxApp1 and MyFauxApp2. Let's assume both products are installed on the same machine, and both write data to their own subfolder at:
- APPDATA\MyFauxCo\MyFauxApp1
- APPDATA\MyFauxCo\MyFauxApp2
I would like to create a Folder Removal component for each product, such that each product removes only its own APPDATA folder on uninstall. However, it seems the Folder Removal component can only delete folders immediately beneath APPDATA, such as MyFauxCo. I would like each Folder Removal component to go one level deeper, and delete APPDATA\MyFauxCo\MyFauxApp*
(3)
When uninstalling via the MSI package (not using Windows Add/Remove Programs), the "full UI uninstall" is triggered. On the VerifyRemoveDlg, the option to delete the APPDATA folder is presented as a checkbox (Control="UnistallCleanupCheckBox").
- Is VerifyRemoveDlg configurable from the Advanced Installer GUI, or can I only edit it directly in the .aip file? Using an enterprise project, I tried to find VerifyRemoveDlg on the Dialogs page but had no luck.
- The text that appears beside "UnistallCleanupCheckBox" does not appear anywhere in the .ail dictionaries. I found it directly in my .aip project file, but it would be nice if that were stored in the dictionary instead.
Thanks for any help, feedback, comments you can provide.
-Todd
FOLLOW US
Get the latest news in Application Packaging