When you manage feature states, you need to manage all feature states. Thus the 
defaults aren't terribly relevant, thus INSTALLLEVEL can for all intents and 
purposes be ignored.

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-----Original Message-----
From: Tom Glastonbury [mailto:t...@zanyants.com] 
Sent: Tuesday, July 15, 2014 2:34 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Determining default features for installation in a bundle 
from custom BA

Dear Wix Users,

I'm working on the feature selection GUI of a custom (managed) BA. When running 
for installation, I need to determine which features of each package in the 
bundle should be installed by default: unless I'm missing something, this 
depends on comparing the INSTALLLEVEL property of the package to which a 
feature belongs and the @Level attribute for the feature which can be found in 
BootstrapperApplicationData.xml.

My questions are:

1. Am I correct about how to determine which features should be selected for 
installation by default? If not, what is the right way?

2. If I am correct, how should I obtain the INSTALLLEVEL property of the 
package? Will the suggested method work if the package binary is not 
distributed with the bundle (ie, it must be downloaded if required).

3. Why isn't it the INSTALLLEVEL property of each package stashed as an 
attribute of WixPackageProperties in BootstrapperApplicationData.xml? This 
would seem to make sense to me, and be consistent with the existing stashing 
the Level field from the Feature table as an attribute in WixPackageFeatureInfo 
elements.

Many thanks,

Tom
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and search 
up to 200,000 lines of code with a free copy of Black Duck Code Sight - the 
same software that powers the world's largest code search on Ohloh, the Black 
Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to