I dont think there are product codes for these DLLs but I will look into
it. Thanks for the suggestion.


<-----Original Message-----> 
>From: Wilson, Phil [[email protected]]
>Sent: 5/21/2009 2:01:37 PM
>To: [email protected]
>Subject: Re: [WiX-users] Checking registered dlls
>
>This kind of thing is usually done at a higher level than this. For
example
>people don't check for VC 9.0 Dlls or individual .NET assemblies they
look for a
>product code or a registry key that tells them that the containing
package has
>been installed (such as the VC Redist, Office PIAs. .NET Frameworks
etc). Is
>there no containing package for these Dlls that has a ProductCode, or
installs a
>registry key or something? 
>
>Phil Wilson 
>
>-----Original Message-----
>From: Jono Juggler [mailto:[email protected]] 
>Sent: Wednesday, May 20, 2009 1:37 PM
>To: [email protected]
>Subject: Re: [WiX-users] Checking registered dlls
>
>Thanks for your reply. I have no intent of replacing anything. The dlls
>I am checking for are not ones I made. These are third party libraries
>the user needs to install outside of my program. And I am not
>facilitating their install.
>
>All I want to do is check the version numbers of the libraries that are
>already installed. The problem is I dont know where the libraries are
>installed to in the filesystem.
>
>
>
><-----Original Message-----> 
>>From: Wilson, Phil [[email protected]]
>>Sent: 5/18/2009 4:40:55 PM
>>To: [email protected]
>>Subject: Re: [WiX-users] Checking registered dlls
>>
>>This isn't a common problem because everyone just lets the file
>versioning rules
>>take care of everything. If you have version 1.45 then you won't
>replace 1.49,
>>and if you have 1.55 you will replace it - that's the built-in
>versioning rule
>>of Windows. Do you have other versions of these files that you're
>installing?
>>What's the problem you're trying to solve that leads to you this
>solution? 
>>
>>Phil Wilson 
>>
>>-----Original Message-----
>>From: Jono Juggler [mailto:[email protected]] 
>>Sent: Friday, May 15, 2009 10:12 AM
>>To: [email protected]
>>Subject: [WiX-users] Checking registered dlls
>>
>>Hello All,
>>
>>I am looking for a way to test if certain libraries with certain
>>versions have been installed. I want to check against registered dlls,
>>and not do this through the file system. But this is the only way I
>have
>>found to get this to work. In this example I am making sure they have
>>Prior version 1.50 installed:
>>
>><Property Id="PRIORGUID">
>><RegistrySearch Id="priorguid" Root="HKCR" Key="Prior.Encoders\CLSID"
>>Type="raw"/>
>></Property>
>>
>><Property Id="PRIORLOCATION">
>><RegistrySearch Id="priorlocation" Root="HKCR"
>>Key="CLSID\[PRIORGUID]\InprocServer32" Type="file"/>
>></Property>
>>
>><Property Id="PRIORVERCHECK">
>><DirectorySearch Id="priorversion" Path="[PRIORLOCATION]">
>><FileSearch Name="Prior.dll" MinVersion="1.49"/>
>></DirectorySearch>
>></Property>
>>
>><Condition Message="This application requires Prior.">
>><![CDATA[Installed OR PRIORVERCHECK]]>
>></Condition>
>>
>>
>>I basically find the library in the registry which points me to the
>file
>>and then I look up the version in the file system. I am uneasy with
>this
>>method. When I use Type="file", it seems to return a directory where
>the
>>file is instead of returning the full path to the file itself. Does it
>>always work this way? Also this means I have to know the base file
>name.
>>If there was a way to split the full path into a name and directory
>then
>>I could do the FileSearch without knowing the basename?
>>
>>Is my method reliable? Is there a better way to do this? It seems like
>>this would be a common problem. I am using WiX 3.
>>
>>Thanks.
>>
>>
>>
>><span id=m2wTl><p><font face="Arial, Helvetica, sans-serif"
>>size="2"
>>style="font-size:13.5px">_____________________________________________
_
>_________________<BR>Get
>>the Free email that has everyone talking at <a
>href=http://www.mail2world.com
>>target=new>http://www.mail2world.com</a><br> <font
>>color=#999999>Unlimited Email Storage - POP3 - Calendar - SMS
>>- Translator - Much More!</font></font></span>
>>----------------------------------------------------------------------
-
>-------
>>Crystal Reports - New Free Runtime and 30 Day Trial
>>Check out the new simplified licensing option that enables 
>>unlimited royalty-free distribution of the report engine 
>>for externally facing server and web deployment. 
>>http://p.sf.net/sfu/businessobjects
>>_______________________________________________
>>WiX-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
>>----------------------------------------------------------------------
-
>-------
>>Crystal Reports - New Free Runtime and 30 Day Trial
>>Check out the new simplified licensing option that enables 
>>unlimited royalty-free distribution of the report engine 
>>for externally facing server and web deployment. 
>>http://p.sf.net/sfu/businessobjects
>>_______________________________________________
>>WiX-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/wix-users
>>.
>> 
>
>
><span id=m2wTl><p><font face="Arial, Helvetica, sans-serif"
>size="2"
>style="font-size:13.5px">______________________________________________
_________________<BR>Get
>the Free email that has everyone talking at <a
href=http://www.mail2world.com
>target=new>http://www.mail2world.com</a><br> <font
>color=#999999>Unlimited Email Storage - POP3 - Calendar - SMS
>- Translator - Much More!</font></font></span>
>-----------------------------------------------------------------------
-------
>Crystal Reports - New Free Runtime and 30 Day Trial
>Check out the new simplified licensing option that enables 
>unlimited royalty-free distribution of the report engine 
>for externally facing server and web deployment. 
>http://p.sf.net/sfu/businessobjects
>_______________________________________________
>WiX-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>-----------------------------------------------------------------------
-------
>Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
>is a gathering of tech-side developers & brand creativity
professionals. Meet
>the minds behind Google Creative Lab, Visual Complexity, Processing, & 
>iPhoneDevCamp asthey present alongside digital heavyweights like
Barbarian
>Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
>_______________________________________________
>WiX-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/wix-users
>.
> 


<span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" 
style="font-size:13.5px">_______________________________________________________________<BR>Get
 the Free email that has everyone talking at <a href=http://www.mail2world.com 
target=new>http://www.mail2world.com</a><br>  <font color=#999999>Unlimited 
Email Storage &#150; POP3 &#150; Calendar &#150; SMS &#150; Translator &#150; 
Much More!</font></font></span>
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to