title: Cannot install Visual Studio 2017 community edition after sudden shutdown
body: <p>I started installing VS and then my computer turned off suddenly (due to overheating).</p>
  
  <p>When I was reinstalling it, an error message appeared saying:</p>
  
  <pre><code>Can't install in a non empty folder.
  </code></pre>
  
  <p>So I deleted the folder C:\Program Files (x86)\Microsoft Visual Studio\2017\community</p>
  
  <p>Then, when I tried to install it, it failed.</p>
  
  <p>This is the log:</p>
  
  <blockquote>
    <p>[2a18:0008][2017-06-09T09:08:50] Error 0x80004003:     at
    Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance()<br>
    at
    Microsoft.VisualStudio.Setup.Cache.CacheRepository.d__28.MoveNext()
    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable<code>1
    source, Func</code>2 predicate)    at
    Microsoft.VisualStudio.Setup.Engine.VerifyInstallationPath(IServiceProvider
    services, String installationPath, IInstance instance, IQuery query)<br>
    at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String
    destination, CancellationToken token)Object reference not set to an
    instance of an object.</p>
  </blockquote>