AI_New_User
Posts: 25
Joined: Thu Aug 26, 2021 4:57 pm

Which condition to use when delete folder on uninstall?

Mon Dec 20, 2021 4:24 pm

If I check uninstall, do I also need to type in the condition too?
ai_remove2.PNG
ai_remove2.PNG (5.31KiB)Viewed 2365 times
The right way or redundant? If the latter, then when do I need to type in a condition?

What I'm trying to accomplish is just deleting 2 custom folders on uninstall (not upgrade).

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Which condition to use when delete folder on uninstall?

Tue Dec 21, 2021 12:28 pm

Hello,

If you want to remove the folder on uninstall, it is enough to schedule the custom action to only execute during "Uninstall" through the option.

There is no need to also input the "REMOVE=ALL" condition.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”