Skip to content

Completely lost with installing core runtime (dotnet 8) #1639

Discussion options

You must be logged in to vote

I'm also installing .NET 8 on my side. I'm using a bootstrapper indeed.

To do so, I'm creating an ExePackage and specifying the URL where the user machine will be able to download the installer. You have also have to supply the installer's hash and its size to make sure that the machine has the one you intended to install.

const string DotnetRuntimeDownloadUrl = "https://download.visualstudio.microsoft.com/download/pr/b280d97f-25a9-4ab7-8a12-8291aa3af117/a37ed0e68f51fcd973e9f6cb4f40b1a7/windowsdesktop-runtime-8.0.0-win-x64.exe";
(var hash, var size) = await GetHashAndSizeAsync(DotnetRuntimeDownloadUrl);

var dotnetInstaller = new ExePackage
{
	Id = "DotNet8",
	InstallArguments = "/install…

Replies: 2 comments 19 replies

Comment options

You must be logged in to vote
13 replies
@NJullienSweet
Comment options

@oleg-shilo
Comment options

@oleg-shilo
Comment options

@oleg-shilo
Comment options

@Lindsay-Mathieson
Comment options

Answer selected by Lindsay-Mathieson
Comment options

You must be logged in to vote
6 replies
@Lindsay-Mathieson
Comment options

@Lindsay-Mathieson
Comment options

@oleg-shilo
Comment options

@Lindsay-Mathieson
Comment options

@oleg-shilo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants