[WiX-users] Handling error from MSI in Custom BA

2015-05-13 Thread Johri, Mohit IN BLR STS
Hi All, I'm using a custom bootstrapper and I'd like to display a custom error message or log the error if one of my MSI fail. I tried using the BootstrapperApplication.Error event to handle the error, but in case of error from MSI this below piece of code is never called. private void

Re: [WiX-users] Warning condition in Standard BA

2015-05-13 Thread Phill Hogland
With great respect for Rob, and I agree that bal:Condition does not support a non-blocking warning today, however by adding a BAFunctions.dll to your StdWixBa bundle, you can implement c++ code to detect different conditions, and then use the information to log, display a string on a dialog, or

Re: [WiX-users] Handling error from MSI in Custom BA

2015-05-13 Thread Phill Hogland
An example of doing this is in the wix source at: src\Setup\WixBA\InstallationViewModel.cs The event is registered in the class constructor (along with some other event which are helpful): WixBA.Model.Bootstrapper.Error += this.ExecuteError; And then the ExecuteError handler has an example

Re: [WiX-users] Bootstrapper - Initializing phase very long

2015-05-13 Thread CALCEL Sebastien
Thnaks for your reply Phil. We'll try this. -Message d'origine- De : Phill Hogland [mailto:phogl...@rimage.com] Envoyé : mardi 12 mai 2015 19:00 À : wix-users@lists.sourceforge.net Objet : Re: [WiX-users] Bootstrapper - Initializing phase very long Based on other threads in this forum,

Re: [WiX-users] Bootstrapper - Initializing phase very long

2015-05-13 Thread CALCEL Sebastien
Nope, sorry we still have these 6 min of initialization. -Message d'origine- De : CALCEL Sebastien [mailto:sebastien.cal...@econocom-osiatis.com] Envoyé : mercredi 13 mai 2015 14:07 À : 'General discussion about the WiX toolset.' Objet : Re: [WiX-users] Bootstrapper - Initializing phase

Re: [WiX-users] Custom BA cancelling upgrade deletes both versions

2015-05-13 Thread Phill Hogland
From what I have read, this is related to where RemoveExistingProducts is scheduled (probably using MajorUpdate/@Schedule). This link provides details on when the old uninstallation will be rolledback. -- View this message in context:

[WiX-users] Getting ProductVersion of an msi from wix

2015-05-13 Thread rnagpal
Hello All, I'm trying to detect where a particular msi is installed or not and based on that I want to block on my burn setup bundle. I tried looking for a registry entry installed by that msi and doing a util:RegistrySearch but I need one more piece of information on what version of that msi is

Re: [WiX-users] Getting ProductVersion of an msi from wix

2015-05-13 Thread Rajesh Nagpal
I also tried using util:FileSearch giving it the path of one of the files this msi installs but turns out that the Path attribute doesn't takes an absolute path(complains of ':' in the Path). My source code for building this setup bundle lies in a different drive than the drive where this file

Re: [WiX-users] Handling error from MSI in Custom BA

2015-05-13 Thread Johri, Mohit IN BLR STS
Hi Phill, The event has already been wired up in the Class constructor. I just missed to copy the code in the email. But my problem is even after registering the event in the constructor it doesn't work. Thanks Regards, Mohit -Original Message- From: Phill Hogland

[WiX-users] Wix installer with modern ui look

2015-05-13 Thread Gareth Price
Hi All My question is simple, how can I give my wix installer a modern ui look and feel? Im using wix edit to build my dialogs, is there a plug in or extension I can install to provide this ability ? Thanks! -- One

Re: [WiX-users] Wix installer with modern ui look

2015-05-13 Thread Rob Mensching
Make a bundle: http://robmensching.com/blog/posts/2012/6/25/b-is-for-bundle-and-thats-good-enough-for-me/ _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Gareth Price