Hi Phil,
I already mentioned this scenario and it doesn't work.
If I throw InstallException I receive two exceptions:
- first, my exception saying that service could not be started
- second, exception from setup project saying there has been exception with install service BUT the uninstall will continue, and that my savedState is not in correct state.
An exception occured while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
After this uninstall rolls back although it said it would ignore the exception and continue BUT now installation is left corrupted on roll back. I can no longer uninstall my application and when I try to uninstall I receive following message:
An exception occured while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete. --> Cannot delete Performance Category because this category is not registered or is a system category.
If it is rolled back why am I not left with original saved state. Is there something I am missing?