Comments inline. Rob
On 16/05/2011 18:22, Sylou wrote: > 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. You could have a component with just the file, and one with the file and the service install, and then give them mutually exclusive conditions. > > If not, I can live with the server file only > copied when the service need to be created. This works too. > > > > My biggest problem, is to install the Server > Component when the Client or Client - Server > Feature is selected ? Don't you just list the component under the features it applies to, and don't list it under the ones it doesn't? I think I'm missing something here. > > Maybe I could do something else than create 3 > Features (client, server and Client - Server)? Could you just have two features for Client and Server? If the user wants both then they just select both features. > > When I use the feature Condition the file is never > Installed ? The code posted below doesn't show any conditions on your Features. Are the you referring to the condition as a feature of WiX and not a Feature element, and it's on the Component element instead? Have you tried reversing the Condition to make sure you've not got the "include/exclude this Component" the wrong way round? > > > > 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 ------------------------------------------------------------------------------ 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users