I've got a problem. Specified is to allow installation on:
Win2003 Server, Win2008 Server w/ SP2+, Win2008 Server R2 w/ SP2+, WinVista w/ SP2+, WinXP w/ SP3+, Win7+
This is the code:
${IfNot} ${AtLeastWin7} ; Windows 7
${OrIf} ${IsWinXP} ; Windows XP
${AndIfNot} ${AtLeastServicePack} 3 ; with SP 3
${OrIf} ${IsWinVista} ; Windows Vista
${AndIfNot} ${AtLeastServicePack} 2 ; with SP2
${OrIf} ${IsWin2008} ; Windows Server 2008
${AndIfNot} ${AtLeastServicePack} 2 ; with SP2
${OrIf} ${IsWin2008R2} ; Windows Server 2008 R2
${AndIfNot} ${AtLeastServicePack} 2 ; with SP2
${OrIfNot} ${IsWin2003} ; Windows Server 2003
${If} $LANGUAGE == ${LANG_GERMAN}
MessageBox MB_OK|MB_TOPMOST|MB_ICONEXCLAMATION "The operating system is unsupported by ${PRODUCT_NAME} ${PRODUCT_VERSION}."
${Else}
MessageBox MB_OK|MB_TOPMOST|MB_ICONEXCLAMATION "Das Betriebssystem wird von ${PRODUCT_NAME} ${PRODUCT_VERSION} nicht unterstützt."
${EndIf}
Abort
${EndIf} But it isn't working (on my testsystems: Win2008R2, Win7). What am I doing wrong?! 😢