I think this is happening because your Silverlight check has a version
number in the registry Data and the URLProtocol has no value in the
registry Data for that string. I think you might need to check a setting
that would actually have a value. As soon as I put a value of "Test" in
the URLProtocol then the check started working fine.
I also had luck with this code, but you'd probably need a separate
RegistrySearch for each version using this approach.
<Property Id="ACROBATREADER">
<RegistrySearch Id="AcrobatReaderChk" Root="HKLM"
Key="SOFTWARE\Adobe\Acrobat Reader\9.0\Installer" Type="directory"
Name="Path"/>
</Property>
<Condition Message="Error: This application requires Acrobat Reader to
be installed">ACROBATREADER</Condition>
-----Original Message-----
From: kim [mailto:[email protected]]
Sent: Wednesday, March 30, 2011 7:51 AM
To: [email protected]
Subject: [WiX-users] Registry check for Acrobat reader
I need to check if any version of acrobat reader is installed on target
machine. IF not installed display error message and stop installation.
Wix code:
ACROBATREADER = "notfound"
My problem is,above message always gets displayed whether or not acrobat
reader is installed or not. It does not check the condition
ACROBATREADER =
"notfound".
I also tried folloiwng way but still the same result
ACROBATREADER
Any suggestions please? Thanks
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registry-c
heck-for-Acrobat-reader-tp6223495p6223495.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------
------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users