v1.10 — Activation with key dialog, auto-refresh, Access restriction, fixes
- Product key dialog: Fluent overlay with 5-field input + paste support
- Activate button on each license card asks for key first (/inpkey + /act)
- Auto-refresh lists after removal/activation on all pages
- Access checkbox disabled for Standard and Home & Business editions
- MSI uninstall: only accept {GUID} product codes (fix msiexec help popup)
- Window height properly resets when Details expander is collapsed
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -53,10 +53,15 @@ namespace InstaSoftOfficeTool.Pages
|
||||
? !_config.ExcludedApps.Contains(app.Id)
|
||||
: app.DefaultChecked;
|
||||
|
||||
bool isProPlus = _config.Edition != null &&
|
||||
_config.Edition.ProductId.Contains("ProPlus");
|
||||
bool accessOnly = app.Id == "Access";
|
||||
|
||||
var cb = new CheckBox
|
||||
{
|
||||
Content = app.DisplayName,
|
||||
IsChecked = isChecked,
|
||||
IsChecked = accessOnly && !isProPlus ? false : isChecked,
|
||||
IsEnabled = !(accessOnly && !isProPlus),
|
||||
Tag = app.Id,
|
||||
Style = (Style)FindResource("FluentCheckBox"),
|
||||
Margin = new Thickness(0, 4, 24, 4),
|
||||
@@ -79,7 +84,7 @@ namespace InstaSoftOfficeTool.Pages
|
||||
_config.ExcludedApps.Clear();
|
||||
foreach (var cb in _appCheckBoxes)
|
||||
{
|
||||
if (cb.IsChecked != true)
|
||||
if (cb.IsChecked != true || !cb.IsEnabled)
|
||||
{
|
||||
_config.ExcludedApps.Add((string)cb.Tag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user