Hi Bob,

    I have discovered a few hours ago that SetInstallLevel to 1 in an 
upgrade will actually refresh the Features and install only the features 
that I want. Your suggestion would help if the setup type had 3 options: 
Typical, Full, Custom. This setup has more levels and tuning 
INSTALLLEVEL will not help.
 From this point of view it would help if INSTALLLEVEL would install the 
features that are the exact level only and not those that are below (I 
guess this is a feature request for Windows Installer team, which is not 
that important - the feature not the team!).

    I think I will create a small upgrade sample and fill it in as a bug.

Best regards,
    Calin

Bob Arnson wrote:
> Calin Iaru wrote:
>>     It should be only Administration because the setup resets the 
>> level of all other features to 0 when "Typical" is selected like this:
>>       <Feature Id="Utilities" Title="Utilities" Display="1" Level="1" 
>> AllowAdvertise="no">
>>         <Condition Level="0"><![CDATA[SETUPTYPE =  
>> "Typical"]]></Condition>
>>   
> That's not going to work. MSI evaluates feature conditions only once, 
> during CostFinalize. UI comes after that, so it won't affect feature 
> scheduling. Take a look at the INSTALLLEVEL property documentation; 
> you can use it and Feature/@Level to make typical and full feature sets.
>
> I'd suggest starting your upgrade work with a simpler case of a full 
> install. Once that works, you can get into feature states.
>


-------------------------------------------------------------------------
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