Commit 751af66a authored by Ludovic Fauvet's avatar Ludovic Fauvet

nsis: simplify

parent 0488b50a
...@@ -428,11 +428,10 @@ Function .onInit ...@@ -428,11 +428,10 @@ Function .onInit
${MementoSectionRestore} ${MementoSectionRestore}
@HAVE_WIN64_TRUE@ !include "x64.nsh" @HAVE_WIN64_TRUE@ !include "x64.nsh"
@HAVE_WIN64_TRUE@ ${If} ${RunningX64} @HAVE_WIN64_TRUE@ ${Unless} ${RunningX64}
@HAVE_WIN64_TRUE@ ${Else}
@HAVE_WIN64_TRUE@ MessageBox MB_OK|MB_ICONSTOP "This version of VLC only runs on 64bits operating systems.$\nYour operating system is 32bits.$\n$\nPlease get the 32 BITS version." @HAVE_WIN64_TRUE@ MessageBox MB_OK|MB_ICONSTOP "This version of VLC only runs on 64bits operating systems.$\nYour operating system is 32bits.$\n$\nPlease get the 32 BITS version."
@HAVE_WIN64_TRUE@ Quit @HAVE_WIN64_TRUE@ Quit
@HAVE_WIN64_TRUE@ ${Endif} @HAVE_WIN64_TRUE@ ${EndUnless}
${If} ${AtLeastWinXP} ${If} ${AtLeastWinXP}
${If} ${IsWinXP} ${If} ${IsWinXP}
${AndIf} ${AtMostServicePack} 1 ${AndIf} ${AtMostServicePack} 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment