Is it possible to invoke a rollback myself? I have a custom action exe (writting in vb.net) that I run that performs database maintenance (ie adding tables, columns, etc) on a database installed on the user's computer. This custom action will be used primarily during Uninstall/Reinstall operations. If this custom action fails I want the install to stop and throw an error, then rollback any work that was done. I've tried putting the custom action in the Uninstall, Install, and Remove Files sequences, but it never seems to work as designed when I the custom action fails. I also have a rollback custom action that I want to run to UNDO any database maintenance actions that occurred. I've tried setting Environment.ExitCode = 1603 in my exe, but AI seems to ignore it. I DO have "Synchronous executing, check return code" set on the custom action. Any help you could give me on this problem would be greatly appreciated. I'm almost completed with the installer project but I've got this one piece left. I'm out of ideas.
Thanks,
Scott