none
Visual Studio 2019 non si installa RRS feed

  • Domanda

  • Ciao a tutti,
    sono già alla 3a riformattazione completa di un notebook HP Omen in quanto non riesco ad installare Visual Studio 2019 (qualsiasi edizione) partendo dall'installer che si scarica dal sito di MSDN. 

    Precisamente arrivo fino alla prima finestra sottostante: 

    e poi scompare senza far accadere più nulla. 

    In sostanza non arrivo alla finestra coi "Carichi di lavoro" da installare. 

    Avvio il file anche con utenza amministrativa e, come detto, non dovrebbero esserci problemi di compatibilità software, 
    dato che lo installo su di una versione di Windows 10 pulita (eseguiti solo gli aggiornamenti). 

    Ancora non sono riuscito a risolvere l'arcano. 

    Qualcuno ha idea del perchè succede? 

    Grazie

    Luigi

    sabato 6 marzo 2021 09:39

Risposte

Tutte le risposte

  • Bisogna che guardi i file di log dell'installazione e scrivi qualcosa di significativo, con i dati forniti ti posso solo consigliare alcuni link

    Troubleshoot Visual Studio installation and upgrade issues

    Assistenza relativa a Visual Studio

    potresti anche tentare una installazione offline

    Create an offline installation of Visual Studio


    Gastone Canali >


    Se alcuni post rispondono al tuo quesito, ricorda di contrassegnarli come risposta e non dimenticare anche i post utili. GRAZIE! Dai un occhio ai link Click Here and Here Leaderboard Here

    • Contrassegnato come risposta Ciupaz sabato 6 marzo 2021 19:17
    sabato 6 marzo 2021 16:03
    Moderatore
  • Ho provato ad installare CollectInfo.exe, come raccomandato in uno dei link 
    che mi hai fornito (la cancellazione della directory Installer non ha sortito effetto): 

    All'interno del file zippato vslogs.zip (sotto cartella Temp) c'è il file: 

    dd_installer_20210306173005.log

    che ha il seguente contenuto: 


    [3fcc:0001][2021-03-06T17:30:06] Setting the locale to it-IT.
    [3fcc:0001][2021-03-06T17:30:06] Saving the current locale (it-IT) to user.json.
    [3fcc:0001][2021-03-06T17:30:06] Setting the telemetry services
    [3fcc:0004][2021-03-06T17:30:06] Creating a new telemetry service.
    [3fcc:0001][2021-03-06T17:30:06] Visual Studio Installer Version: 2.9.3349
    [3fcc:0001][2021-03-06T17:30:06] Raw Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" /finalizeInstall install --in "C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper_202103061729491042.json" --locale it-IT --activityId "8aa31365-d815-43b9-b256-9982531f77ce" --campaign "1348547099" --pipe "db766ea6-78b5-4e68-9550-0e67664c2904"
    [3fcc:0001][2021-03-06T17:30:06] Parsed command line options: install --activityId 8aa31365-d815-43b9-b256-9982531f77ce --campaign 1348547099 --channelId VisualStudio.16.Release --channelUri https://aka.ms/vs/16/release/channel --locale it-IT --pipe db766ea6-78b5-4e68-9550-0e67664c2904 --productId Microsoft.VisualStudio.Product.Enterprise
    [3fcc:0008][2021-03-06T17:30:07] Creating new ExperimentationService
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.source : WPF
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.locale : it-IT
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.installerversion : 2.9.3349.28498
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.startmethod : indirect
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.activityid : 8aa31365-d815-43b9-b256-9982531f77ce
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.campaign : 1348547099
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.passive : False
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.quiet : False
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.processtype : ui
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.force : False
    [3fcc:0004][2021-03-06T17:30:07] Telemetry property vs.willow.noweb : False
    [3fcc:0008][2021-03-06T17:30:07] Telemetry property VS.ABExp.Flights : lazytoolboxinit;fwlargebuffer;refactoring;spmoretempsbtn1;asloff;keybindgoldbarext;asynccsproj;vsfricheditor;completionapi;tn-vsmacnps-7;toggleblockcomment;tasmigddvs;multitenanttasmigration_002;vsfdevcom2;lsprmsgvol;parallel-lsp-clients;vswnewinstaller
    [3fcc:0001][2021-03-06T17:30:07] Getting singleton lock.
    [3fcc:0001][2021-03-06T17:30:07] Getting singleton lock succeed.
    [3fcc:0001][2021-03-06T17:30:09] Navigation requested from ApplicationViewModel to MainPageViewModel
    [3fcc:0009][2021-03-06T17:30:09] Telemetry property vs.setup.WorkloadOverrides.DidReceiveOverride : False
    [3fcc:0009][2021-03-06T17:30:09] Telemetry property vs.setup.WorkloadOverrides.RuleId : None
    [3fcc:0006][2021-03-06T17:30:09] Telemetry property VS.SetupEngine.ChannelUpdateDisabled : False
    [3fcc:0006][2021-03-06T17:30:09] Trying to remove channel manifest: C:\Users\Luigi\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\installChannelManifest.json
    [3fcc:0006][2021-03-06T17:30:09] Trying to remove product manifest: C:\Users\Luigi\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\install_catalog.json
    [3fcc:0006][2021-03-06T17:30:09] Download requested: https://aka.ms/vs/16/release/channel
    [3fcc:001a][2021-03-06T17:30:09] Attempting download 'https://aka.ms/vs/16/release/channel' using engine 'WebClient'
    [3fcc:001a][2021-03-06T17:30:09] Uri 'https://aka.ms/vs/16/release/channel' redirected to 'https://download.visualstudio.microsoft.com/download/pr/5c555b0d-fffd-45a2-9929-4a5bb59479a4/415e00c595daab0696804c7c05156e040fc8d894e6c9d70a1d7a7ead9b9e35ae/VisualStudio.16.Release.chman'
    [3fcc:001a][2021-03-06T17:30:09] ManifestVerifier Result: Success
    [3fcc:001a][2021-03-06T17:30:09] Download of 'https://aka.ms/vs/16/release/channel' succeeded using engine 'WebClient'
    [3fcc:0005][2021-03-06T17:30:09] The channel manifest is already in the cache.
    [3fcc:0019][2021-03-06T17:30:10] Uri 'https://go.microsoft.com/fwlink/?linkid=857708' redirected to 'https://sendvsfeedback2.azurewebsites.net/api'
    [3fcc:0007][2021-03-06T17:30:10] Created shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio Installer.lnk
    [3fcc:0007][2021-03-06T17:30:10] Starting C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.windows.exe with arguments /finalizeinstall 6F320B93-EE3C-4826-85E0-ADF79F8D4C61 "Visual Studio Installer" "Microsoft Visual Studio Installer" 2.9.3349.28498 0 "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
    [3fcc:000b][2021-03-06T17:30:10] Download requested: https://aka.ms/vs/16/release/channel
    [3fcc:0019][2021-03-06T17:30:10] Attempting download 'https://aka.ms/vs/16/release/channel' using engine 'WebClient'
    [3fcc:0005][2021-03-06T17:30:10] Download requested: https://go.microsoft.com/fwlink/?linkid=2066144
    [3fcc:001b][2021-03-06T17:30:10] Attempting download 'https://go.microsoft.com/fwlink/?linkid=2066144' using engine 'WebClient'
    [3fcc:0019][2021-03-06T17:30:11] Uri 'https://aka.ms/vs/16/release/channel' redirected to 'https://download.visualstudio.microsoft.com/download/pr/5c555b0d-fffd-45a2-9929-4a5bb59479a4/415e00c595daab0696804c7c05156e040fc8d894e6c9d70a1d7a7ead9b9e35ae/VisualStudio.16.Release.chman'
    [3fcc:0019][2021-03-06T17:30:11] ManifestVerifier Result: Success
    [3fcc:0019][2021-03-06T17:30:11] Download of 'https://aka.ms/vs/16/release/channel' succeeded using engine 'WebClient'
    [3fcc:0008][2021-03-06T17:30:11] Channel manifest for https://aka.ms/vs/16/release/channel is already up to date.
    [3fcc:0008][2021-03-06T17:30:11] Checking if catalog is in sync with channel manifest for https://aka.ms/vs/16/release/channel.
    [3fcc:0007][2021-03-06T17:30:11] Finalizer completed successfully
    [3fcc:0018][2021-03-06T17:30:11] Setup Engine v2.9.3349, Microsoft Windows NT 10.0.19043.0
    [3fcc:0018][2021-03-06T17:30:11] Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" /finalizeInstall install --in "C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper_202103061729491042.json" --locale it-IT --activityId "8aa31365-d815-43b9-b256-9982531f77ce" --campaign "1348547099" --pipe "db766ea6-78b5-4e68-9550-0e67664c2904"
    [3fcc:001b][2021-03-06T17:30:11] Uri 'https://go.microsoft.com/fwlink/?linkid=2066144' redirected to 'https://vsstartpage.blob.core.windows.net/news/vs'
    [3fcc:001b][2021-03-06T17:30:11] Download of 'https://go.microsoft.com/fwlink/?linkid=2066144' succeeded using engine 'WebClient'
    [3fcc:0001][2021-03-06T17:30:11] Error 0x80131537: Application failed with an uncaught exception: Stringa non riconosciuta come valore DateTime valido.
       in System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, TimeSpan& offset)
       in System.DateTimeOffset.Parse(String input)
       in Microsoft.VisualStudio.Setup.Installer.DeveloperNews.ViewModels.NewsFeedItemViewModel..ctor(NewsFeedItem item)
       in Microsoft.VisualStudio.Setup.Installer.DeveloperNews.ViewModels.DeveloperNewsViewModel.<>c__DisplayClass6_1.<LoadNewsFeed>b__1()
       in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       in System.Windows.Threading.DispatcherOperation.InvokeImpl()
       in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       in MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
       in System.Windows.Threading.DispatcherOperation.Invoke()
       in System.Windows.Threading.Dispatcher.ProcessQueue()
       in System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       in MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       in MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       in MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       in System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       in System.Windows.Application.RunDispatcher(Object ignore)
       in System.Windows.Application.RunInternal(Window window)
       in Microsoft.VisualStudio.Setup.Installer.Application.MainApplication.Microsoft.VisualStudio.Setup.Installer.IApplication.Run()
       in Microsoft.VisualStudio.Setup.Installer.Program.ExecuteInternal(IServiceContainer services, ICommandLineParserResult`1 parserResult, ITelemetry telemetry, ILogger logger)
    [3fcc:0001][2021-03-06T17:30:11] Adding Install Log to Watson=C:\Users\Luigi\AppData\Local\Temp\dd_installer_20210306173005.log
    [3fcc:0018][2021-03-06T17:30:12] ManifestVerifier Result: Success
    [3fcc:0018][2021-03-06T17:30:12] Catalog load operation correlation: {"id":"488f617f-206a-4ab3-87b6-8b957c7dc9f6"}
    [3fcc:0001][2021-03-06T17:30:12] Exit Code: -2146233033
    [3fcc:0001][2021-03-06T17:30:12] Releasing singleton lock.
    [3fcc:0001][2021-03-06T17:30:12] Releasing singleton lock succeed.
    [3fcc:0001][2021-03-06T17:30:12] Trying to remove channel manifest: C:\Users\Luigi\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\installChannelManifest.json
    [3fcc:0001][2021-03-06T17:30:12] Trying to remove product manifest: C:\Users\Luigi\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\install_catalog.json

    Ci sono anche altri log, ma su questi non ho trovato errori. 

    sabato 6 marzo 2021 16:44
  • Ciao Luigi

    Error 0x80131537: Application failed with an uncaught exception:

    https://developercommunity.visualstudio.com/t/visual-studio-installer-fails-version-2830741022-w/1286252

    tenterei una installazione off line dato che seri alla terza riformattazione


    Gastone Canali >


    Se alcuni post rispondono al tuo quesito, ricorda di contrassegnarli come risposta e non dimenticare anche i post utili. GRAZIE! Dai un occhio ai link Click Here and Here Leaderboard Here

    • Contrassegnato come risposta Ciupaz sabato 6 marzo 2021 19:17
    sabato 6 marzo 2021 17:17
    Moderatore
  • Dal prompt dei comandi, all'interno di una cartella di appoggio (C:\Tmp) dove ho copiato l'installer, 
    ho eseguito il seguente comando: 

    vs_enterprise__1348547099.exe --layout c:\vslayout --lang en-US

    come spiegato nella pagina: 

    https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019 

    Al termine del download ho eseguito quindi il comando: 

    c:\vslayout\vs_enterprise__1348547099.exe --noweb --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional

    (ho sostituito il nome dell'esempio con "enterprise", dato che la mia versione è appunto la Enterprise, 
    non la Community). 

    Sono quindi riuscito a far uscire il popup di selezione dei "carichi di lavoro", portando così a termine l'installazione. 

    Grazie Gastone. 

    Luigi

    sabato 6 marzo 2021 19:17