Re: [WiX-users] Burn conditions
I tried setting a condition: /Bundle Name=My Software Condition=VersionNT = 500 .../ But it always evaluates as false. /Condition 'VersionNT = 500' evaluates to false. Bundle global condition check didn't succeed - aborting without loading application./ A Windows 7 machine should have a VersionNT property greater than 500. In fact, even setting Condition=true evaluates to false. /Condition 'true' evaluates to false. Bundle global condition check didn't succeed - aborting without loading application./ Is there a special syntax to use here? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-conditions-tp7580784p7580872.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn conditions
Just like Rob stated, use: Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:bal=http://schemas.microsoft.com/wix/BalExtension; Bundle ... bal:Condition Message=Your error message about the OS goes here.VersionNT = v5.0/bal:Condition /Bundle And ensure your project has a reference to WixBalExtension.dll. The underlying problem is you missed the documentation on the Bundle/@Condition The condition of the bundle. If the condition is not met, the bundle will refuse to run. Conditions are checked before the bootstrapper application is loaded (before detect), and thus can only reference built-in variables such as variables which indicate the version of the OS. And the documentation on the Burn built in variables: VersionNT - version value representing the OS version. The result is a version variable (v#.#.#.#) which differs from the MSI Property 'VersionNT' which is an integer. For example, to use this variable in a Bundle condition try: VersionNT v6.1 -Original Message- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: Wednesday, September 26, 2012 9:51 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Burn conditions I tried setting a condition: /Bundle Name=My Software Condition=VersionNT = 500 .../ But it always evaluates as false. /Condition 'VersionNT = 500' evaluates to false. Bundle global condition check didn't succeed - aborting without loading application./ A Windows 7 machine should have a VersionNT property greater than 500. In fact, even setting Condition=true evaluates to false. /Condition 'true' evaluates to false. Bundle global condition check didn't succeed - aborting without loading application./ Is there a special syntax to use here? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-conditions-tp7580784p7580872.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn conditions
Based on Neil Sleightholm's blog, http://neilsleightholm.blogspot.com/2012/05/wix-burn-tipstricks.html, it seems that the VersionNT is a value like v6.1. Strange that it's not the same format as the Windows Installer property, but now the condition evaluates as expected. /Condition=VersionNT = v6.1/ -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-conditions-tp7580784p7580874.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn conditions
Thanks Jacob. Looks like I did gloss over that part in the documentation. Interesting that the VersionNT value was changed though. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-conditions-tp7580784p7580875.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn conditions
Burn has native support for versions. It works immensely better than the MSI string based versions. That's why we chose to use it. It works so much better. The doc explicitly calls out the differences. On Wed, Sep 26, 2012 at 8:24 PM, Nick Ramirez nickra...@hotmail.com wrote: Thanks Jacob. Looks like I did gloss over that part in the documentation. Interesting that the VersionNT value was changed though. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-conditions-tp7580784p7580875.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Burn conditions
I noticed that there's Bundle/@Condition and there's also bal:Condition Message=some message /bal:Condition Is the element Condition preferred over the attribute since it can have a descriptive message? Also, are the only properties we can use here the ones that are available at this early stage in the install? Listed at: http://wix.sourceforge.net/manual-wix3/bundle_built_in_variables.htm -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-conditions-tp7580784.html Sent from the wix-users mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn conditions
The Bundle/@Condition is intended to be used when the Bundle cannot run at all. You'll get the This operating system is not supported error message or something similar. The BA really should put up it's own message. wixstdba supports the bal:Condition. On Mon, Sep 24, 2012 at 11:21 AM, Nick Ramirez nickra...@hotmail.comwrote: I noticed that there's Bundle/@Condition and there's also bal:Condition Message=some message /bal:Condition Is the element Condition preferred over the attribute since it can have a descriptive message? Also, are the only properties we can use here the ones that are available at this early stage in the install? Listed at: http://wix.sourceforge.net/manual-wix3/bundle_built_in_variables.htm -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-conditions-tp7580784.html Sent from the wix-users mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users