Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, April 18, 2019 3:23 AM
When I try to launch VS I get the following error:
The setup for this installation of Visual Studio is not complete. Please run the Visual Studio Installer again to correct the issue.
The first time I ran the Installer, it said it needed to reboot to complete an install. I pressed the Reboot button to reboot the system; but, when it came back up I still get the same error as above. Now when I run the Installer, I get the Modify, Launch, and More buttons. When I try to Repair VS I get the following error:
The dependent package of 'Microsoft.VisualStudio.Product.Enterprise,version=15.9.28307.586' cannot be found: Component.CD12DAC4-FAEF-4D71-896F-B48F3684ECB7,version=16.1.0.32.
I have been using this installation of VS for several years without any problems until today. The last thing I did before this problem started was to update the VS Power Tools. Once that completed I could no longer launch VS.
I've run vscollect and the zip file can be accessed via this link: https://onedrive.live.com/embed?cid=094A5FCB6718FE4C&resid=94A5FCB6718FE4C%21107&authkey=APIksP5sYuteceo
All replies (4)
Thursday, April 18, 2019 5:56 AM
Hi M,
Welcome to the MSDN forum.
From your log shows,
- “Creation of file 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\PowerShell Tools for Visual Studio\System.Management.Automation.dll' failed. Retrying with 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\PowerShell Tools for Visual Studio\System.Management.Automation.dll.new' and scheduling the move after reboot.”
- “Error 0x80131500: The dependent package of 'Microsoft.VisualStudio.Product.Enterprise,version=15.9.28307.586' cannot be found: Component.CD12DAC4-FAEF-4D71-896F-B48F3684ECB7,version=16.1.0.32.”
When you reboot, it is success to perform the renamed dll file. But based on the second error**, it indicates that a file we use for managing your installations has become corrupted.** The Visual Studio installer engine has made changes to be more resilient to cases that cause this state to occur. Unfortunately, machines already in this state are forced to clean up their installations and apply a fresh Visual Studio installation.
Please follow the cleanup steps and retry your VS install, before that remember to make sure windows update is up to date, disable anti-virus and clean up %temp% folder:
- See if you have this file on your machine: "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe"
- If so, please launch it from an admin command prompt with a -full param: InstallCleanup.exe -full
- If not, please manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer”,”C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise” folder
- Relaunch the newly downloaded vs_enterprise.exe.
- Allow the first step to install the installer
- Once the installer comes up and you can see workload choices (.net desktop and the like), close it
- Go launch the same InstallCleanup.exe to clean up old build of VS
- Then relaunch vs_enterprise.exe and install VS
Please let us know if this unblocks you or the issue persists, upload the latest vslog.zip to onedrive site and share link here.
Best
May
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Monday, April 22, 2019 9:19 AM
hi friend,
it's been long time past away and we have not received any update from you.
did you launch VS normally now? we appreciate if you could come back to share a feedback here.
May
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Monday, April 22, 2019 7:56 PM
I ran the VS Installer and Modified the installation and removed Power Shell Tools. Once I did this I can now launch VS.
Tuesday, April 23, 2019 1:39 AM
Hi M,
Thanks for your update! We are glad to hear that your issue is solved, please make it as answer, then we will close this ticket for now. If you have any more issues, please kindly let us know. Thank you for helping us build a better Visual Studio!
Have a nice day!
Best
May
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]