Hi,
I've been playing around with the exception handling in .NET custom action's running under Vista.
On XP/2003, throwing an exception in a .NET custom action results in both an error dialog and an entry in the event viewer detailing what the error was.
On Vista, this gets replaced with the unfriendly 2869 error.
Given that we have to throw an exception to induce a rollback, is there anyway of showing the error short of catching all exceptions, displaying a message box and finally rethrowing?
I only ask, because on XP this will result in the same dialog twice, and on Vista you will still see the 2869 error.
Thanks for any suggestions,
Ben
FOLLOW US
Get the latest news in Application Packaging