Rename CLI executable to managedbootstrapinstall.exe#8
Merged
Conversation
…all.exe - csproj AssemblyName drives the new exe name - BootstrapMateConstants.CliExecutableName, Program.cs usage/help text - build.ps1 published-exe paths - WiX: File Source, RemoveFile, self-heal scheduled task command, wixproj existence check; adds a RemoveFile sweeping the legacy installapplications.exe on upgrade (hard cut) - README usage + CI/release workflow steps (upstream credit links to macadmins/rodchristiansen installapplications left intact) Registry detection (HKLM\SOFTWARE\BootstrapMate\Version) is unchanged, so no Intune detection churn. Must release before the Cimian bootstrap pipeline change that repacks this MSI.
There was a problem hiding this comment.
Pull request overview
Hard rename of the Windows CLI executable from installapplications.exe to managedbootstrapinstall.exe, updating build/publish tooling, installer packaging, and documentation so the new binary name is consistently produced and referenced.
Changes:
- Renamed the CLI output binary via
AssemblyNameand updated runtime/help text to the new executable name. - Updated build scripts and GitHub Actions workflows to publish/copy the renamed executable.
- Updated WiX installer inputs and upgrade cleanup behavior for the renamed executable.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/BootstrapMate.Core/BootstrapMateConstants.cs | Updates the shared constant for the CLI executable filename. |
| README.md | Updates usage examples and packaging documentation to reference the renamed executable. |
| Program.cs | Updates elevation restart path and help/usage text to the renamed executable. |
| installer/Product.wxs | Updates MSI payload source and scheduled-task command to the renamed executable; adds legacy cleanup. |
| installer/BootstrapMate.Installer.wixproj | Updates pre-build existence checks to the renamed executable filename. |
| build.ps1 | Updates publish output checks and test invocation paths to the renamed executable. |
| BootstrapMate.csproj | Renames output binary via AssemblyName. |
| .github/workflows/release.yml | Updates workflow step labels and artifact copy paths for the renamed executable. |
| .github/workflows/ci.yml | Updates workflow step label for the renamed executable build. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+82
to
+86
| # Run with a manifest URL | ||
| .\publish\x64\installapplications.exe --url "https://your-domain.com/bootstrap/management.json" | ||
| .\publish\x64\managedbootstrapinstall.exe --url "https://your-domain.com/bootstrap/management.json" | ||
|
|
||
| # Check status (useful for troubleshooting) | ||
| .\publish\x64\installapplications.exe --status | ||
| .\publish\x64\managedbootstrapinstall.exe --status |
Comment on lines
+88
to
+89
| # Clear status (for testing) | ||
| .\publish\x64\installapplications.exe --clear-status | ||
| .\publish\x64\managedbootstrapinstall.exe --clear-status |
Comment on lines
+45
to
+48
| <File Id="BootstrapMateExe" Source="$(var.BIN_DIR)\managedbootstrapinstall.exe" KeyPath="yes" Vital="yes" /> | ||
| <RemoveFile Id="RemoveOldExecutable" Name="managedbootstrapinstall.exe" On="both" /> | ||
| <!-- Hard cut: sweep the legacy installapplications.exe left by pre-rename installs --> | ||
| <RemoveFile Id="RemoveLegacyExecutable" Name="installapplications.exe" On="both" /> |
…RemoveFile - README Quick Start now points at publish\executables\x64 (the layout build.ps1 actually produces), not publish\x64 - Product.wxs: remove the RemoveFile targeting the component's own managedbootstrapinstall.exe (the File table removes it automatically); keep only the legacy installapplications.exe sweep
Contributor
Author
|
Addressed Copilot review in 1f8cbc8:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Hard-cut rename of the Windows CLI executable
installapplications.exe→managedbootstrapinstall.exe.Changes
BootstrapMate.csprojAssemblyName(root driver of the exe name)BootstrapMateConstants.CliExecutableName,Program.csusage/help/process-path textbuild.ps1published-exe path literalsProduct.wxs:File Source,RemoveFile, self-heal scheduled-task command, prose comments; adds aRemoveFilethat sweeps the legacyinstallapplications.exeon upgrade (hard cut)BootstrapMate.Installer.wixprojexistence-checkmacadmins/installapplicationsandrodchristiansen/installapplicationsleft intact)Notes / coordination
HKLM\SOFTWARE\BootstrapMate\Version), so the exe rename causes no detection churn.cimian-bootstrap-mgmt.ymlchange, which extracts/re-signs/repacks this MSI and keys its bin/app split off the exe filename. The pipeline PR bumpsbootstrapMateTagto this release.net10.0-windowsself-contained + WiX can't cross-build on macOS. CI builds it on a Windows runner.Part of the cross-repo
installapplications→managedbootstrapinstallswitch.