Repository navigation
Add Managed Notifications Dialog, a Prefs/Run/Logs admin app beside dialog.exe - #10
Merged
Merged
Conversation
…ialog.exe The WinUI 3 app installs as "Managed Notifications Dialog.exe" in the csharpDialog Program Files folder, with a Start Menu shortcut. Prefs shows versions and paths read-only, since csharpDialog reads no machine settings. Run shows an information, progress or alert test dialog through dialog.exe. Logs reads the CLI's rolling log, coloured by level. The CLI name, install folder and UpgradeCode are unchanged. The MSI now embeds its cabinet, so the single .msi the release uploads installs.
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
A WinUI 3 admin app, Managed Notifications Dialog, with the same chrome and header as the other managed-tools GUIs (Mica, custom title bar, top navigation, app header with icon, links and version).
HKLM\SOFTWARE\Policies\csharpDialog, noHKLM\SOFTWARE\csharpDialog\Settings); every option is a CLI flag. So the tab is read-only: app and CLI versions, install folder, CLI path, app path, log folder. No Unlock, nothing written.dialog.exewith the preset's flags, unelevated, and streams stdout/stderr into a console coloured by level. Each preset uses--windowand a 60-second--timeout.%ProgramData%\ManagedNotifications\logs\csharpdialog.logand its rotated generations, with filter, open-in-editor and open-folder; lines coloured by level.--tab run|logs|prefsopens on a tab.Packaging
build.ps1publishes the app into the same folder as the CLI, then generatesresources.priwithmakepri.exe(PriGen needs a VS workload CI runners lack). Both are self-contained from the same SDK; overlapping runtime files were compared and are identical.dialog.exe.MediaTemplate EmbedCab="yes"). Before, the cabs were written beside the MSI and the release uploaded only the.msi..pkg: postinstall also creates the Start Menu shortcut.Tests
New
tests/CsharpDialog.Core.Tests(25 tests): log-level colouring for both the file-log and stdout forms, presets parse through the realCommandLineParser, CLI lookup order, log generation listing. CI now runs them.Verified
dotnet build(Release) anddotnet test: 25 passed.build.ps1 -Build -Msi -Pkg -Runtime win-x64produces the MSI and .pkg.