a.guelle
Posts: 97
Joined: Tue May 19, 2015 2:23 pm

Retry on failed custom action

Hi,

some custom actions may fail because a ressource is not yet available (file handle open, service not properly shutdown, etc...). It would be great if the Installer would stop at that point but give the user the possibility to clear the problem manually before rolling back. A decison for "Rollback" or "Retry" would be great.

Is that already possible or would it be a new feature?

Best regards,

Angelo
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Retry on failed custom action

Hello Angelo,

I'm afraid that Windows Installer does not support this scenario, to stop the installation at some point and then can continue forward.

However, during the InstallValidate standard action the installer checks if any file that needs to be updated is in use and if so, it displays the "FilesInUse" dialog on XP and "MsiRMFilesInUse" dialog on Vista. This is managed automatically by Windows Installer.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”