title: ClickOnce complains: "You cannot start application from this location because it is already installed from a different location."
body: <p>I have a <a href="http://en.wikipedia.org/wiki/ClickOnce" rel="noreferrer">ClickOnce</a> install of a <a href="http://en.wikipedia.org/wiki/.NET_Framework" rel="noreferrer">.NET</a> 4.0 application. I got this error:</p>
  
  <blockquote>
    <p>You cannot start application from this location because it is already installed from a different location</p>
  </blockquote>
  
  <p>I got it by doing the following:
   * I create my deployment and zip it.
   * Go to an install computer and unzip and install.
   * Create the next version and zip that up.
   * Now on my install computer, if I unzip to a different location and try to run setup, I get the above error.</p>
  
  <p>I would be perfectly fine with having my application completely uninstall previous versions and then install the latest. Would not these types of errors occur all the time where a user installs from a DVD once and later gets a new version via a downloaded ZIP file?</p>