joefio
Posts: 23
Joined: Thu Apr 20, 2023 2:14 pm

Application Folder will not delete on uninstall

Tue May 30, 2023 2:01 pm

Hi

I am having an issue deleting my application folder when I do an uninstall.

These are my settings:
Remove Folder.PNG
Remove Folder.PNG (30.38KiB)Viewed 5231 times
Advset32.exe lives inside the application folder. I can confirm Advset32.exe is getting deleted but the application folder remains. I tried the uninstall cleanup wizard which used the same settings but added a condition: (AI_CLEAN_RESOURCES_UNINSTALL = "1") AND (NOT UPGRADINGPRODUCTCODE). However, I still get the same behavior as before.

Any ideas why my application folder will not delete?

There are also several files inside of the Application Folder that remain after the uninstall. I changed the overwrite settings on these files so I wonder if that has something to do with it.

Thanks
Joe F

joefio
Posts: 23
Joined: Thu Apr 20, 2023 2:14 pm

Re: Application Folder will not delete on uninstall

Tue May 30, 2023 9:45 pm

I figured it out the issue was the files inside the application folder were not being deleted because of a certain condition. Once I fixed the conditions for the overwrite on the files the issue was resolved.

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Application Folder will not delete on uninstall

Wed May 31, 2023 7:32 am

Hello Joe,

Thank you for your follow-up on this.

It's great to hear that everything is now working as expected.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”