Code

A big lot of work for the Inkscape installer. I really should have done this on...
[inkscape.git] / packaging / win32 / RequireLatestNSIS.nsh
1 !if ${NSIS_VERSION} = v2.45\r
2         !error "There is a bug in !searchparse which makes this script not compile in NSIS 2.45. Please upgrade to NSIS 2.46 or later and try again."\r
3 !else\r
4         !echo "(If you get a compile error with !searchparse, please upgrade to NSIS 2.46 or later and try again.)"\r
5 !endif\r
6 !searchparse ${NSIS_VERSION} "v" V\r
7 !if ${V} < 2.46\r
8         !error "You only have NSIS ${V}, but NSIS 2.46 or later is required for proper Windows 7 support. Please upgrade to NSIS 2.46 or later and try again."\r
9 !endif\r