IT

설치하는 동안 Visual Studio 2015 설치 관리자가 중단됩니까?

lottoking 2020. 6. 22. 07:29
반응형

설치하는 동안 Visual Studio 2015 설치 관리자가 중단됩니까?


Visual Studio Ultimate CTP 6의 전체 ISO를 다운로드했습니다. 설치 프로그램이 진행률 표시 줄에 의해 측정 된 약 90 % 표시를 얻었고 막혔습니다. Superfetch, 맬웨어 방지 보호 및 기타 백그라운드 프로세스에서 빈번한 활동이 있었지만 진행률 표시 줄이 여전히 죽었습니다. 결국 백그라운드 작업 활동은 20 분 후에 사라졌지 만 진행률 표시 줄은 여전히 ​​흐려지지 않았습니다.

CHEAP TRICK : 메모장 창을 열고 왼쪽 가장자리를 배치하여 진행률 표시 줄의 현재 위치를 완벽하게 표시합니다. 약 1 시간 동안 진행률 표시 줄이 메모장 창의 왼쪽 가장자리를 지나치지 않으면 아마도 멈췄을 것입니다.


하위 설치자 중 하나가 설치 중 중단되어 완료되지 않은 경우입니다. 불행히도 이런 일이 발생하면 마스터 설치 관리자가 작업을 시간 초과하지 않는 것처럼 보입니다. 비결은 작업 관리자를 세부 모드로 열고 0 % CPU 사용률과 0 % 디스크 사용률을 나타내는 하위 설치 프로그램 프로세스를 찾아서 종료되었음을 나타냅니다. 그런 다음 해당 프로세스를 종료하면 마스터 설치가 다시 시작됩니다. 필자의 경우 하위 설치 프로그램의 이름은 SecondaryInstaller.exe입니다.설치 로그에 따르면 크로스 플랫폼 개발 모듈을위한 일부 Android SDK 구성 요소를 설치하려고 시도하는 동안 발생했습니다. 영구적으로 얼었다. 나는 그것을 죽이고 마스터 설치 프로그램이 완료되었습니다. Visual Studio를 실행했을 때 문제가 없었지만 Android 구성 요소 설치 문제를 파헤쳐 야합니다.


바이러스 백신 (AVG)을 일시적으로 비활성화하고 설치를 다시 시작했습니다. 그것은 그것을 고쳤다.


AVG Free 바이러스 백신의 현재 버전은 Microsoft Visual Studio 2015와 호환되지 않습니다.

  1. 컴퓨터에 Visual Studio를 설치할 수 없습니다. "복원 지점 작성"에서 멈 춥니 다. AVG가 꺼져 있으면 Visual Studio가 완벽하게 설치됩니다.

  2. x86 플랫폼 / 환경 (프로젝트 속성)을 대상으로하는 "릴리스"모드로 컴파일 된 코드는 컴파일되지 않습니다. AVG가 꺼지면 성공적으로 컴파일됩니다.

AVG 지원 포럼에 문제를 게시했지만 아무도 응답하지 않았습니다.


나에게도 같은 일이 있었고 작업 관리자에서 보조 프로세스를 종료하려고했습니다. 그거 하지마. 해결책이 아니라 나중에 문제를 일으킬 수있는 해킹입니다. 제 경우에는 Visual Studio를 제거 할 수도 없었습니다. 나는 웹 설치와 ISO 모두 같은 문제를 시도했다.

마지막으로 작동 한 방식은 다음과 같습니다. 아무것도 설치되어 있지 않은 경우 가능한 가장 빠른 복원 지점으로 Windows 7을 복원 했으므로 다른 도구 (Java, Android API 등)간에 충돌이 발생하지 않을 것이라고 확신했습니다.

오후 10시에 Visual Studio 2015 Community Release Candidate 설치를 시작했습니다. 오전 7시에 Android API 19-21에서 작동했습니다. 한 시간 후에 마침내 Visual Studio를 준비하고있었습니다.

이것은 당신이해야 할 모든 실제로 8-9 시간을 기다리는 것 입니다. Visual Studio를 손상시킬 위험이있는 보조 설치 프로그램을 종료하지 마십시오. 기다려


설치 중에 중단 된 것으로 생각되면 (특히 "Android SDK 설정"중에) % temp % 디렉토리를 찾아 "수정 한 날짜"(내림차순)로 주문하면 설치 프로그램에서 생성 한 로그 파일이 많이 있어야합니다. .

"Android SDK 설정"의 이름은 "AndroidSDK_SI.log"(또는 유사)입니다.

파일을 열고 파일 끝까지 가져옵니다 (Ctrl + End). 이것은 다운로드중인 현재 파일의 진행률을 나타냅니다.

즉 : " (80 %, 349 KiB / s, 99 초 남음) "

파일을 다시 열면 다시 끝까지 다운로드가 진행되었음을 나타내는 추가 표시가 나타납니다 (또는 파일의 수정 된 타임 스탬프 (분)를 추적 할 수 있음).

즉 : " (99 %, 351 KiB / s, 1 초 남음) "

불행하게도 설치 프로그램은이 진행 상태를 나타내지 않습니다 (Android SDK에서 사용하는 별도의 "Java.exe"프로세스에서 실행 중임).

이것은 어떤 일이 일어나고 있는지 확인하는 데 다소 시간이 걸리는 것처럼 보이지만 설치 프로그램이 멈추지 않았으며 매우 느리지 만 무언가를하고 있음을 나타냅니다.


ISO에서 VS 2015 RC를 설치하려고 할 때도 같은 문제가 발생했습니다. Android SDK 설정 (API 레벨 19 및 21, 시스템 이미지) 중에 중단되었습니다. 나를 위해 문제는 계량 Wi-Fi 연결이었습니다. 설치 프로그램이 필요한 파일을 다운로드하지 않았습니다.

인터넷 연결을 해제하면 문제가 해결되었습니다. 설치가 완료되면 일부 구성 요소가 설치되지 않았으며 나중에 다운로드하여 설치하려고합니다.


Windows에 보류중인 업데이트가 있는지 확인하십시오. 다시 시작한 후 설치가 예상대로 작동했습니다.


자, 몇 시간의 인터넷 검색과 위의 제안을 포함 하여이 문제를 해결하려는 시도가 실패한 후 나는 변덕에 대해 시도한 해결책을 찾았습니다.

프로그램을 설치 한 다음 "고정"되면 취소하고 제거하지 마십시오.

그런 다음 제어판으로 이동하여 프로그램으로 이동하여 제거를 시도한 다음 제거 대신 "복구"를 선택하십시오.

"복구"Visual Studio가 5 분 안에 완전히 작동 한 것으로 보이며 매우 빠르며 모든 것이 제대로 작동하는 것 같습니다.


이 문제는 현재 Windows 10 플랫폼에 Visual Studio를 설치하는 사용자에게 특히 중요합니다. Microsoft가 제안하는 것은 바이러스 백신 및 맬웨어 방지 프로그램을 사용하지 않도록 설정하고 항상 관리자 권한으로 설정을 실행하는 것입니다.

그러나 내 경우에는이 문제를 제거하기 위해 더 많은 일을해야합니다. 1. AVG 실시간 차단 비활성화 2. 작업 관리자에서 AVG 비활성화 3. 시스템 임시 폴더에서 모든 파일과 폴더를 제거하십시오. (% temp %를 입력하여 열 수 있고 실행 프롬프트에서 Enter 키를 누르십시오.) 4. 관리자 권한으로 설치 프로그램을 다시 실행하십시오.

이 문제에서 직면전체 사건 목록은 다음과 같습니다 (visual studio 2015 설치가 중단되었습니다).

내가 어떻게 해결했는지


Android SDK 설정 (API 레벨 19 및 21) 중에 인터넷 연결을 껐다가 켜면 문제가 해결되고 설치가 성공적으로 완료되었습니다.


몇 시간 동안 다운로드 한 후 VS 2015 설치가 중단되었습니다. VS 설치 프로그램 창에서 여전히 진행 중이라고 말했지만 Windows 리소스 모니터 는 vs_community.exe 프로세스 트리에서 수십 분 동안 네트워크, 디스크 또는 CPU 사용량이 없음을 나타냅니다. Windows Process Explorer 는이 트리의 맨 아래에 wusa.exe를 공개했습니다 (wusa는 Windows Update 독립 실행 형 설치 관리자 임). wusa.exe를 죽이려는 유혹이 대신이 질문에 대한 다른 답변의 경고에주의를 기울였습니다.

여기에 다른 답변을 공부 한 후 ( 강력하게 권장) 교육받은 추측을하고 Windows 7 Pro를 다시 시작했습니다. vs_community.exe가 종료되지 않아 재시작이 중단되었습니다. 따라서 Windows 재시작 팝업에서 취소선택했습니다 .

Windows가 내 사용자 세션으로 돌아 왔으며 이제 VS 2015 설치가 시작되었습니다. (!) 프로세스 탐색기에 wusa.exe가 더 이상 존재하지 않습니다. 나는 장애물이었다,하지만 내 양심이 깨끗한 지, 따라서 의심 ( 내가 Wusa.exe를 죽이지 않았어요, 윈도우 했다!)

잠시 후 설치 관리자가 다음을 표시했습니다.

여기에 이미지 설명을 입력하십시오

Restart Now (지금 다시 시작)를 클릭하면 Windows가 "Windows 구성"화면으로 다시 시작되어 VS 설치가 완료되었습니다.


Visual Studio 준비가 중단 된 경우 :

I killed vs_enterprise.exe with higher PID, Visual Studio threw an error, that "pipe is being closed". Restarted PC & Logged in. Visual Studio started automatically and has completed within 1 minute.


A better approach to find whether one of the subinstallers is blocked is to monitor its Network and Disk I/O activity. Process Explorer from Sysinternals does an excellent job. Android SDK Setup downloads large amounts of data (more than 1GB) and the CPU sits idle waiting for an I/O-bound operation to be completed. Under no circumstances you should attempt to kill any process, or you might risk corrupting your installation of Visual Studio. In the worst case scenario, cancelling and rerunning the setup should help.


This solution is a safe mix of killing the sub tasks answer and the waiting answer:

  • when the installer gets stuck, simply launch the task manager and kill the process
  • if you attempt to run the app again, it will say that the app installation is not complete
  • run the installer again, and click on repair
  • installs fine

Mine froze on the Diagnostic Tools for 3 hours. I tried disabling my firewall and turning off internet among many other attempts to resolve this. In the end the following actions allowed the installer to complete and VS2015 Community edition to launch.

  • I then opened the latest log file in the %temp% folder, and navigated to the end of the file.
  • In the last few log lines there was an entry: "MSI (s) (DC:4C) [16:28:36:577]: Created Custom Action Server with PID xxxx"
  • I ended the process with the same PID, and then the installer continued. I had to do it roughly 3 times in total and then the installer completed successfully.

All seems to be working OK so far (fingers crossed!!)


For Windows10:

1) Kill VS2015 Process if hung

2) Disable Windows Defender

3) Open VS2015 as Administrator

4) Enable Windows Defender

5) Initial VS2015 startup is complete


I have similar problems, my savior became Windows Safe Mode

STEPS:

  1. Restart Windows in Safe Mode (*run msconfig -> boot -> boot options -> check safe boot -> mode Network)
  2. In Safe Mode:
    1. Enable Windows Installer:

      REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service"

    2. Start Windows Installer service:

      net start msiserver

    3. Run Visual Studio Updater / Installer
  3. Restart in normal mode (run msconfig -> boot -> boot options -> uncheck safe boot)

I had an issue with the Visual Studio Update 3 installer getting stuck on the "Features" tab at ther very start of installation...it would show only "Update 2 (installed)" and nothing else, with no way to proceed.

After trying some of the other more complex advice here, it turned out, to my surprise, that all I needed to do was use "Run as Administrator" when kicking off the installer. I was under the impression MSI generally runs with Admin privileges (under the Trusted Installer service) but I suppose the VS bootstrapper in this case does not.


I had the same issue. It would hang immediately, as soon as it said "Applying Microsoft Visual Studio 2015." There was only a small sliver in the progress bar. I even let the install run overnight. There was no disk activity or CPU usage from the installer.

What finally worked was to kill the process in Task Manager and restart the computer. As soon as I rebooted, the installer opened up automatically and completed successfully.


In my case the Graphics Tools Windows feature installation was hanging forever. I've installed the Optional Windows Feature manually and restarted the setup of VS 2015.


I just installed VS 2015 Enterprise on Windows Server 2012 R2. The install was fast until it reached Update 1 which is past the 90% mark on the progress indicator. At that point, it took about 2 hours to complete. Be patient before you try anything more radical.


Mine got stuck applying the .NET 4.6.1 blah... Turning off the internet and disabling Microsoft Security Essentials Real-time protection got things moving again.


Well, I cant find any SecondaryInstaller.exe to stop in task manager and even I dont have any AV rather then Windows Defender so I found something else..
I stopped windows Update from elevated cmd by writing command net stop muauserv and it worked for me...
The update will Retry again for KB2664825 so run the code again in cmd..(because the service starts automatically)

Keep trying and its done for me...!!


I had the same problem on a different context. After trying to repair, uninstall, and reinstall with no solution, I decided to wipe out all Visual Studio remnant by using TotalUninstaller by follower the steps by steps on the link below:

https://github.com/Microsoft/VisualStudioUninstaller/releases

Once everything is removed, I was able to successfully install the software.

Be aware that TotalUninstaller will remove everything related to Visual Studio 2013 to 2015. Earlier version will still be preserved.

I added this solution in case someone has the exact same problem.


I've got same problem and unfortunately the accepted answer which suggests killing SecondaryInstaller.exe messed up installing the optional items. What I've done is basically opening the task manager and locate SecondaryInstaller.exe and right click and click on Open file location. Then run SecondaryInstaller.exe as an administrator.


In my case UAC was disabled (the infamous regedit trick) and so the installer clearly could not handle it.

You could revert back to UAC for the installer, or simply try launching it as admin, it worked for me.


If you are using windows 10, "Windows defender" might be the reason for blocking. mine is hang while installing "Java SE development"

To disable windows defender during the installation phase:

Open Windows Defender by clicking the Start button Picture of the Start button. In the search box, type Defender, and then, in the list of results, click Windows Defender.

Click Settings, and turn off Real-time protection.


I have experienced similar problems with Visual Studio 2015 Update 3. In my case core issue was corrupted windows installer cache (C:\Windows\Installer)

Here is the line from msi installer log:

MSI (s) (4C:64) [10:40:10:059]: Warning: Local cached package 'C:\WINDOWS\Installer\3442502.msi' is missing.

You should check installation logs if installation cache is corrupted same way. If it is you should pray for sfc utility to recover system integrity or you would reinstall windows from scratch as corrupted windows installer cache is a complete disaster and a reason to perform clear windows installation immediately.


I had a similar problem. My solution was to switch off the antivirus software (Avast), download the .iso file, mount it (double click in the Windows Explorer on the .iso file), and then run it from the PowerShell with admin rights with the following switches:

.\vs_community.exe /NoWeb /NoRefresh

This way you don't have to go offline or remove your existing installation.


나를 위해 작업 관리자를 사용하여 설치 서비스를 강제로 중지하는 데 도움이되었습니다. 기능 및 프로그램에 Visual Studio가 설치된 경우 제거하고 컴퓨터를 다시 시작한 후 다시 설치하십시오.

설치를 시작할 때 안정적인 인터넷 연결을 유지하십시오

참고 URL : https://stackoverflow.com/questions/28788574/visual-studio-2015-installer-hangs-during-install

반응형