Not sure but have you tried it in the same format as Package/@InstallerVersion: http://wix.sourceforge.net/manual-wix3/wix_xsd_package.htm
So for 3.1, use 301. Etc... Don't know about your second question. -----Original Message----- From: David Watson [mailto:dwat...@sdl.com] Sent: 24 March 2011 18:06 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] version comparisons in burn Hi, I am playing with burn again and I am trying to make a windows installer 3.1 package. I am using a util:FileSearch on the msi.dll to see what version is installed but I am struggling to work out what to put in my @DetectCondition. If I try DetectCondition="MSIVersion > 3.1" Burn fails as the . is unexpected. Is there some clever version comparison that I can do or even some built in MSI version that can use? Also is it possible to make a wixlib with packages in, I've not looked into it our tried, It just occured to me it would be neat to have pre-built prerequisite wixlibs. Cheers Dave W Code if you are bothered... <Fragment Id="MSI31"> <util:FileSearch Path="[WindowsFolder]\System32\msi.dll" Result="version" Variable="MSIVersion"/> <PackageGroup Id="MSI31"> <ExePackage Id="MSI31" Cache="no" Compressed="yes" PerMachine="yes" Permanent="yes" Vital="yes" SourceFile="WindowsInstaller-KB893803-v2-x86.exe" DetectCondition="MSIVersion > 3" /> </PackageGroup> </Fragment> SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------ ------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users