Alex,
   Thank you!  I see that FileSearch has a similar functionality to what I need.

--
Dustin Johnson
CACE Technologies
Tel: 530-758-2790 x109
Fax: 530-758-2781
www.cacetech.com


Alexander Shevchuk wrote:

Hi Dustin,

 

In case you need to check if third party software is installed on the target system, use:

AppSearch (http://msdn2.microsoft.com/en-us/library/aa367578(VS.85).aspx) and

LaunchConditions (http://msdn2.microsoft.com/en-us/library/aa369751(VS.85).aspx) actions.

 

In WiX the equivalents are <Condition>, <AppSearch>, <DirectorySearch>, <FileSearch>, <ComponentSearch>, and <RegistrySearch> elements.

Generally, you set the property value depending on the result of the <…Search> and then check the property value in the <Condition>.

You  want to schedule <AppSearch> action before <LaunchConditions> if you want to cancel an installation in case required third party software is not installed.

 

Alex

 

 

 

From: Dustin Johnson [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2008 10:02 AM
To: Alexander Shevchuk
Subject: Re: [WiX-users] Checking for executable version number

 

Alex,
    Thank you for your response!  I am familiar with these methods (though I have yet to try them).  Am I wrong in thinking that this only applies to files that I control and are in my installer?  My quandary here is that I depend quite a lot on outside applications being present and at least a certain version.  These applications are not mine, nor have they been installed through a previous msi.  The files are simply there and I need to check their version.  Is this possible?


--
Dustin Johnson
CACE Technologies
Tel: 530-758-2790 x109
Fax: 530-758-2781
www.cacetech.com



Alexander Shevchuk wrote:

Hi Dustin,

 

MSI will do it for you.  Read about Patching and Upgrades:

http://msdn2.microsoft.com/en-us/library/aa370579(VS.85).aspx

and read tutorial on this topic:

http://www.tramontana.co.hu/wix/lesson4.php

File versioning rules:

http://msdn2.microsoft.com/en-us/library/aa368599(VS.85).aspx

 

Regards,

Alex

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dustin Johnson
Sent: Friday, February 01, 2008 9:48 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Checking for executable version number

 

Hi all, I'm pretty new to Wix and microsoft installer in general.  I have read everything I can get my hands on, but I still don't understand if I'll be able to retrieve the version of an existing dll or other executable and decide if I need to replace it.  I understand that I can write my own custom action, but this seems to be pretty basic and hope that someone has already done it.

Thank you so much!


--
Dustin Johnson
CACE Technologies
Tel: 530-758-2790 x109
Fax: 530-758-2781
www.cacetech.com

 


  
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
 

 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
  

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to