I am doing a registry search to ensure that a certain key is present
before progressing with the installation. However this key is only
required for 1 of my 3 features. 
 
Therefore if feature X is selected then my install should only progress
if the registry key is present, for example
 
<!-- search for registry key -->

<Property Id="REGKEY" Value="UNDEFINED">

<RegistrySearch Id='RegkeySearch' Type='raw' Root='HKLM'
Key='Software\.......' Name='RegKey' />

</Property>

<Condition Message='REGKEY Must be present if Feature X Selected.'>

<![CDATA[REGKEY <> "UNDEFINED" AND <<<FEATURE X IS SELECTED>>>]]>

</Condition>

It sounds like it should be possible but I don't know how to represent
the <<<FEATURE X IS SELECTED>>> bit.

I am selecting features by passing them to MSIExec using the ADDLOCAL
param i.e ADDLOCAL=X

Any help greatly appreciated as always.


.
--------------------------------------------------------------------------------------------------------------------

HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
==============================================================================
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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