2013-11-21 8 views
5

Próbuję zainstalować MVC 4 w Visual Studio 2010, ale nadal nie działa zarówno z instalatorem sieciowym, jak i instalatorem offline.Niepowodzenie instalacji MVC 4 - offline lub z instalatorem sieciowym

Próbowałem pozycji wymienionych w tym pytaniu "MVC 4 installation failure", ale na próżno.

Błąd z instalatorem internetowej jest następujący:

DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9824573 
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9824573 responded with 302 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 302 Found 
Cache-Control: private 
Content-Length: 175 
Content-Type: text/html; charset=utf-8 
Expires: Thu, 21 Nov 2013 20:05:20 GMT 
Location: https://www.microsoft.com/web/webpi/4.6/webproductlist.xml 
Server: Microsoft-IIS/7.5 
X-AspNet-Version: 2.0.50727 
Set-Cookie: MC1=GUID=********&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/ 
X-Powered-By: ASP.NET 
Date: Thu, 21 Nov 2013 20:06:20 GMT 


DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.6/webproductlist.xml responded with 304 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 304 Not Modified 
Cache-Control: max-age=900 
Accept-Ranges: bytes 
ETag: "46991ac784e4ce1:0" 
Server: Microsoft-IIS/8.0 
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" 
VTag: 791225631700000000 
X-Powered-By: ASP.NET 
X-Powered-By: ARR/2.5 
X-Powered-By: ASP.NET 
Date: Thu, 21 Nov 2013 20:06:20 GMT 


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\-872341423.xml.temp 
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64 
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.6/webapplicationlist.xml 
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.6/webapplicationlist.xml responded with 304 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 304 Not Modified 
Cache-Control: max-age=900 
Accept-Ranges: bytes 
ETag: "49f9d365cde0ce1:0" 
Server: Microsoft-IIS/8.0 
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" 
VTag: 791225631700000000 
X-Powered-By: ASP.NET 
X-Powered-By: ARR/2.5 
X-Powered-By: ASP.NET 
Date: Thu, 21 Nov 2013 20:06:22 GMT 


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\751837351.xml.temp 
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64 
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/4.6/webapplicationlist.xml' after preprocessing, location on disk: 'C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\preprocessor\751837351.xml' 
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.6/mediaproductlist.xml 
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.6/mediaproductlist.xml responded with 304 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 304 Not Modified 
Cache-Control: max-age=900 
Accept-Ranges: bytes 
ETag: "0bfe8cc116dce1:0" 
Server: Microsoft-IIS/8.0 
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" 
VTag: 279888730500000000 
X-Powered-By: ASP.NET 
X-Powered-By: ARR/2.5 
X-Powered-By: ASP.NET 
Date: Thu, 21 Nov 2013 20:06:22 GMT 


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\1953942818.xml.temp 
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64 
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/4.6/mediaproductlist.xml' after preprocessing, location on disk: 'C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1953942818.xml' 
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.6/ToolsProductList.xml 
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.6/ToolsProductList.xml responded with 304 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 304 Not Modified 
Cache-Control: max-age=900 
Accept-Ranges: bytes 
ETag: "3454204a6ee1ce1:0" 
Server: Microsoft-IIS/8.0 
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" 
VTag: 438595230500000000 
X-Powered-By: ASP.NET 
X-Powered-By: ARR/2.5 
X-Powered-By: ASP.NET 
Date: Thu, 21 Nov 2013 20:06:22 GMT 


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\-95717523.xml.temp 
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64 
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/4.6/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-95717523.xml' 
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.6/enterpriseproductlist.xml 
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.6/enterpriseproductlist.xml responded with 304 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 304 Not Modified 
Cache-Control: max-age=900 
Accept-Ranges: bytes 
ETag: "a744a9fbddace1:0" 
Server: Microsoft-IIS/8.0 
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" 
VTag: 438811431600000000 
X-Powered-By: ASP.NET 
X-Powered-By: ARR/2.5 
X-Powered-By: ASP.NET 
Date: Thu, 21 Nov 2013 20:06:22 GMT 


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\-1709116680.xml.temp 
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64 
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/4.6/enterpriseproductlist.xml' after preprocessing, location on disk: 'C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1709116680.xml' 
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://go.microsoft.com/?linkid=9824573' after preprocessing, location on disk: 'C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-872341423.xml' 
DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395 
DownloadManager Information: 0 : Contextual entry products: MVC4VS2010_Loc 
DownloadManager Information: 0 : Adding product ASP.NET MVC 4 with Language Packs (August 2012) (MVC4Vs2010_Loc) to cart 
DownloadManager Information: 0 : Contextual navigation to product 'MVC4Vs2010_Loc' 
DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302 
DownloadManager Information: 0 : Response headers: 
HTTP/1.1 302 Found 
Cache-Control: private 
Content-Length: 203 
Content-Type: text/html; charset=utf-8 
Expires: Thu, 21 Nov 2013 20:05:24 GMT 
Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery 
Server: Microsoft-IIS/7.5 
X-AspNet-Version: 2.0.50727 
Set-Cookie: MC1=GUID=********&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/ 
X-Powered-By: ASP.NET 
Date: Thu, 21 Nov 2013 20:06:24 GMT 


DownloadManager Information: 0 : Content-Encoding header: 'gzip' 
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '21363' 
DownloadManager Information: 0 : Number of bytes after possible decompression: '71682' 
DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150 
DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed. 
DownloadManager Information: 0 : Ratings file loaded successfully 
DownloadManager Information: 0 : Adding product 'MVC4Vs2010_Loc' 
DownloadManager Information: 0 : Adding dependency product 'MVC4Vs2010_Loc_Only 
DownloadManager Information: 0 : Adding dependency product 'MVC4VS2010_Only 
DownloadManager Information: 0 : Setting current install to 1 
DownloadManager Information: 0 : Starting install sequence 
DownloadManager Information: 0 : Downloading file 'http://download.microsoft.com/download/2/F/6/2F63CCD8-9288-4CC8-B58C-81D109F8F5A3/AspNetMVC4Setup.exe' to: H:\TEMP\tmp3847.tmp 
DownloadManager Information: 0 : Content-disposition header: attachment 
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '37684848' 
DownloadManager Information: 0 : Number of bytes after possible decompression: '37684848' 
DownloadManager Information: 0 : File 'C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\installers\MVC4VS2010_Only\82BCBAE192F8CB875C814821A536C959F85D4727\AspNetMVC4Setup.exe' already exists, deleting old copy of the file 
DownloadManager Information: 0 : Moving downloaded file 'H:\TEMP\tmp3847.tmp' to: C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\installers\MVC4VS2010_Only\82BCBAE192F8CB875C814821A536C959F85D4727\AspNetMVC4Setup.exe 
DownloadManager Information: 0 : Starting EXE command for product 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale'. Commandline is: 'C:\Users\********\AppData\Local\Microsoft\Web Platform Installer\installers\MVC4VS2010_Only\82BCBAE192F8CB875C814821A536C959F85D4727\AspNetMVC4Setup.exe /q /log H:\TEMP\MVC4VS2010_Only_install.htm'. Process Id: 2192 
DownloadManager Information: 0 : Install exit code for product 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale' is '-2147023293' 
DownloadManager Error: 0 : Install return code for product 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale' is Failure 
DownloadManager Information: 0 : Product ASP.NET MVC 4 Installer (VS 2010)- Default Locale done install completed 
DownloadManager Information: 0 : Increasing current install to 2 
DownloadManager Warning: 0 : Dependency failed for product 'ASP.NET MVC 4 Language Packs Installer'. Skipping install 
DownloadManager Warning: 0 : Dependency failed for product 'ASP.NET MVC 4 with Language Packs (August 2012)'. Skipping install 
DownloadManager Information: 0 : Product ASP.NET MVC 4 Language Packs Installer had a dependency fail. Increasing install product to 3 
DownloadManager Information: 0 : Product ASP.NET MVC 4 with Language Packs (August 2012) had a dependency fail. Increasing install product to 4 

to na Windows 7 64 bit. Jeśli spróbuję użyć instalatora offline, otrzymam Setup FailedOne or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the log file.. Jednak po kliknięciu link log file nigdzie się nie kręci.

Odpowiedz

16

Po wypróbowaniu @Jacques Eloff's solution Zbadałem plik dziennika i znaleźć następujący wpis:

[2024:21C8][2013-11-22T08:47:22]: Applying execute package: VS10SP1_KB2591016_x86.exe, action: Install, path: C:\ProgramData\Package Cache\5BA5217D49F8BECD7CA452F2F366CD7C99FF1F16\VS10SP1-KB2591016-x86.exe, arguments: '"C:\ProgramData\Package Cache\5BA5217D49F8BECD7CA452F2F366CD7C99FF1F16\VS10SP1-KB2591016-x86.exe" /q /norestart' 
[2024:21C8][2013-11-22T08:47:40]: Error 0x80070643: Process returned error: 0x643 

Następnie pobraną poprawkę KB2591016 ręcznie próbę instalacji. Tym razem zachęciło mnie to do zainstalowania płyty instalacyjnej VS Ultimate. Po pobraniu i zamontowaniu obrazu połączonego z this post, instalacja KB2591016 powiodła się, a następnie mogłem przystąpić do pomyślnej instalacji MVC 4.

+0

Zrobiłem to wszystko i zadziałało dla mnie świetnie. Dzięki, że go wypuściłeś. – HBlackorby

+0

Ręczne zastosowanie pliku KB utworzyło dla mnie. –

+0

Utworzono plik ISO i zamontowałem go. Po uruchomieniu poprawki nie znaleziono pliku wymaganego w zamontowanym napędzie, a poprawka została zastosowana z powodzeniem. Byłem wtedy ableto uruchomić instalację MVC 4 bez błędu. – JohnL

5

sugeruję następujące:

  1. Upewnij się, że dodatek SP1 dla Visual Studio 2010 zainstalowany. MVC 4 dla VS 2010 zależy od tego, ponieważ instaluje wiele łatek dla SP1, one, które pozwalają NuGet MSI zainstalować rozszerzenie NuGet w Visual Studio. Nawet gdybyś mógł zaktualizować NuGet bezpośrednio przez Galerię VS, EXE nadal będzie próbował uruchomić NuGet MSI.

  2. Otwórz Panel sterowania i przejdź do Zainstalowane programy. Wyszukaj wpis, który mówi: NuGet lub Microsoft NuGet dla Visual Studio 2010 i odinstaluj go. To nie usunie NuGeta z Visual Studio, jest to tylko MSI, który zawierał NuGet, który zostałby usunięty - rozszerzenie pozostanie zainstalowane.

  3. Pobierz samodzielny instalator MVC 4 z http://www.microsoft.com/en-us/download/details.aspx?id=30683 i uruchom go. Instalator utworzy pewną liczbę plików dziennika w folderze% temp%. Będzie plik dziennika dla EXE, a także każdego instalowanego przez niego MSI, łącznie z plikiem EXE, o którym wspomniałem w # 1. Wszystkie pliki dziennika powinny być poprzedzone dd_AspNetMvc4_

  4. Kolejnym punktem awarii może być Web Pages 2 Runtime MSI że instalator wykonuje. MSI spróbuje zmodyfikować plik root web.config. To powinno być łatwe do ustalenia, czy jest to punkt awarii:

    • Dziennik EXE pokaże, że na stronach internetowych 2 MSI nie powiodło się, prawdopodobnie z kodem powrotu 1603
    • Dziennik MSI pokaże więcej szczegółowy błąd.
+0

Dzięki. Próbowałem (2) i (3) pomógł mi znaleźć plik dziennika, gdy ponownie się nie powiodło. – SilverlightFox

0

Połączenie odpowiedzi SilverlightFox i Jacquesa Eloffa dla mnie.Kroki, które podjąłem, to:

  1. Najpierw sprawdź aktualizacje systemu Windows i zainstaluj je, jeśli takie istnieją. Miałem trochę.
  2. Upewnij się, że dodatek SP1 dla programu Visual Studio 2010 zainstalowany
  3. unistall ASP.NET Web Pages 2
  4. unistall Nuget lub Microsoft Nuget dla Visual Studio 2010
  5. Pobierz i zamontować obraz .ISO wizualne Studio 2010 Ultimate połączone z this post
  6. Pobierz poprawkę KB2591016 ręcznie. To monit o dysk instalacyjny VS Ultimate (dlatego zrobiłem krok 5)
  7. Pobierz Web Platform Installer 5 (ostatnie wydanie)
  8. Uruchom ponownie komputer.
  9. Rozpocznij instalację ramki ASP.NET MVC 4 z pakietem językowym (sierpień 2012) z WebPI.

Mam nadzieję, że pomogę innym z tym samym irytującym problemem. Podczas tej procedury również ujednoliciłem mój program antywirusowy Kaspersky i włączono zaporę systemu Windows.