title: AutoUpdater.NET not updating and not removing old program
body: <p>I'm using <a href="https://github.com/ravibpatel/AutoUpdater.NET" rel="nofollow noreferrer">AutoUpdater</a> alongside Visual Studio Installer Projects in a WPF program. When updating my project, it never actually updates. It only gives the option to "Repair" or "Remove" my existing installation. This causes the program to always ask for updates (since it's still on the old version, 1.0.0.0).</p>
  
  <p>My update code (MainWindow.xaml.cs):</p>
  
  <pre><code>AutoUpdater.Start(@"\\SERVER\foo\bar\update.xml", new NetworkCredential("user", "pass"));
  AutoUpdater.ShowSkipButton = false;
  AutoUpdater.Synchronous = true;
  AutoUpdater.Mandatory = true;
  AutoUpdater.UpdateMode = Mode.Forced;
  </code></pre>
  
  <p>My update.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;item&gt;
    &lt;version&gt;1.0.1.2&lt;/version&gt;
    &lt;url&gt;\\SERVER\foo\bar\setup.msi&lt;/url&gt;
    &lt;mandatory&gt;true&lt;/mandatory&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p>My Deployment Project settings:</p>
  
  <pre><code>DetectNewerInstalledVersion = False
  RemovePreviousVersions = True
  Version = 1.0.1.2
  </code></pre>
  
  <p>My AssemblyInfo.cs:</p>
  
  <pre><code>[assembly: AssemblyVersion("1.0.1.2")]
  [assembly: AssemblyFileVersion("1.0.1.2")]
  </code></pre>
  
  <p>I change the setup version (which generates a new ProductCode) to match the AssemblyVersion and AssemblyFileVersion.
  However when it goes to update, it only gives the option to Repair or Remove the current installation. Continuing with "Repair" does not actually Update the program. The next time you start the program, it is still on the old version and will ask to update again.</p>
  
  <p>The UpgradeCode remains the same. Setting DetectNewerInstalledVersion to true causes Windows to throw the error "An older version is already installed" but I am trying to eliminate the user from having to uninstall and re-install for each update. </p>
  
  <p><a href="https://i.stack.imgur.com/0fwmM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0fwmM.png" alt="enter image description here"></a></p>
  
  <p>What can I do to fix this issue?</p>