Skip to content

Commit

Permalink
Installer now checks for Vista or later.
Browse files Browse the repository at this point in the history
Fixes xbmc#919
  • Loading branch information
Tobias Hieta committed Dec 10, 2013
1 parent 4d9c334 commit e7e92c5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion plex/CMakeModules/CPackConfig.cmake
Expand Up @@ -39,7 +39,13 @@ set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS
ExecWait \\\"$INSTDIR\\\\Dependencies\\\\vcredist_2010_x86.exe /q /norestart\\\"
IfFileExists \\\"$INSTDIR\\\\Dependencies\\\\dxsetup\\\\dxsetup.exe\\\" 0 +2
ExecWait \\\"$INSTDIR\\\\Dependencies\\\\dxsetup\\\\dxsetup.exe /silent\\\"
RMDir /r \\\"$INSTDIR\\\\Dependencies\\\"")
RMDir /r \\\"$INSTDIR\\\\Dependencies\\\"
!include \\\"WinVer.nsh\\\"
!include \\\"LogicLib.nsh\\\"
${IfNot} ${AtLeastWinVista}
MessageBox MB_OK|MB_ICONSTOP|MB_TOPMOST|MB_SETFOREGROUND \\\"Windows Vista or above required.$\nThis program can not be run on Windows XP\\\"
Quit
${EndIf}")

if(TARGET_OSX)
set(CPACK_GENERATOR "ZIP")
Expand Down

0 comments on commit e7e92c5

Please sign in to comment.