|
From: Rob M. <ro...@us...> - 2004-11-28 06:41:34
|
Vagmi, If you have a Component being shared by two Features, you will have to mark one of them Primary='yes'. That tells the WiX toolset to hook all of the advertised entry points (like the Class table and advertised Shortcuts) to the "primary" Feature. Of course, as you noted the Windows Installer can behave a little strangely when you share advertised Components so your suggestion below is pretty decent advice. -----Original Message----- From: wix...@li... [mailto:wix...@li...] On Behalf Of Vagmi Mudumbai Sent: Tuesday, November 23, 2004 3:33 AM To: Martin Muenstermann; wix...@li... Subject: Re: [WiX-users] Conditional installation of features As C3 forms a part of both the features F1 and F2, you can nest the features as a part of a common feature and add C3 to the Feature F0 or F3 as you might like to call it. This also overcomes the limitation with the Class table which has reference to the Feature table. I am not sure how the WIX toolset handles it but I had quite a lot of problems with InstallShield and ended up with broken installs. So I make it a practice to nest features and have the common components as a part of the parent feature. I am sure Windows Installer would have a way to handle components going to multiple features but I would prefer being as unambigious as possible. On Tue, 23 Nov 2004 12:19:16 +0100, Martin Muenstermann <mar...@cy...> wrote: > Hi, > > I just noticed my description was not accurate, I mixed components and > features: > > So currently I have the following components > C1. exe for language A > C2. exe for language B > C3. shared dlls > > And the features > F1: Install C1 and C3 > F2: Install C2 and C3 > > > From the UI I try to select feature 1 *or* feature 2. > Please note that C1 and C2 shall not be installed both. > > I experimented a little with ADDLOCAL but so far without success, maybe > > only a small level or sequence issue. > > > > BTW: The application has a <Extension> and <MIME>. This does not seem to > > fit well into my feature layout, as they can be contained only in one > > feature. But then, how to connect them to the actually exe to be installed? > feature --> component > > > > Martin > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > WiX-users mailing list > WiX...@li... > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Vagmi http://installneo.blogspot.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ WiX-users mailing list WiX...@li... https://lists.sourceforge.net/lists/listinfo/wix-users |