title: WIX add new file to shared component
body: <p>I have a shared dll, we’ll call it Utility.dll that is installed by multiple products. In my WIX file I install Utility.dll as a separate component. Now version 2.0 of the Utility.dll references an additional dll, UtilityUtility.dll which will need to be installed alongside.</p>
  
  <p>For my first attempt integrating UtilityUtility.dll I created a new WIX component containing the new dll. </p>
  
  <p>This causes problems in the following scenario</p>
  
  <p>1) User installs Product 1 { Utility.dll 1.0 }<br/>
    2) User installs Product 2 { Utility.dll 2.0, UtilityUtility.dll 2.0 }<br/>
    3) User uninstalls Product 2 { Utility.dll 2.0 }</p>
  
  <p>Now when a user uses the Utility.dll it will fail when it can’t find the referenced UtilityUtility.dll </p>
  
  <p>This led me to add UtilityUtility.dll to the original component which prevents UtilityUtility.dll from being removed in the previous scenario but comes with its own issue.</p>
  
  <p>1) User installs Product 1 { Utility.dll 1.0 }<br/>
  2) User installs Product 2 { Utility.dll 2.0, UtilityUtility.dll 2.0 }<br/>
  3) User uninstalls Product 2 { Utility.dll 2.0, UtilityUtility.dll 2.0 }<br/>
  4) User uninstalls Product 1 { UtilityUtility.dll 2.0 }</p>
  
  <p>UtilityUtility.dll is orphaned as it does not get removed by the Product 1 uninstall (it did not exist in the component when it was originally installed).</p>
  
  <p>Do I have any other options here? </p>
  
  <p>Thanks</p>