title: How do I force an assembly to uninstall from the GAC?
body: <p>I've developed a simple installation package using WiX that installs an assembly called <code>WBRT.Configuration</code> into the Global Assembly Cache (GAC). While the file installs, it is not removed when the package is uninstalled.</p>
  
  <p>I've tried running a command prompt as administrator, used msiexec /x specifying the msi filename and msiexec /x specifying the product code.</p>
  
  <p>With the /l*v switch, there is no error:</p>
  
  <p><code>Executing op: ActionStart(Name=MsiUnpublishAssemblies,Description=Unpublishing assembly information,Template=Application Context:[1], Assembly Name:[2])
  Executing op: AssemblyUnpublish(,,AssemblyType=1,,AssemblyName=WBRT.Configuration,version="1.0.0.0",culture="neutral",publicKeyToken="361AD75BADC53912",processorArchitecture="MSIL",Descriptor=2-(xWui~z@UnhQuo-~Gh&gt;S.OwM9Kim9x0ul%Ore=9)
  Executing op: ActionStart(Name=UnpublishFeatures,Description=Unpublishing Product Features,Template=Feature: [1])</code></p>
  
  <p><strong>WiX File element</strong></p>
  
  <p><code>&lt;File Id="filB7155C3E9A241BEAFE09533364964732" KeyPath="yes" Assembly=".net" Source="$(var.Configuration.TargetDir)\WBRT.Configuration.dll" /&gt;</code></p>
  
  <p><strong>MsiAssemblyName table in Orca</strong></p>
  
  <p><img src="https://i.stack.imgur.com/9zjJ2.png" alt="MSIAssemblyName"></p>
  
  <p><strong>File in the GAC</strong></p>
  
  <p><img src="https://i.stack.imgur.com/nWoPQ.png" alt="File in GAC"></p>
  
  <p><strong>Version tab of the file in the GAC</strong></p>
  
  <p><img src="https://i.stack.imgur.com/VVuu4.png" alt="Version"></p>
  
  <p>I'm <strong>completely stumped</strong>. Does anyone have ideas?</p>