Re: [WiX-users] Trap which error causes rollback within CA

2008-01-30 Thread Jennifer Zhao
Here is my experience: It custom action is an Installer class, any exception unhandled will trigger rollback. Define the try catch blocks and add a try catch block in the top level. If I think the exception is critical and rollback need to be triggered, then throw the exception from the installe

Re: [WiX-users] Trap which error causes rollback within CA

2008-01-29 Thread larsenal
Sebastian, Thanks for the response. I don't have a specific error that's causing a problem. I'm looking for a generic way to handle MSI install errors. The CA is meant to try to report problems with the install. So if the install fails and tries to rollback, the idea is to have a CA that will

Re: [WiX-users] Trap which error causes rollback within CA

2008-01-29 Thread Sebastian Brand
What's the log saying? msiexec.exe /i package.msi /lv*log.log (see http://support.microsoft.com/kb/227091 for more switches) Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Jan 29, 2008, at 2:38 , larsenal wrote: > > I'm a complete newbie when it comes to MS

[WiX-users] Trap which error causes rollback within CA

2008-01-28 Thread larsenal
I'm a complete newbie when it comes to MSI and WIX. If I have a CA that's running as part of a rollback, is there a way to determine the error which triggered the rollback? -- View this message in context: http://www.nabble.com/Trap-which-error-causes-rollback-within-CA-tp15150216p15150216.html