Brad,

You could also try:

 

<Feature Id="MyFeature" Title="My Feature Title" AllowAdvertise="no"
InstallDefault="followParent " Level="1" FollowParent="yes">

 

Of course, that requires you to set the modified feature as a "leaf"
(child) of the feature you want its state to follow.

 

MP.

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Shurts
Sent: Wednesday, January 02, 2008 11:51 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Two questions on SelectionTree and Features.

 

Brad,
First question:
Set the attributes when you are defining your feature and components.
Example:
  <Feature Id="MyFeature" Title="My Feature Title" AllowAdvertise="no"
InstallDefault="local" Level="1">
  <Component Id="MyComponent"
Guid="{AAAAAAAA-BBBB-CCCC-DDDD-0123456789EF}" Location="local">

Second question:
There is no elegant solution unfortunately.  You could use a custom
dialog that does not employ the SelectionTree control, such as
checkboxes, or a custom action that hooks your feature selection dialogs
and watches for event triggers of the SelectionTree control.  Windows
Installer UI is limited at best and leaves a lot to be desired. 

Regards,
//aj

On Jan 2, 2008 1:50 PM, Brad Thompson (WEBSTORE) <[EMAIL PROTECTED]>
wrote:

I have two questions. I am using the SelectionTree control to allow
customization. When I click on the top level of the tree it has the
following entries:

 

Will be installed on local hard drive

Entire feature will be installed on local hard drive

-----

Will be installed to run from the network 

Entire feature will be installed to run from the network 

----- 

Feature will be installed when required 

-----

Entire feature will be unavailable.

 

Our team does not want to support network installs or "when required"
installs. Is there a way to remove these from the list?

 

My second question:

 

Is there a way to automatically set a feature to be installed based on
other features without using SetInstallLevel?

 

Brad Thompson.

 


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users

 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to