Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

chore: conditional msi packages for cpu architecture

Lars Berger2eb01bddbab1
diff --git a/resources/wix/bundle.wxs b/resources/wix/bundle.wxs
index 7e087ded..91e1dc41 100644
--- a/resources/wix/bundle.wxs
+++ b/resources/wix/bundle.wxs
@@ -2,25 +2,53 @@
xmlns="http://wixtoolset.org/schemas/v4/wxs"
xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui"
xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
- <Bundle Name="GlazeWM" Version="1.0.0" Manufacturer="Glzr"
- UpgradeCode="ef0f849b-d90d-4647-bb26-730c6fce5f9e">
+ <Bundle Name="GlazeWM" Version="$(env.VERSION_NUMBER)" Manufacturer="glzr.io"
+ UpgradeCode="ef0f849b-d90d-4647-bb26-730c6fce5f9e"
+ DisableModify="yes"
+ IconSourceFile="resources/icon.ico"
+ >
<BootstrapperApplication>
<bal:WixStandardBootstrapperApplication
LicenseUrl=""
- Theme="hyperlinkLicense" />
+ Theme="hyperlinkLicense"
+ SuppressOptionsUI="yes" />
</BootstrapperApplication>
<Chain>
+ <!-- GlazeWM MSI for an x64 architecture. -->
<MsiPackage
- Id="GlazeWMPackage"
- SourceFile="tmp/installer.msi"
+ Id="GlazeWMPackageX64"
+ SourceFile="tmp/installer-x64.msi"
+ InstallCondition="(VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 34404)"
bal:DisplayInternalUICondition="1"
+ Permanent="yes"
/>
+ <!-- GlazeWM MSI for an arm64 architecture. -->
<MsiPackage
- Id="ZebarPackage"
- SourceFile="tmp/Zebar_x64.msi"
+ Id="GlazeWMPackageArm64"
+ SourceFile="tmp/installer-arm64.msi"
+ InstallCondition="NativeMachine = 43620"
bal:DisplayInternalUICondition="1"
+ Permanent="yes"
+ />
+
+ <!-- Zebar MSI for an x64 architecture. -->
+ <MsiPackage
+ Id="ZebarPackageX64"
+ SourceFile="tmp/zebar-*-x64.msi"
+ InstallCondition="(VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 34404)"
+ bal:DisplayInternalUICondition="1"
+ Permanent="yes"
+ />
+
+ <!-- Zebar MSI for an arm64 architecture. -->
+ <MsiPackage
+ Id="ZebarPackageArm64"
+ SourceFile="tmp/zebar-*-arm64.msi"
+ InstallCondition="NativeMachine = 43620"
+ bal:DisplayInternalUICondition="1"
+ Permanent="yes"
/>
</Chain>
</Bundle>
diff --git a/resources/wix/standalone.wxs b/resources/wix/standalone.wxs
index d402ada8..0eda9481 100644
--- a/resources/wix/standalone.wxs
+++ b/resources/wix/standalone.wxs
@@ -8,7 +8,7 @@
Language="1033"
Codepage="1252"
Version="0.0.0"
- Manufacturer="Glzr"
+ Manufacturer="glzr.io"
InstallerVersion="200"
>
<MajorUpgrade