cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Azmaeus
Level 6

Continue uninstall on failed SQL connection

I have a SQL script that runs on uninstall that removes the databases created (using a separate tool in a Custom Action) during install. In the event the server connection fails, the uninstall fails and rolls-back. I'd like to be able to resume the uninstall and provide a message informing the user that the databases could not be removed and that they should remove it themselves.

Likewise, I'd like to be able to have the script also "Run Script During Rollback", so if the databases were created they will be removed, but if they weren't created the rollback will still complete.

Labels (1)
0 Kudos
(0) Replies