Archive: WinVer question


WinVer question
i've been using WinVer to detect windows 2003 server, but there seems to be no option available to detect 2000 server or 2008 server. any help?


If you know what you need on a server system, its better to just check that a .dll (with the api's you need) is present on the server system

(Also, the current version of WinVer.nsh will also report XP64 as Win2003)

You can also try my custom version of WinVer.nsh, it supports checking if the OS is workstation or server, you can grab a copy @ http://nsis.pastebin.com/f7844ed1a


what is it that keeps you from submitting your modification as an update for the official version?


its already "in the system" here http://sourceforge.net/tracker/index...49&atid=373088 , not sure if it will end up getting included or not (kichik is away ATM, and I'm sure he has more important things to deal with when he gets home), but you can always just overwrite the official one if mine does what you want