Initial release v1.01 — InstaSoft Office Tool
Office deployment wizard for InstaSoft customers: - Install Office 2019/2021/2024 (Standard, Professional Plus, Home & Business) - Auto-download ODT from Microsoft, generate config XML, run setup - Remove existing Office installations (C2R + MSI) - License troubleshooting via ospp.vbs (dstatus, unpkey) - Fluent Design UI (WPF .NET Framework 4.8, Win7+ compatible) - Hungarian interface, multi-language Office installation - Product key input with auto-activation support Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
107
Models/OfficeEdition.cs
Normal file
107
Models/OfficeEdition.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
namespace InstaSoftOfficeTool.Models
|
||||
{
|
||||
public class OfficeEdition
|
||||
{
|
||||
public string DisplayName { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string ProductId { get; set; }
|
||||
public string Channel { get; set; }
|
||||
public bool IsVolume { get; set; }
|
||||
|
||||
public static OfficeEdition[] GetEditions(OfficeVersion version)
|
||||
{
|
||||
switch (version)
|
||||
{
|
||||
case OfficeVersion.Office2024:
|
||||
return new[]
|
||||
{
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Standard",
|
||||
Description = "Alapvet\u0151 irodai alkalmaz\u00e1sok: Word, Excel, PowerPoint, Outlook, OneNote",
|
||||
ProductId = "Standard2024Volume",
|
||||
Channel = "PerpetualVL2024",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Professional Plus",
|
||||
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote",
|
||||
ProductId = "ProPlus2024Volume",
|
||||
Channel = "PerpetualVL2024",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Otthoni \u00e9s kisv\u00e1llalati verzi\u00f3",
|
||||
Description = "Word, Excel, PowerPoint, Outlook, OneNote \u2014 v\u00e1llalkoz\u00e1sokban is haszn\u00e1lhat\u00f3",
|
||||
ProductId = "HomeBusiness2024Retail",
|
||||
Channel = "Current",
|
||||
IsVolume = false
|
||||
}
|
||||
};
|
||||
|
||||
case OfficeVersion.Office2021:
|
||||
return new[]
|
||||
{
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Standard",
|
||||
Description = "Alapvet\u0151 irodai alkalmaz\u00e1sok: Word, Excel, PowerPoint, Outlook, OneNote",
|
||||
ProductId = "Standard2021Volume",
|
||||
Channel = "PerpetualVL2021",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Professional Plus",
|
||||
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote",
|
||||
ProductId = "ProPlus2021Volume",
|
||||
Channel = "PerpetualVL2021",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Otthoni \u00e9s kisv\u00e1llalati verzi\u00f3",
|
||||
Description = "Word, Excel, PowerPoint, Outlook, OneNote \u2014 v\u00e1llalkoz\u00e1sokban is haszn\u00e1lhat\u00f3",
|
||||
ProductId = "HomeBusiness2021Retail",
|
||||
Channel = "Current",
|
||||
IsVolume = false
|
||||
}
|
||||
};
|
||||
|
||||
case OfficeVersion.Office2019:
|
||||
return new[]
|
||||
{
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Standard",
|
||||
Description = "Alapvet\u0151 irodai alkalmaz\u00e1sok: Word, Excel, PowerPoint, Outlook, OneNote",
|
||||
ProductId = "Standard2019Volume",
|
||||
Channel = "PerpetualVL2019",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Professional Plus",
|
||||
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote, Skype for Business",
|
||||
ProductId = "ProPlus2019Volume",
|
||||
Channel = "PerpetualVL2019",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Otthoni \u00e9s kisv\u00e1llalati verzi\u00f3",
|
||||
Description = "Word, Excel, PowerPoint, Outlook, OneNote \u2014 v\u00e1llalkoz\u00e1sokban is haszn\u00e1lhat\u00f3",
|
||||
ProductId = "HomeBusiness2019Retail",
|
||||
Channel = "Current",
|
||||
IsVolume = false
|
||||
}
|
||||
};
|
||||
|
||||
default:
|
||||
return new OfficeEdition[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user