If you need to see if the user can read a PDF file, rather than detect the
Acrobat reader application specifically, why not test for the file
association so that *any* PDF reader will satisfy the check (I much prefer an
alternative PDF reader myself).
The keys to test for would be HKLM\Software\Classes\.pdf and
HKCU\Software\Classes\.pdf
Your condition would be something like: Installed or <first value exists> or
<second value exists>

-----Original Message-----
From: kim [mailto:contactme...@gmail.com] 
Sent: 30 March 2011 15:51
To: wix-users@lists.sourceforge.net
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-check-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
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.


------------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to