I just downloaded the latest version of the GetVersion plugin from the NSIS website and there appears to be a bug. When I do my GetVersion::WindowsType call, it is popping up a message box that says Professional in the title and Professional in the box itself. It looks like some debug code may have been left in. It is version 1.4.0.1.
My app needs to run in the compatability mode on win7 64.
My NSIS installer mis-identifies the OS as Windows Vista 64 bit rather than Win7.
Is this the same problem mentioned above, wherein CM will set an OS, not necessarily the installed OS, so that winver is mislead?
Is there a way to detect the correct installed OS at this time?
Thx.
I will upload the plug-in at some point but I would recommend that you can use this instead anyway... It's an updated version of WinVer.nsh which is bundled with NSIS: http://www.afrowsoft.co.uk/dl/WinVer.nsh
${If} ${IsWin2008}
...
Edit: Anders has rightly pointed out that as Windows 8 is not out yet the version number could be different in the final product. This may not be likely but use this at your own risk!
Thank Afrow UK. I used GetVersion 6 months ago. It's good! But GetVersion plugin doesn't support Win 8! Can you upgrade for GetVersion plugin? I'm look forward to hearing your answer! Thank you!
Comment