title: SQL Server Management Studio (SSMS) setup fail (0x8007046)
body: <p>I reformatted my PC after a windows(10 Home 64bit) update was interrupted. Then after drivers etc reinstalled, I installed:</p>
  
  <ul>
  <li><p>Installed Visual Studio Community</p></li>
  <li><p>Installed SQl Server Express 2017</p></li>
  <li><p><strong>FAILED</strong> - to install SQL Server Management Studio 17.7</p></li>
  </ul>
  
  <p>It seems to be the problem with the Visual Studio 2015 Shell (isolated) installation - trying to repair that fails:   "A setup package is either missing or damaged". You can only select "Skip package" or browse to find the files that are  missing, that aren't not shown at that stage, skipping results in this setup failed screen:</p>
  
  <p><a href="https://i.stack.imgur.com/k3xNG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k3xNG.png" alt="enter image description here"></a></p>
  
  <p>The VS installation only installs C++ Redistributable 2013 and 2017. Interesting, those 2013 version's of x64 and x86 that are installed are older versions than are required by the 17.7 install of SSMS, under their section: "installation tips and issues" here:</p>
  
  <p><a href="https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017</a></p>
  
  <p>I have checked:</p>
  
  <ul>
  <li>adhered to all the "installation tips and issues"</li>
  <li>Latest .NET Framework is installed (4.7.. though you can't see this
  in add/remove programs</li>
  <li>formatted PC again to reinstall everything, just in case</li>
  </ul>
  
  <p>no luck.</p>