Ignore failure on File Removal - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

alco
Posts: 80
Joined: Thu Nov 18, 2010 5:02 pm

Ignore failure on File Removal

Is it possible to ignore the failure on File Removal?

v8.0.2 build 31861

On uninstall, I have this File Removal that deletes everything in the application folder:

Name: *
Component: SHORTCUTDIR
Remove On: Component uninstall
Condition: (AI_CLEAN_RESOURCES_UNINSTALL = "1") AND (NOT UPGRADINGPRODUCTCODE)
Remove empty folders: checked

If the user happens to be anywhere inside the application folder (in Windows Explorer), then the file removal may fail the first time and prompt a failure dialog w/ Retry button. The file removal usually works on retry, but is there any way to ignore the failure entirely? Note when file removal fails while the user is anywhere inside the application folder, the user is automatically moved up one folder in Windows Explorer but the failure prompt still pops.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Ignore failure on File Removal

Hello,

I'm afraid I don't fully understand your behavior. Can you please give us more details about this (maybe exemplify)? Also, can you attach a sample which reproduces the behavior so we can take a look on it?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”