Hi All,
I have a Wix2 setup that is designed to "upgrade" a product installation to a
known level. The original installation was InstallShield/InstallScript based.
The product is essentially made up of a Client component and a Server
component. The install has a couple of FileSearch-es to set properties:
<!-- Is Rainbow 3 client installed? -->
<Property Id='RB3CLIENT' Value='N'>
<DirectorySearch Id='RBClientDirectory' Path='c:\Program
Files\Rainbow'>
<FileSearch Id='RainbowExe' Name='rainbow.exe' />
</DirectorySearch>
</Property>
<!-- Is Rainbow 3 server installed? -->
<Property Id='RB3SERVER' Value='N'>
<DirectorySearch Id='RBServerDirectory' Path='c:\Program
Files\Rainbow'>
<FileSearch Id='RBServicesExe' Name='rbfta.exe' />
</DirectorySearch>
</Property>
The RB3CLIENT and RB3SERVER properties are then used in Conditions on Features:
<Feature Id="Client" Title="Rainbow Client" Level="0">
<Condition Level="1"><![CDATA[RB3CLIENT <> "N"]]></Condition>
<ComponentRef Id="RainbowClientComponent" />
<ComponentRef Id="RainbowSharedComponent" />
<ComponentRef Id="RainbowHelpComponent" />
<ComponentRef Id="VC80ATLComponent" />
<ComponentRef Id="VC80CRTComponent" />
<ComponentRef Id="VC80MFCComponent" />
</Feature>
<Feature Id="Server" Title="Rainbow Server" Level="0">
<Condition Level="1"><![CDATA[[RB3SERVER <> "N"]]></Condition>
<ComponentRef Id="RainbowServerComponent" />
<ComponentRef Id="RainbowSharedComponent" />
<ComponentRef Id="RainbowHelpComponent" />
<ComponentRef Id="StoreProviderComponent" />
<ComponentRef Id="VC80ATLComponent" />
<ComponentRef Id="VC80CRTComponent" />
<ComponentRef Id="VC80MFCComponent" />
</Feature>
My problem is that the Server component is never installed. Client seems to
work ok (it installs and uninstalls fine). There is no UI option for the user
to choose Features; it is worked out soley on the result of FileSearch-es.
Any ideas?
Thanks,
Jeff
________________________________
About Microsoft Ireland: www.microsoft.com/ireland
Microsoft Ireland Operations Limited. A company incorporated and registered in
Ireland number 256796.
Microsoft Ireland Research. A company incorporated and registered in Ireland
number 342235.
Registered office 70 Sir John Rogerson's Quay, Dublin 2, Ireland
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users