GitHub Action: MSI-Release per WiX v4 auf Windows-Runner

- .github/workflows/release.yml: baut bei v*-Tags ein MSI und veröffentlicht es als GitHub Release
- installer/Intune-Manager.wxs: WiX v4 Package-Definition (Program Files, Startmenü-Shortcut)
- installer/License.rtf: Lizenztext für den Installer-Dialog

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 07:19:09 +02:00
co-authored by Claude Sonnet 4.6
parent 189e0b23bd
commit bf373a0981
3 changed files with 139 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
<Package Name="Intune Manager"
Manufacturer="Wende IT"
Version="$(var.Version)"
UpgradeCode="9F3A2B1C-4D5E-6F70-8192-A3B4C5D6E7F8"
Scope="perMachine"
Language="1031">
<SummaryInformation Description="Intune Manager – Web Edition" />
<MajorUpgrade DowngradeErrorMessage="Eine neuere Version von Intune Manager ist bereits installiert." />
<MediaTemplate EmbedCab="yes" />
<ui:WixUI Id="WixUI_InstallDir" InstallDirectory="INSTALLFOLDER" />
<WixVariable Id="WixUILicenseRtf" Overridable="yes" Value="$(var.InstallerDir)\License.rtf" />
<Feature Id="Main" Title="Intune Manager" Level="1">
<ComponentGroupRef Id="AppFiles" />
<ComponentRef Id="StartMenuShortcut" />
</Feature>
<!-- Installation directory -->
<StandardDirectory Id="ProgramFiles64Folder">
<Directory Id="INSTALLFOLDER" Name="Intune Manager" />
</StandardDirectory>
<!-- All application files (harvested from staging dir) -->
<ComponentGroup Id="AppFiles" Directory="INSTALLFOLDER">
<Files Source="$(var.SourceDir)\**" />
</ComponentGroup>
<!-- Start Menu shortcut -->
<StandardDirectory Id="ProgramMenuFolder">
<Directory Id="AppMenuDir" Name="Intune Manager">
<Component Id="StartMenuShortcut" Guid="B2C3D4E5-F6A7-8901-BCDE-F12345678901">
<Shortcut Id="AppShortcut"
Name="Intune Manager"
Description="Intune Manager Web-Frontend starten"
Target="[INSTALLFOLDER]Run.cmd"
WorkingDirectory="INSTALLFOLDER" />
<RemoveFolder Id="RemoveAppMenuDir" Directory="AppMenuDir" On="uninstall" />
<RegistryValue Root="HKCU"
Key="Software\WendeIT\IntuneManager"
Name="installed"
Type="integer"
Value="1"
KeyPath="yes" />
</Component>
</Directory>
</StandardDirectory>
</Package>
</Wix>
+9
View File
@@ -0,0 +1,9 @@
{\rtf1\ansi\deff0
{\fonttbl{\f0 Arial;}}
\f0\fs20
Intune Manager \endash{} Web Edition\par
\par
Copyright (c) 2026 Wende IT\par
\par
Dieses Werkzeug wird intern bereitgestellt. Eine Weitergabe an Dritte ist nicht gestattet.\par
}