2015-07-10 30 views
26

Khi tôi cố gắng cài đặt Microsoft visual studio 2015, nó cung cấp lỗi "Thiết lập bị chặn". nói với tôi: "Máy tính cần được khởi động lại trước khi thiết lập có thể tiếp tục. Vui lòng khởi động lại máy tính và chạy lại thiết lập". sau khi làm như vậy nó vẫn không hoạt động ... tôi trên Windows 10 Build 10130 này là bit cuối cùng của tập tin log:Microsoft visual studio "thiết lập bị chặn"

[0A60:1530][2015-07-10T18:48:06]i101: Detected package: VSSetupUtility_Complete_vs_community, state: Absent, cached: None 
    [0A60:1530][2015-07-10T18:48:06]i000: MUX: Setup update feature is enabled. Evaluating conditions to determine whether to run setup update. 
    [0A60:1530][2015-07-10T18:48:06]i000: MUX: Checking http://go.microsoft.com/fwlink/?LinkID=500683 for update. 
    [0A60:1530][2015-07-10T18:48:07]e000: MUX: Exception: Info: Could not download update data. 
    [0A60:1530][2015-07-10T18:48:07]e000: MUX: WARNING: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method. 
    [0A60:1530][2015-07-10T18:48:07]e000: MUX: Stack: at System.Xml.XmlTextReaderImpl.Throw(Exception e) 
     at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res, String arg) 
     at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl() 
     at System.Xml.XmlTextReaderImpl.ParseDocumentContent() 
     at System.Xml.XmlTextReaderImpl.Read() 
     at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) 
     at System.Xml.XmlDocument.Load(XmlReader reader) 
     at Microsoft.Devdiv.Bootstrapper.DownloadManager.DownloadXml(String url, Int32& returnCode) 
    [0A60:1530][2015-07-10T18:48:07]i000: MUX: Failed to download the update xml file from http://go.microsoft.com/fwlink/?LinkID=500683 Setup will not be updated. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT = v6.3) AND (WindowsBuildNumber < 9600)' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition 'CompatibilityMode = 0' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition 'NOT((VersionNT > v6.1) OR (VersionNT = v6.1 AND ServicePackLevel >= 1))' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(NOT IsLanguagePack) AND (CurrentOperation = "Install") AND (FLP_Version > v14.0.22823)' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition 'RebootPending = 1' evaluates to true. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition 'NOT (IEsvcVersionExists) OR (IEsvcVersion < v10.0)' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT < v6.2) AND ((NetworkAvailable = 0) OR (DisableRootAutoUpdate = 1)) AND NOT ((MicrosoftRootCertificateAuthority2011RootExists OR MicrosoftRootCertificateAuthority2011AuthRootExists) AND (MicrosoftRootCertificateAuthority2010RootExists OR MicrosoftRootCertificateAuthority2010AuthRootExists))' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(CurrentOperation = "Install" AND EnterpriseExists)' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(CurrentOperation = "Install" AND UltimateExists)' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(CurrentOperation = "Install" AND NOT EnterpriseExists AND ProfessionalExists)' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT = v6.3) AND (KB2919355_amd64_CurrentState <> 112 AND KB2919355_x86_CurrentState <> 112)' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT = v6.3) AND (netfxfullredist_43_DetectKey < v4.5.22816)' evaluates to false. 
    [0A60:1530][2015-07-10T18:48:07]i000: MUX: Stop Block: SystemRebootPendingBlock : The computer needs to be restarted before setup can continue. Please restart the computer and run setup again. 
    [0A60:1530][2015-07-10T18:48:07]i000: MUX: Detect Completed 
    [0A60:1530][2015-07-10T18:48:07]i000: MUX: Wait for View to be loaded 
    [0A60:139C][2015-07-10T18:48:07]i000: MUX: Detect Completed, now create view 
    [0A60:1530][2015-07-10T18:48:08]i000: MUX: View loaded 
    [0A60:1530][2015-07-10T18:48:08]i000: MUX: Stop Block: SystemRebootPendingBlock : The computer needs to be restarted before setup can continue. Please restart the computer and run setup again. 
    [0A60:1530][2015-07-10T18:48:08]i000: MUX: Go to Blocker page. 
    [0A60:1530][2015-07-10T18:48:08]i199: Detect complete, result: 0x0 

thisthe full log

Trả lời

35

Dường rằng từ Windows 8 trở đi tắt không thực sự tắt máy tính, nhưng thay vì ngủ đông nó. Điều đó gây ra các tệp hệ thống mà trình cài đặt cần để hoạt động để tiếp tục được sử dụng.

Bạn có thể bật tắt ngủ đông bằng cách chạy lệnh sau đây như một quản trị viên:

powercfg.exe /hibernate off 

Sau khi chạy nó, khởi động lại máy tính và thiết lập nên hoạt động được. Bạn có thể bật lại tính năng này bằng cách sử dụng

powercfg.exe /hibernate on 
+0

bạn là người đàn ông! – dariogriffo

+0

Câu trả lời hay đã hoạt động! nhưng khi tôi cố gắng chạy lệnh thứ hai để ngủ đông trên, tôi nhận được lỗi: Một lỗi không mong muốn (0x65b) đã xảy ra: Chức năng không thành công trong quá trình thực hiện. Có khả năng bạn đã gặp lỗi đó và bạn có biết cách sửa nó không? – CodeEngine

+2

@ omachu23 Bạn có chạy nó với tư cách quản trị viên không? – gabrieljcs

1

Bạn cũng có thể truy cập Bảng điều khiển; tùy chọn năng lượng; Chọn những gì các nút nguồn làm; Thay đổi cài đặt hiện không khả dụng; sau đó bỏ chọn hộp kiểm 'Bật khởi động nhanh (được khuyến nghị)', lưu các thay đổi rồi tắt.

6

Bạn có 2 lựa chọn:

  • Khởi động lại máy tính (không phải tắt máy!)

HOẶC

  • Nếu bạn không muốn khởi động lại máy tính, chỉ cần sử dụng ignore-restart.bat kịch bản trước khi cài đặt.
+0

SO HELPFUL !!!. Không có gì để đặt. chỉ cần đặt lại máy. vậy tnx! – Dudi

0

Tôi đã gặp sự cố này nhưng sự cố của tôi là một vấn đề hoàn toàn khác.

Vấn đề là tôi đã cố gắng để cài đặt:

Visual Studio 2015 Update 1 (x86 và x64) - Installer Web (Nhiều ngôn ngữ)

Không:

Visual Studio Professional 2015 với Cập nhật 1 (x86 và x64) - Trình cài đặt Web (tiếng Anh)

Thông báo lỗi không hữu ích, nhưng trong trường hợp của tôi có nghĩa là tôi chưa cài đặt 2015, vì vậy không thể áp dụng bản cập nhật 1.

diễn đàn MSDN bài vào đây để biết thêm:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/6c531ef3-6c95-4dc9-a9a3-d23cc95b09c3/vs2015-update-1-setup-blocked-update-1-does-not-apply-or-is-blocked-by-another-condition-on-your?forum=vssetup

1

Tôi đã cố gắng bỏ qua các lỗi tương tự trên Windows 7 x64 theo:

  • đổ thư mục Temp của Windows (thường là C:\Windows\Temp), nhưng giữ tất cả các tệp đang sử dụng
  • thực hiện khởi động lại
0

Chỉ cần đi tới dấu nhắc lệnh và chạy bên dưới: SHUTDOWN/r/f/t 0

Các vấn đề liên quan