Skip to content

Release 3.0: engine fixes + efficiency, new HTML Profile Generator, docs - #25

Open
GrischaE1 wants to merge 1 commit into
mainfrom
release/3.0
Open

GrischaE1 wants to merge 1 commit into
mainfrom
release/3.0

Conversation

@GrischaE1

Copy link
Copy Markdown
Owner

Control My Update 3.0

Major maintenance + tooling release.

Engine (ControlMyUpdate.ps1)

Fixes

  • Honour NoReboot (was hard-coded off, so "never reboot" never actually worked)
  • Record post-install status against the correct KB (previously wrong for emergency / failed installs — this feeds the sensors & dashboard)
  • Fix 32/64-bit registry hive detection (tested the wrong variable)
  • Remove a redundant online update scan and a malformed pending-reboot check

Performance

  • Cache the installed-update list (WMI/DISM) per run — DISM no longer runs 3–6× per execution
  • Get-WmiObject → Get-CimInstance
  • Buffered log writes; data-driven Delivery Optimization statistics

Cleanup

  • Remove dead settings so the config matches the engine; add #Requires -Version 5.1; bump to 3.0

Profile Generator

  • New single-file, offline HTML generator replacing the WPF GUI — covers the full v3.0 setting surface (incl. RebootGracePeriod, which the old GUI could never set). Emits PowerShell, Workspace ONE SyncML, or .reg, plus Windows Update & Delivery Optimization CSP profiles.
  • Legacy WPF generator deprecated.

Docs & packaging

  • Rewritten README.md; new Documentation.md full reference
  • Installation.txt updated with the new detection hash + version 3.0

Verification

  • Engine parses clean (AST) and reports 3.0; generator logic tested against synthetic configs via Node; UI rendering + interactions checked in-browser (no console errors).

🤖 Generated with Claude Code

Engine (ControlMyUpdate.ps1):
- Honour NoReboot (was hard-coded off); record post-install status against the
  correct KB (fixes emergency/failed-install reporting); fix 32/64-bit registry
  hive detection; remove a redundant online scan and a malformed reboot check
- Cache installed-update list (WMI/DISM) per run; Get-WmiObject -> Get-CimInstance;
  buffered logging; data-driven Delivery Optimization statistics
- Remove dead settings so config matches the engine; add #Requires -Version 5.1; bump to 3.0

Profile Generator:
- New single-file, offline HTML generator (CMU config + Windows Update CSP +
  Delivery Optimization CSP) covering the full v3.0 setting surface, incl. RebootGracePeriod
- Deprecate the legacy WPF generator

Docs & packaging:
- Rewrite README.md; add Documentation.md full reference
- Update Installation.txt detection hash and version to 3.0

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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