Bob:

Thanks for the info.  I found some references to the Control | Publish 
@Event "AddLocal" / "Remove" information in the WiX Users archive.  I was 
able to merge my limited understanding with the tutorial and MSI & WiX help 
files to come to the solution.

Assuming I get the opportunity, I will put together an example of how to do 
it and post it to the mail list.  It might be info for the tutorial as well.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





>From: Bob Arnson <[EMAIL PROTECTED]>
>To: david adams <[EMAIL PROTECTED]>
>CC: wix-users@lists.sourceforge.net
>Subject: Re: [WiX-users] Feature List conditional control
>Date: Mon, 18 Sep 2006 20:44:50 -0700
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc9-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 
>18 Sep 2006 21:13:40 -0700
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 632FEFDF9; Mon, 18 Sep 
>2006 21:13:31 -0700 (PDT)
>Received: from sc8-sf-mx1-b.sourceforge.net 
>([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1GPWzB-0002sM-2Zfor 
>wix-users@lists.sourceforge.net; Mon, 18 Sep 2006 21:13:29 -0700
>Received: from sd-green-bigip-61.dreamhost.com 
>([208.97.132.61]helo=looneymail-a3.dreamhost.com)by mail.sourceforge.net 
>with esmtp (Exim 4.44) id 1GPWz7-0006Fh-BQfor 
>wix-users@lists.sourceforge.net; Mon, 18 Sep 2006 21:13:29 -0700
>Received: from [192.168.0.101] 
>(c-24-16-84-162.hsd1.wa.comcast.net[24.16.84.162])by 
>looneymail-a3.dreamhost.com (Postfix) with ESMTP id E8C3F731B3;Mon, 18 Sep 
>2006 21:13:20 -0700 (PDT)
>X-Message-Info: LsUYwwHHNt1Z+jgeTxL/lvYRinoqSkWCprxTOmXjYU4=
>User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
>References: <[EMAIL PROTECTED]>
>X-Spam-Score: 0.1 (/)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
>http://spamassassin.org/tag/ for more details.Report problems 
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000010.1 HTML_30_40      
>        BODY: Message is 30% to 40% HTML0.0 HTML_MESSAGE           BODY: 
>HTML included in message
>X-BeenThere: wix-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML 
>toolset."<wix-users.lists.sourceforge.net>
>List-Unsubscribe: 
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL 
>PROTECTED]>
>List-Archive: 
><http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
>List-Post: <mailto:wix-users@lists.sourceforge.net>
>List-Help: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: 
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL 
>PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 19 Sep 2006 04:13:40.0726 (UTC) 
>FILETIME=[FCFC7960:01C6DBA1]
>
>david adams wrote:
>>If I set the Feature @Level="1" and use Condition #1 or #4 in an attempt 
>>to "disable" the other three, then all four features stay at level = 1 in 
>>CustomizeDlg (i.e. feature set for install).
>>
>>If I set the Feature @Level="0" and use either Condition #2 or #3 in an 
>>attempt to "enable" the selected one, then all four features stay at level 
>>= 0 in CustomizeDlg (i.e. feature not available).
>>
>Yeah, that's what I get when I reply without enough coffee. Or with too 
>much coffee.<g> Unfortunately, feature conditions aren't constantly 
>evaluated so you can't use them to set feature levels based on properties 
>set in the UI. From "CostFinalize Action" in the MSI SDK:
>
>The CostFinalize action queries the Condition <condition_table.htm> table 
>to determine which features are scheduled to be installed. Costing is done 
>for each component in the Component table.
>
>CostFinalize happens early. To add or remove features after that, use the  
>AddLocal/AddSource and Remove control events.
>
>It's a pain, but it gives you the power to "fix" mutually-exclusive 
>features that the selection tree can't handle.
>
>--
>sig://boB
>http://bobs.org
>


>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share 
>your
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to