I was reviewing some of our setup code, and updating it to ask for some new
requirements. two of them are Office Word and office excel 2007 release
installed. I tried several times with almost any advance at all to make a
condition out of my properties. Here's the code:
<Property Id="WORDFIND">
<RegistrySearch Id="WordInstallRoot" Root="HKLM"
Key="SOFTWARE\Microsoft\Office\12.0\Word\InstallRoot" Name="Path"
Type="raw">
<DirectorySearch Id="WordDir" Path="[WordInstallRoot]" Depth="2">
<FileSearch Id="WordFilefind" Name="WinWord.exe"
MinVersion="12.0.4518.1013"/>
</DirectorySearch>
</RegistrySearch>
</Property>
<Property Id="EXCELFIND">
<RegistrySearch Id="ExcelInstallRoot" Root="HKLM"
Key="SOFTWARE\Microsoft\Office\12.0\Excel\InstallRoot" Name="Path"
Type="raw">
<DirectorySearch Id="ExcelDir" Path="[ExcelInstallRoot]" Depth="2">
<FileSearch Id="ExcelFilefind" Name="Excel.exe"
MinVersion="12.0.4518.1014"/>
</DirectorySearch>
</RegistrySearch>
</Property>
<Condition Message="Must have Microsoft Word 2007 release to install
Clinnext Web Server [WORDFIND]">WORDFIND=""</Condition>
<Condition Message="Must have Microsoft Word 2007 release to install
Clinnext Web Server [EXCELFIND]">EXCELFIND=""</Condition>
at execution time I can clearly see that [WORDFIND] and [EXCELFIND]
properties are being populated. What else can be?
thanks for all your accustomed collaboration!
Jose
--
View this message in context:
http://www.nabble.com/search-based-properties-tf3912856.html#a11093664
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users