Re: [WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-10 Thread Chris Bardon
So is it possible to write to these variables as well? I'd like to be able to pass in a property on the command line (or from a custom action) that will set the state of the feature tree for a custom install. The goal is to make it simple for admins to script installations that deploy components

Re: [WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-10 Thread Bob Arnson
Chris Bardon wrote: So is it possible to write to these variables as well? No, they're read-only. To mark a feature for install, you can use the ADDLOCAL property. -- sig://boB http://bobs.org - Take Surveys. Earn

Re: [WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-10 Thread Chris Bardon
Thanks, that looks like it might do what I want. The side effect so far seems to be that I now have to either specify everything I want to add, or nothing. For example, if I have 3 features (F1, F2, F3) with different install levels (1,2,3), the install level seems to be ignored if I use

Re: [WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-10 Thread Bob Arnson
Chris Bardon wrote: Is there a way to do this, or do I have to explicitly list every feature when I use ADDLOCAL? When you specify ADDLOCAL (or any of the other 10 properties that control feature selection), MSI sets the Preselected property. The SDK implies but doesn't explicitly state

[WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-09 Thread David Roberts
Hi there, Seemingly simple question, but I've failed to find an answer to this... I'm trying to conditionally display a dialog and launch some custom actions etc, if a feature is selected for install. Is there a way that I can test whether a feature has been selected in a Custom Install

Re: [WiX-users] Setting a property, conditionally on selection of a feature in Custom install

2007-04-09 Thread David Roberts
Thanks Bob, exactly what I was after; Publish ...amps;ServerFeature = 3/Publish Cool. Dave. - Original message - From: Bob Arnson [EMAIL PROTECTED] To: David Roberts [EMAIL PROTECTED] Cc: wix-users@lists.sourceforge.net Date: Mon, 09 Apr 2007 21:43:40 - 0700 Subject: Re: