diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-18 13:12:13 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-18 13:12:13 +0100 |
commit | 47b8c58d47bae45d723ef22665e8f13ecc66725f (patch) | |
tree | cf7047b8acb02ac5082f474e29fdc87ae79e36a5 /toolkit/components | |
parent | b6c330e1ca4baff6c98bfa94b8c3855d5afbc7cb (diff) | |
download | UXP-47b8c58d47bae45d723ef22665e8f13ecc66725f.tar UXP-47b8c58d47bae45d723ef22665e8f13ecc66725f.tar.gz UXP-47b8c58d47bae45d723ef22665e8f13ecc66725f.tar.lz UXP-47b8c58d47bae45d723ef22665e8f13ecc66725f.tar.xz UXP-47b8c58d47bae45d723ef22665e8f13ecc66725f.zip |
Prevent installing stand-alone installers on unsupported environments.
- Prevent installers from installing on XP/Vista.
- Prevent x64 installers from installing on x86.
Diffstat (limited to 'toolkit/components')
-rw-r--r-- | toolkit/components/maintenanceservice/bootstrapinstaller/maintenanceservice_installer.nsi | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/toolkit/components/maintenanceservice/bootstrapinstaller/maintenanceservice_installer.nsi b/toolkit/components/maintenanceservice/bootstrapinstaller/maintenanceservice_installer.nsi index 9e831dc9c..d4d21e377 100644 --- a/toolkit/components/maintenanceservice/bootstrapinstaller/maintenanceservice_installer.nsi +++ b/toolkit/components/maintenanceservice/bootstrapinstaller/maintenanceservice_installer.nsi @@ -117,10 +117,7 @@ Function .onInit System::Call 'kernel32::SetDllDirectoryW(w "")' SetSilent silent - ; On Windows 2000 we do not install the maintenance service. - ; We won't run this installer from the parent installer, but just in case - ; someone tries to execute it on Windows 2000... - ${Unless} ${AtLeastWinXP} + ${Unless} ${AtLeastWin7} Abort ${EndUnless} FunctionEnd |