Skip to content

Conversation

@kraenhansen
Copy link
Contributor

Description

Merging this PR will:

  • Instruct Squirrel.Windows-based installer to install into a sandbox directory.
  • Debug instead of throwing if removal of an existing installer fails - for some reason.

Checklist

  • New tests and/or benchmarks are included
  • Documentation is changed or added
  • If this change updates the UI, screenshots/videos are added and a design review is requested
  • I have signed the MongoDB Contributor License Agreement (https://www.mongodb.com/legal/contributor-agreement)

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@kraenhansen kraenhansen self-assigned this Jun 18, 2025
@kraenhansen kraenhansen added no release notes Fix or feature not for release notes no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) labels Jun 18, 2025
[
// Args are passed through to the Update.exe https://github.com/Squirrel/Squirrel.Windows/blob/51f5e2cb01add79280a53d51e8d0cfa20f8c9f9f/src/Setup/winmain.cpp#L125
// See options in https://github.com/Squirrel/Squirrel.Windows/blob/51f5e2cb01add79280a53d51e8d0cfa20f8c9f9f/src/Update/StartupOption.cs
'--silent',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does --silent do, though? That link just says { "s|silent", "Silent install", _ => silentInstall = true},

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'll avoid showing the install GUI and starting the application (which is what I think might be causing some issues).

@kraenhansen kraenhansen marked this pull request as ready for review June 18, 2025 21:05
@kraenhansen kraenhansen requested a review from a team as a code owner June 18, 2025 21:05
@kraenhansen
Copy link
Contributor Author

kraenhansen commented Jun 18, 2025

This had three successful executions in a row 🤞

@kraenhansen kraenhansen merged commit 7e534be into main Jun 18, 2025
110 checks passed
@kraenhansen kraenhansen deleted the kh/smoke-test/windows-fixes branch June 18, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no release notes Fix or feature not for release notes no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants