Registry Search as implemented by Windows Installer does not distinguish between an empty value and a non-existent value. You must search a key/name that has a value to determine "existence".
You can use WiX's RegistrySearch (in WixUtilsExtension) for what you need, but I believe you need to use 3.5 or 3.6 for that (I don't believe it is in 3.0). -----Original Message----- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Thursday, November 18, 2010 12:09 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] expected beheavour with registerySearch Hi: I have the following property: <Property Id="ISJAWSINSTALLED" Value ="JAWSNotInstalled"> <RegistrySearch Id="JAWSInstallRootSearch" Type="raw" Root="HKLM" Key="Software\Freedom Scientific\JAWS"/> </Property> Having checked the log, the property value does change. Is this the expected behaviour given that there is no default value in the registry, is there a way of forcing a change, perhaps specifically using a string value in the type. Any help appreciated. Cheers Sean. ---------------------------------------------------------------------------- -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users