question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.Net install is not silent

See original GitHub issue

So the version 1.1.27 chocolatey package is failing verification testing (log) because the dotnet installer hangs waiting for the finish button to be clicked, which means that the synctrazyor installer never completes and thus times out the test.

There are two major options that I see:

  1. Fix the dotnet installer so it does not show the installation is complete screen.
  2. Take a chocolatey dependency on dotnet via the dotnetfx package, so the synctrayzor installer does not need to install dotnet.

Option one is not ideal, as changing the arguments for the dotnet installer inside the synctrazyor installer might make for a worse experience for normal users, because a completely quiet install does not show the close apps warning for example. Additionally, the Chocolatey mods probably prefer that the dotnet be a dependency.

Option two does not work %100 currently. The problem is that if you install dotnet, the registry key with the current installed version does not get updated until after a reboot. So even if a dependency is taken on dotnetfx, synctrazyor will still re-install it, and then hang on the finish screen. This could be fixed at least two ways. The first would be to add an argument the synctrazyor installer to completely skip the .Net install. The second would be to find a way to detect if a high enough dotnet version is installed, even if the registry has not been updated.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
canton7commented, Jan 8, 2021

That’s OK! You saw how many people I broke with the last few releases…

1reaction
TheCakeIsNaOHcommented, Jan 8, 2021

Sorry, its been a busy week: this is on my backlog.

No problem, sorry again about not putting enough testing into my previous PRs.

I’d probably prefer putting the dependency in the nuspec, and passing a flag to the synctrayzor installer telling it not to try to install net. Thoughts?

That’s my preferred option as well,

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to install .NET Framework 4.8 in silent mode
Hi, I am unable to install .NET Framework 4.8 offline installer via silent mode. I used Admin CMD with "ndp48-x86-x64-allos-enu.exe /q ...
Read more >
Microsoft .NET Framework Silent Install (MASTER LIST)
Microsoft .NET Framework 3.5 SP1 Silent Install · Download the dotnetfx35.exe to a folder created at (C:\Downloads) · Open an Elevated Command Prompt...
Read more >
NET Framework Deployment Guide for Administrators
The program deploys a silent installation of .NET Framework 4.5. In a silent installation, users do not interact with the installation process, ...
Read more >
NET Framework 4 installation in silent mode [closed]
Can anyone explain how to make silent (without any user interface) install of .NET 4? It looks like .NET installer ignores any switches...
Read more >
Silent Installation of Microsoft .NET Framework 4.8
Silent Installation of Microsoft . NET Framework 4.8 : ManageEngine Endpoint Central.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found