GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat: add custom wix localization for bundle theme
Lars Berger205c801b5a2a
diff --git a/resources/scripts/package.ps1 b/resources/scripts/package.ps1index 2139b2fc..c71303da 100644--- a/resources/scripts/package.ps1+++ b/resources/scripts/package.ps1@@ -50,4 +50,5 @@ foreach ($arch in $wixArchs) {Write-Output "Creating universal installer"wix build -arch "x64" -ext WixToolset.BootstrapperApplications.wixext `-out "./out/installer-universal.exe" "./resources/wix/bundle.wxs" `+ -loc "./resources/wix/bundle-theme.wxl" `-d VERSION_NUMBER="$VERSION_NUMBER"diff --git a/resources/wix/bundle-theme.wxl b/resources/wix/bundle-theme.wxlnew file mode 100644index 00000000..791d6059--- /dev/null+++ b/resources/wix/bundle-theme.wxl@@ -0,0 +1,71 @@+<?xml version="1.0" encoding="utf-8"?>+<!--+ This is a modification of `HyperlinkSidebarTheme.wxl`.+ Ref: https://github.com/wixtoolset/wix/blob/v5.0.0/src/ext/Bal/stdbas/Resources/HyperlinkTheme.wxl+-->+<WixLocalization Culture="en-us" Language="1033" xmlns="http://wixtoolset.org/schemas/v4/wxl">+ <String Id="Caption" Value="[WixBundleName] Setup" />+ <String Id="Title" Value="[WixBundleName]" />+ <String Id="CheckingForUpdatesLabel" Value="Checking for updates" />+ <String Id="UpdateButton" Value="&Update to version [WixStdBAUpdateAvailable]" />+ <String Id="InstallHeader" Value="Welcome" />+ <String Id="InstallMessage" Value="Setup will install [WixBundleName] on your computer. Click Install to continue or Cancel to exit." />+ <String Id="InstallMessageOptions" Value="Setup will install [WixBundleName] on your computer. Click Install to continue, Options to set installation options, or Cancel to exit." />+ <String Id="InstallVersion" Value="Version [WixBundleVersion]" />+ <String Id="ConfirmCancelMessage" Value="Are you sure you want to cancel?" />+ <String Id="ExecuteUpgradeRelatedBundleMessage" Value="Previous version" />+ <String Id="HelpHeader" Value="Setup Help" />+ <String Id="HelpText" Value="/install | /repair | /uninstall | /layout [directory] - installs, repairs, uninstalls or
 creates a complete local copy of the bundle in directory. Install is the default.

/passive | /quiet - displays minimal UI with no prompts or displays no UI and
 no prompts. By default UI and all prompts are displayed.

/norestart - suppress any attempts to restart. By default UI will prompt before restart.
/log log.txt - logs to a specific file. By default a log file is created in %TEMP%." />+ <String Id="HelpCloseButton" Value="&Close" />+ <String Id="InstallLicenseLinkText" Value="[WixBundleName] <a href="#">license terms</a>." />+ <String Id="InstallAcceptCheckbox" Value="I &agree to the license terms and conditions" />+ <String Id="InstallOptionsButton" Value="&Options" />+ <String Id="InstallInstallButton" Value="&Install" />+ <String Id="InstallCancelButton" Value="&Cancel" />+ <String Id="OptionsHeader" Value="Setup Options" />+ <String Id="OptionsLocationLabel" Value="Install location:" />+ <String Id="OptionsBrowseButton" Value="&Browse" />+ <String Id="OptionsOkButton" Value="&OK" />+ <String Id="OptionsCancelButton" Value="&Cancel" />+ <String Id="ProgressHeader" Value="Setup Progress" />+ <String Id="ProgressLabel" Value="Processing:" />+ <String Id="OverallProgressPackageText" Value="Initializing..." />+ <String Id="ProgressCancelButton" Value="&Cancel" />+ <String Id="ModifyHeader" Value="Modify Setup" />+ <String Id="ModifyRepairButton" Value="&Repair" />+ <String Id="ModifyUninstallButton" Value="&Uninstall" />+ <String Id="ModifyCancelButton" Value="&Cancel" />+ <String Id="SuccessHeader" Value="Setup Successful" />+ <String Id="SuccessCacheHeader" Value="Cache Successfully Completed" />+ <String Id="SuccessInstallHeader" Value="Installation Successfully Completed" />+ <String Id="SuccessLayoutHeader" Value="Layout Successfully Completed" />+ <String Id="SuccessModifyHeader" Value="Modify Successfully Completed" />+ <String Id="SuccessRepairHeader" Value="Repair Successfully Completed" />+ <String Id="SuccessUninstallHeader" Value="Uninstall Successfully Completed" />+ <String Id="SuccessUnsafeUninstallHeader" Value="Uninstall Successfully Completed" />+ <String Id="SuccessLaunchButton" Value="&Launch" />+ <String Id="SuccessRestartText" Value="You must restart your computer before you can use the software." />+ <String Id="SuccessUninstallRestartText" Value="You must restart your computer to complete the removal of the software." />+ <String Id="SuccessRestartButton" Value="&Restart" />+ <String Id="SuccessCloseButton" Value="&Close" />+ <String Id="FailureHeader" Value="Setup Failed" />+ <String Id="FailureCacheHeader" Value="Cache Failed" />+ <String Id="FailureInstallHeader" Value="Setup Failed" />+ <String Id="FailureLayoutHeader" Value="Layout Failed" />+ <String Id="FailureModifyHeader" Value="Modify Failed" />+ <String Id="FailureRepairHeader" Value="Repair Failed" />+ <String Id="FailureUninstallHeader" Value="Uninstall Failed" />+ <String Id="FailureUnsafeUninstallHeader" Value="Uninstall Failed" />+ <String Id="FailureHyperlinkLogText" Value="One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the <a href="#">log file</a>." />+ <String Id="FailureRestartText" Value="You must restart your computer to complete the rollback of the software." />+ <String Id="FailureRestartButton" Value="&Restart" />+ <String Id="FailureCloseButton" Value="&Close" />+ <String Id="FilesInUseTitle" Value="Files In Use" />+ <String Id="FilesInUseLabel" Value="The following applications are using files that need to be updated:" />+ <String Id="FilesInUseNetfxCloseRadioButton" Value="Close the &applications." />+ <String Id="FilesInUseCloseRadioButton" Value="Close the &applications and attempt to restart them." />+ <String Id="FilesInUseDontCloseRadioButton" Value="&Do not close applications. A reboot will be required." />+ <String Id="FilesInUseRetryButton" Value="&Retry" />+ <String Id="FilesInUseIgnoreButton" Value="&Ignore" />+ <String Id="FilesInUseExitButton" Value="E&xit" />+</WixLocalization>