Yep, what you're seeing is known. The Windows Installer will convert Property values to numbers for you when doing comparisons... but only if the data provide is all digits. The # in front of DWORDs from RegSearch is maddening for this reason. Bob has a design laying around somewhere for completely replacing AppSearch with a data driven CustomAction that is more powerful and more useful but that's not in development anywhere.
So, you need to do something to tweak the DWORD into a number (sadly, I think that means CustomAction). -----Original Message----- From: Simon Topley [mailto:simon.top...@wallingfordsoftware.com] Sent: Tuesday, January 20, 2009 08:27 To: wix-users@lists.sourceforge.net Subject: [WiX-users] condition on a feature, greater than or equal to Hello all, its' been a very long time since I checked in here. I've joyfully had an issue with our installers of late that should be simple to solve... only I can't solve it. The situation is this, our clients install many versions of our software new and old and run them concurrently. We also ship third party drivers for our dongles, so users have to have a valid license to use our software. Now the most recent update of this third party install has raised a weird issue that we haven't seen before. When someone installs an older version of our software alongside the newest version the older driver mangles the newer one as I assume it is still attempting to install it. I get the version number for this third party software from the registry using a property, as raw - its' a DWORD in the registry. Now I'm hoping I can just done some simple comparison like this (on the feature) <Condition Level="0">DRIVERVERSION >= "7"</Condition> Sadly this doesn't work as the version number has a hash in it as I got it as raw, and I think it maybe comparing it as a string anyway. I'm not sure I can even use a greater than or equal too in a condition like this anyway. I'm dying here please help! The information contained in this e-mail is likely to be confidential and may be legally privileged. It is intended only for the addressee. If you have received this message in error please notify the sender immediately at the above address. The disclosure, copying or distribution of this message or its contents without the prior approval of Wallingford Software is strictly prohibited. Wallingford Software is not liable for unauthorised disclosures nor for subsequent actions or omissions in reliance upon them. Registered in the UK, company no: 02288719 Wallingford Software Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users