Re: [WiX-users] Failure Injection for Upgrade/Rollback Testing

2011-05-17 Thread Peter Shirtcliffe
This may be useful too http://wix.sourceforge.net/manual-wix3/wixfailwhendeferred.htm -Original Message- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: 17 May 2011 00:44 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Failure Injection for

Re: [WiX-users] Failure Injection for Upgrade/Rollback Testing

2011-05-16 Thread Bob Arnson
On 16-May-11 18:22, Castro, Edwin G. (Hillsboro) wrote: > What would be an easy way to simulate (or cause) a failure during a major > upgrade to demonstrate the results of a rollback? See WixFailWhenDeferred in WixUtilExtension. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Failure Injection for Upgrade/Rollback Testing

2011-05-16 Thread Wilson, Phil
A dumb little vbscript that does a divide by zero works for me - I change the condition directly in the MSI file to 1 when I want to test the failure. Phil Wilson -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Monday, May 16, 2011 3:23 PM