title: How to use MajorUpgrade and RemoveFeatures to remove only specific features and still un-install the previous version of the product
body: <p>I swapped to Wix 3.6 from the Microsoft Installer that was packaged with VS 2010. I am trying to release a seamless upgrade to our users by using the <code>&lt;MajorUpgrade/&gt;</code> Tag, however I have one feature that I do not want to be un-installed while performing this major upgrade.</p>
  
  <p>As seen below I have <code>RemoveFeatures="[ProductFeature]"</code> which will result in only the ProductFeature being removed and the DataFeature will remain, but this results in the entry not being removed from the "Programs and Features" list in Windows as it is when this parameter is not specified. How can I upgrade properly without un-installing specific features?</p>
  
  <pre><code>&lt;Product Id="*" 
         Name="$(var.MyProject.ProjectName)" 
         Language="1033" 
         Version="2.6.0.0" 
         Manufacturer="Awesome Software (Pty) Ltd"          
         UpgradeCode="D7B99D7F-340D-449D-9C18-5D4A4A9B13D5"&gt;       
  &lt;Package InstallerVersion="405"
           Compressed="yes"              
           Description="Installs $(var.MyProject.ProjectName)"             
       Keywords="Awesome"
       InstallScope="perMachine"/&gt;
  
  &lt;WixVariable Id="WixUILicenseRtf" Value="$(var.SolutionDir)\awesome.EULA\awesome CE Eula.rtf" /&gt;
  &lt;MediaTemplate EmbedCab="yes"/&gt;
  &lt;MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." 
  RemoveFeatures="[ProductFeature]" Schedule="afterInstallInitialize"/&gt;
  
  &lt;Feature Id="ProductFeature" Title="Setup $(var.MyProject.ProjectName)" Level="1"&gt;      
    &lt;ComponentGroupRef Id="FilesFragment" /&gt;
    &lt;ComponentRef Id="C__5B1F76E18B8F479DAAA1B8C14E4B0638"/&gt;
    &lt;ComponentRef Id="C__5B1F76E18B8F479DAAA1B8C14E4B0639"/&gt;
    &lt;ComponentRef Id="cmpA0688C6933D519CB5D1B6D48D50F1E21"/&gt;
  &lt;/Feature&gt;
  
  &lt;Feature Id="DataFeature" Title="Data $(var.MyProject.ProjectName)" Level="1" &gt;
    &lt;ComponentGroupRef Id="DataFragment" /&gt;
  &lt;/Feature&gt;
  
  &lt;!-- Wix UI Prompts --&gt;
  &lt;Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER"/&gt;            
  &lt;UIRef Id="WixUI_InstallDir"/&gt;
  
  &lt;Binary Id="myCustomActionsDLL" SourceFile="$(var.CustomActions.TargetDir)MaxCut.CustomActions.CA.dll"/&gt;
  
  &lt;InstallExecuteSequence&gt;
    &lt;Custom Action="CA_myCustomAction" Before="InstallInitialize"/&gt;
  &lt;/InstallExecuteSequence&gt;
  </code></pre>
  
  <p></p>