Skip to content

fix(setup): skip self-bootstrapping .NET runtime on silent installs#613

Merged
Hirogen merged 3 commits into
Developmentfrom
silentsetupfor_winget
Jun 12, 2026
Merged

fix(setup): skip self-bootstrapping .NET runtime on silent installs#613
Hirogen merged 3 commits into
Developmentfrom
silentsetupfor_winget

Conversation

@Hirogen

@Hirogen Hirogen commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

The installer's InitializeSetup unconditionally ran Dependency_AddDotNet100Desktop, which re-handled the .NET 10 Desktop Runtime even when winget had already installed it as a declared manifest dependency. In a clean environment that second attempt failed into a Windows 'Search for app in the Store?' (SE_ERR_NOASSOC) dialog; cancelling it aborted setup with 0x800704c7.

Guard the bootstrap behind 'not WizardSilent' so silent/managed installs (winget) rely on the manifest dependency, while standalone double-click installs still bootstrap .NET.

BRUNER Patrick and others added 3 commits June 12, 2026 10:57
The installer's InitializeSetup unconditionally ran Dependency_AddDotNet100Desktop,
which re-handled the .NET 10 Desktop Runtime even when winget had already installed it
as a declared manifest dependency. In a clean environment that second attempt failed
into a Windows 'Search for app in the Store?' (SE_ERR_NOASSOC) dialog; cancelling it
aborted setup with 0x800704c7.

Guard the bootstrap behind 'not WizardSilent' so silent/managed installs (winget) rely
on the manifest dependency, while standalone double-click installs still bootstrap .NET.
@Hirogen Hirogen merged commit 2e3bb59 into Development Jun 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant