all repos — mgba @ 3241df238b4ac2f163c51c85951f93e4082b02dc

mGBA Game Boy Advance Emulator

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
commit

3241df238b4ac2f163c51c85951f93e4082b02dc

parent

13893803c3f528327a7aa96056e7c51564c5f86c

1 files changed, 3 insertions(+), 5 deletions(-)

jump to
M src/platform/windows/setup/setup.iss.insrc/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"