Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Followup to handle not installing x64 on x86 systems for Bug 1305453 …
Browse files Browse the repository at this point in the history
…- Prevent non-esr stand alone installers from installing on XP/Vista. r=mhowell
  • Loading branch information
Robert Strong committed Nov 21, 2016
1 parent 4395994 commit 8ad791d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/installer/windows/nsis/defines.nsi.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@
#ifdef HAVE_64BIT_BUILD
!define HAVE_64BIT_BUILD
!define ARCH "x64"
!define MinSupportedVer "Microsoft Windows 7 x64"
#else
!define MinSupportedVer "Microsoft Windows 7"
!define ARCH "x86"
#endif

!define MinSupportedVer "Microsoft Windows 7"

!define MinSupportedCPU "SSE2"

#ifdef MOZ_MAINTENANCE_SERVICE
Expand Down
5 changes: 5 additions & 0 deletions browser/installer/windows/nsis/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,11 @@ Function .onInit
${EndIf}

!ifdef HAVE_64BIT_BUILD
${Unless} ${RunningX64}
MessageBox MB_OKCANCEL|MB_ICONSTOP "$(WARN_MIN_SUPPORTED_OSVER_MSG)" IDCANCEL +2
ExecShell "open" "${URLSystemRequirements}"
Quit
${EndUnless}
SetRegView 64
!endif

Expand Down

0 comments on commit 8ad791d

Please sign in to comment.