Skip to content

Commit 1e96793

Browse files
committed
better compatibility with arm64 installer packaging
1 parent 31d5bb8 commit 1e96793

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packaging/MSWindows/BUILD.sh

-3
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,6 @@ if [ "${DO_INSTALLER}" == "1" ]; then
688688
echo "* Creating the installer using InnoSetup"
689689
rm -f "Xpra_Setup.exe" "${INSTALLER_FILENAME}" "${INNOSETUP_LOG}"
690690
cp -fn "packaging/MSWindows/xpra.iss" "xpra.iss"
691-
if [ "${MSYSTEM_CARCH}" == "x86_64" ]; then
692-
cat "packaging/MSWindows/xpra.iss" | sed '/\(ArchitecturesInstallIn64BitMode\|ArchitecturesInstallIn64BitMode\)/ s/=.*/=x64/g' | sed '/\(AppName=\|AppVerName=\|DefaultGroupName=\)/ s/\r$/ (64-bit)\r/g' | sed 's/ArchitecturesAllowed=.*/ArchitecturesAllowed=x64/g' > "xpra.iss"
693-
fi
694691
if [ "${DO_FULL}" == "0" ]; then
695692
#don't run post-install openssl:
696693
sed -i"" "s/ PostInstall();/Log('skipped post-install');/g" xpra.iss

packaging/MSWindows/xpra.iss

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ WizardImageFile=packaging\MSWindows\xpra-logo.bmp
2323
WizardSmallImageFile=packaging\MSWindows\xpra.bmp
2424
LicenseFile=COPYING
2525
UninstallDisplayIcon={app}\Xpra-Launcher.exe
26-
ArchitecturesInstallIn64BitMode=
27-
ArchitecturesAllowed=
26+
ArchitecturesInstallIn64BitMode=x64compatible
27+
ArchitecturesAllowed=win64
28+
;UsePreviousAppDir=false
2829

2930
[Dirs]
3031
Name: "{app}"; Flags: uninsalwaysuninstall;

0 commit comments

Comments
 (0)