[WiX-users] Testing C# Custom Actions

2015-05-28 Thread Griesshammer, Christoph (GE Healthcare)
I've looked high and low, and there's not much discussions about unit testing custom actions. Does anybody have a strategy for this? My initial thought was to refactor my code so that any Session references occur outside of the scope of what I'm testing, but that no longer works for some of

Re: [WiX-users] Testing C# Custom Actions

2015-05-28 Thread John Cooper
You can do some state testing of immediate custom actions using Lux. If you concentrate on having most of the logic in the immediate custom action, then unit testing of the deferred custom actions can proceed much like ordinary C++ or C# code. Lux mutation can be used to explore immediate

Re: [WiX-users] Testing C# Custom Actions

2015-05-28 Thread Phill Hogland
I agree with John's advice and this advice http://www.joyofsetup.com/2010/02/08/introducing-lux-declarative-unit-testing-for-custom-actions/ . I found it helpful to study the WixGamingExtension and other WixExtension implementations, when learning to create CAs using the pattern recommended

[WiX-users] Burn, deploy and rollback Patches

2015-05-28 Thread Robert Flury
Hello I need a to be able to roll back patches (to the previous patch) via burn. The applied patches show in 'Installed Updates', and patch 1.0.2 supersedes patch 1.0.1. This all works fines, but when I uninstall patch 1.0.2, patch 1.0.1 is still present on the system, but does not show in

Re: [WiX-users] Automatic upgrades/provisioning options...

2015-05-28 Thread Tony
Thanks for the suggestion. On Fri, May 22, 2015 at 10:28 AM, David Watson dwat...@sdl.com wrote: We use Trueupdate for delivering updates:- http://www.indigorose.com/products/trueupdate/ We chose it instead of rolling our own as it had solved all the hard things already (resuming

Re: [WiX-users] Automatic upgrades/provisioning options...

2015-05-28 Thread Tobias S
Also Advanced Installer (http://www.advancedinstaller.com/) comes with Auto Updater which can be used independently for WiX generated MSI and Burn packages and might be worth a try. See http://www.advancedinstaller.com/auto-updater.html for further details.