From 292a5a093e48150854550acca8bf78bc300ddeb2 Mon Sep 17 00:00:00 2001 From: hariel1985 Date: Thu, 9 Apr 2026 12:47:44 +0200 Subject: [PATCH] Add Office 2016 support, bump to v1.20 Office 2016 Standard, Professional Plus, and Home & Business editions added with PerpetualVL2019 channel for volume licenses. Co-Authored-By: Claude Opus 4.6 (1M context) --- InstaSoftOfficeTool.csproj | 6 +++--- MainWindow.xaml | 2 +- Models/OfficeEdition.cs | 29 +++++++++++++++++++++++++++++ Models/OfficeVersion.cs | 3 ++- Pages/VersionPage.xaml | 9 +++++++++ Pages/VersionPage.xaml.cs | 2 ++ 6 files changed, 46 insertions(+), 5 deletions(-) diff --git a/InstaSoftOfficeTool.csproj b/InstaSoftOfficeTool.csproj index e35976b..2990cbd 100644 --- a/InstaSoftOfficeTool.csproj +++ b/InstaSoftOfficeTool.csproj @@ -9,9 +9,9 @@ InstaSoft Zrt. InstaSoft Office Tool Copyright (c) InstaSoft Zrt. 2026 - 1.1.9 - 1.1.9.0 - 1.1.9.0 + 1.20 + 1.20.0.0 + 1.20.0.0 app.manifest latest diff --git a/MainWindow.xaml b/MainWindow.xaml index d1c967e..4107f4b 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -45,7 +45,7 @@ Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/> - diff --git a/Models/OfficeEdition.cs b/Models/OfficeEdition.cs index a41b061..b4177e3 100644 --- a/Models/OfficeEdition.cs +++ b/Models/OfficeEdition.cs @@ -99,6 +99,35 @@ namespace InstaSoftOfficeTool.Models } }; + case OfficeVersion.Office2016: + return new[] + { + new OfficeEdition + { + DisplayName = "Standard", + Description = "Alapvető irodai alkalmazások: Word, Excel, PowerPoint, Outlook, OneNote", + ProductId = "Standard2016Volume", + Channel = "PerpetualVL2019", + IsVolume = true + }, + new OfficeEdition + { + DisplayName = "Professional Plus", + Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote, Skype for Business", + ProductId = "ProPlus2016Volume", + Channel = "PerpetualVL2019", + IsVolume = true + }, + new OfficeEdition + { + DisplayName = "Otthoni és kisvállalati verzió", + Description = "Word, Excel, PowerPoint, Outlook, OneNote — vállalkozásokban is használható", + ProductId = "HomeBusiness2016Retail", + Channel = "Current", + IsVolume = false + } + }; + default: return new OfficeEdition[0]; } diff --git a/Models/OfficeVersion.cs b/Models/OfficeVersion.cs index 04888d9..08ba6d5 100644 --- a/Models/OfficeVersion.cs +++ b/Models/OfficeVersion.cs @@ -4,6 +4,7 @@ namespace InstaSoftOfficeTool.Models { Office2024, Office2021, - Office2019 + Office2019, + Office2016 } } diff --git a/Pages/VersionPage.xaml b/Pages/VersionPage.xaml index c469264..37ac7b5 100644 --- a/Pages/VersionPage.xaml +++ b/Pages/VersionPage.xaml @@ -42,6 +42,15 @@ FontSize="12" Foreground="{StaticResource TextSecondaryBrush}" Margin="0,2,0,0"/> + + + + + + + diff --git a/Pages/VersionPage.xaml.cs b/Pages/VersionPage.xaml.cs index 92588e5..92ecd9a 100644 --- a/Pages/VersionPage.xaml.cs +++ b/Pages/VersionPage.xaml.cs @@ -20,6 +20,7 @@ namespace InstaSoftOfficeTool.Pages case OfficeVersion.Office2024: Rb2024.IsChecked = true; break; case OfficeVersion.Office2021: Rb2021.IsChecked = true; break; case OfficeVersion.Office2019: Rb2019.IsChecked = true; break; + case OfficeVersion.Office2016: Rb2016.IsChecked = true; break; } } @@ -28,6 +29,7 @@ namespace InstaSoftOfficeTool.Pages if (Rb2024.IsChecked == true) _config.Version = OfficeVersion.Office2024; else if (Rb2021.IsChecked == true) _config.Version = OfficeVersion.Office2021; else if (Rb2019.IsChecked == true) _config.Version = OfficeVersion.Office2019; + else if (Rb2016.IsChecked == true) _config.Version = OfficeVersion.Office2016; return true; } }