Andrei wrote:
I have a simple feature tree.

<Feature Id='Complete' Title='Complete package' Level='1' Absent="disallow" InstallDefault='*local*'...> <Feature Id="CoreFeature" Title="Core package" Level="1" Absent="disallow" InstallDefault='*local*'>
  ...
  </Feature>
<Feature Id="OptionalFeature" Title="Core package" Level="1" Absent="allow" InstallDefault='*local*'>
  ...
  </Feature>
</Feature>

It appears that setting InstallDefault to local works only for leaf features, but it does not work for root feature ('Complete'), thus I still see the "This feature will be installed from the network" option in the drop-down menu for this root feature. Am I missing something obvious?

Just a bit of MSI silliness: It offers the run-from-source option for any feature that doesn't have any components assigned to it, such as when you have a parent feature that only contains child features. Easy workaround is to add a dummy component (with no resources) to the parent feature.

--
sig://boB
http://joyofsetup.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

Reply via email to