Win32: Fix x64 installation paths The current way to check if we are running a 64 bit version of Windows in order to detect the proper path ("Program Files" or "Program Files (x86)") doesn't work, thus even the 64 bit version is installed in the 32 bit Program Files folder. The check itself is not necessary, since Inno Setup is smart enough to check the platform it's running on and chooses the proper path and registry settings by itself.
Lothar Serra Mari serra@scummvm.org
Mon, 21 Oct 2019 16:28:44 +0200
1 files changed,
3 insertions(+),
5 deletions(-)
M
src/platform/windows/setup/setup.iss.in
→
src/platform/windows/setup/setup.iss.in
@@ -48,15 +48,11 @@ #else
#define IsRelease = 'no' AppVerName={#AppName} {#VersionString} (Development build) #endif -#if '{#WinBits}' == '64' - ArchitecturesInstallIn64BitMode=x64 - ArchitecturesAllows=x64 -#endif OutputBaseFilename={#AppName}-setup-{#CleanVersionString}-win{#WinBits} UsePreviousLanguage=False DisableWelcomePage=False VersionInfoDescription={#AppName} is an open-source Game Boy Advance emulator -VersionInfoCopyright=© 2013–2018 Jeffrey Pfau +VersionInfoCopyright=© 2013–2019 Jeffrey Pfau VersionInfoProductName={#AppName} VersionInfoVersion={#AppVer} Compression=lzma2/ultra64@@ -64,6 +60,8 @@ SolidCompression=True
VersionInfoTextVersion={#AppVer} VersionInfoProductVersion={#AppVer} VersionInfoProductTextVersion={#AppVer} +ArchitecturesInstallIn64BitMode=x64 +ArchitecturesAllowed=x86 x64 [Languages] Name: "english"; MessagesFile: "compiler:Default.isl"