Hello everyone,
I'm new to WIX. Yes another
OK, I have a Modular Client-Server Application to
Install.
I could have 3 type of installation:
1- Client
2- Server
3- Client and Server on the same computer
When I install the Client and the Client Server
(Client part are common) I need to Install the
Server Component.
My first need is only to Create the Windows
Service and start it.
But I don't know if it's possible to copy the
Server File and Only Create the service as needed.
If not, I can live with the server file only
copied when the service need to be created.
My biggest problem, is to install the Server
Component when the Client or Client - Server
Feature is selected ?
Maybe I could do something else than create 3
Features (client, server and Client - Server)?
When I use the feature Condition the file is never
Installed ?
For my test, I use the WixUI_Mondo UI and I
created 3 Features to allow select the Install
type
<Feature Id="MainTree" Title="My Product"
Level="1">
<Feature Id="MinimumFeature" Title="Server"
Absent="allow"Level="1">
<ComponentGroupRef Id="Common_Core"/>
<ComponentGroupRef Id="Common_Poco"/>
<ComponentGroupRef Id="Script_Core"/>
<ComponentGroupRef Id="Services_Core"/>
<ComponentGroupRef Id="Services_Modules"/>
</Feature>
<Feature Id="TypicalFeature" Title="Client"
Level="3">
<ComponentGroupRef Id="Common_Core"/>
<ComponentGroupRef Id="Common_Poco"/>
<ComponentGroupRef Id="Modules_Core"/>
<ComponentGroupRef Id="Modules_A"/>
<ComponentRef
Id="Comp_StartApplicationShortcuts"/>
</Feature>
<Feature Id="FullFeature" Title="Client
Server" Level="1000">
<ComponentGroupRef Id="Common_Core"/>
<ComponentGroupRef Id="Common_Poco"/>
<ComponentGroupRef Id="Script_Core"/>
<ComponentGroupRef Id="Services_Core"/>
<ComponentGroupRef Id="Services_Modules"/>
<ComponentGroupRef Id="Modules_Core"/>
<ComponentGroupRef Id="Modules_A"/>
<ComponentRef
Id="Comp_StartApplicationShortcuts"/>
</Feature>
</Feature>
Any Cue on Best way to do will be welcome J
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users