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
gets installed(in C:\Program Files), so cannot use relative path here. Am I
missing anything?

Regards,
Rajesh



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Getting-ProductVersion-of-an-msi-from-wix-tp7600320p7600322.html
Sent from the wix-users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 [mailto:phogl...@rimage.com] 
Sent: Wednesday, May 13, 2015 6:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Handling error from MSI in Custom BA

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 of displaying the message.  
There are other examples in the same file of logging a message.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Handling-error-from-MSI-in-Custom-BA-tp7600313p7600315.html
Sent from the wix-users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud Widest 
out-of-the-box monitoring support with 50+ applications Performance metrics, 
stats and reports that give you Actionable Insights Deep dive visibility with 
transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 installed. I couldn't get that info from the registry entries
laid by that msi but I see that there is a Property called "ProductVersion"
in the Property table of the msi. Is there any way in which I can access
that from wix?

I see that util:ProductSearch has a way to get the version based on the
UpgradeCode but that fix seems to be in wix 3.9 and I'm on wix 3.8:(. The
only way is to pass a Guid which is the ProductCode but in my case the
ProductCode of the msi is always changing with every new build of the msi.

Regards,
Rajesh



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Getting-ProductVersion-of-an-msi-from-wix-tp7600320.html
Sent from the wix-users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-BA-cancelling-upgrade-deletes-both-versions-tp7600318p7600319.html
Sent from the wix-users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 block
the setup, or change selections in the OnPlan handler.

I now use a mba and rarely create a WixStdBA with a BAFunctions.dll, so I am
out of practice on the details, but looking at some old code, when I started
working with wix almost two years ago, my bundle had some complex business
rules where I needed to change which operatings systems and which editions
of operatings systems I could support in the bundle depending on which
"features" the user selected.  Your general concept can be implemented using
a BAFunctions.dll.  There is a sample BAFunctions.dll in the wix source with
example code at:
src\burn\Samples\bafunctions

There are other threads in this forum which provide more details on creating
and using a BAFunctions.dll.  Eventually I decided, for other reasons, to
convert my projects to an mba, which provides a lot more flexibility than
using the BAFunctions.DLL.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Warning-condition-in-Standard-BA-tp7600309p7600317.html
Sent from the wix-users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 very long

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, (although I don't know that I could find 
them now) I have been using Chain/@DisableSystemRestore="yes".  If the issue is 
related to a particular machine, you might try this and see if you can avoid 
the problem.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-Initializing-phase-very-long-tp7600296p7600304.html
Sent from the wix-users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud Widest 
out-of-the-box monitoring support with 50+ applications Performance metrics, 
stats and reports that give you Actionable Insights Deep dive visibility with 
transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
One dashboard for servers and applications across Physical-Virtual-Cloud Widest 
out-of-the-box monitoring support with 50+ applications Performance metrics, 
stats and reports that give you Actionable Insights Deep dive visibility with 
transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 of displaying the message.  
There are other examples in the same file of logging a message.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Handling-error-from-MSI-in-Custom-BA-tp7600313p7600315.html
Sent from the wix-users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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, (although I don't know that I could find 
them now) I have been using Chain/@DisableSystemRestore="yes".  If the issue is 
related to a particular machine, you might try this and see if you can avoid 
the problem.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-Initializing-phase-very-long-tp7600296p7600304.html
Sent from the wix-users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud Widest 
out-of-the-box monitoring support with 50+ applications Performance metrics, 
stats and reports that give you Actionable Insights Deep dive visibility with 
transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 OnError(object sender, 
Microsoft.Tools.WindowsInstallerXml.Bootstrapper.ErrorEventArgs e)
 {
LogMessage("BootstrapperError :" + e.ErrorMessage + e.PackageId);
 }

Please let me how the error handling from the MSI can be made to work in the 
.net code.

Thanks & Regards,
Mohit



--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 [mailto:gar...@genpoint.co.za] 
Sent: Tuesday, May 12, 2015 11:51 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix installer with modern ui look

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 dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users