Uploaded v1.3.
Stu
GetVersion plugin
73 posts
Thanks for the new version of the plugin.
GetVersion::WindowsType now reports "Professional" when used on my Windows 7 Professional 64-bit system.
GetVersion::WindowsType now reports "Professional" when used on my Windows 7 Professional 64-bit system.
Fixed Unicode build (Visual Studio's fault for not retaining UNICODE define when upgrading the vcproj from 2005 to 2010).
Stu
Stu
Bug in latest version
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.
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.
I guess since you have include the source, I could also recompile it but just wanted to make you aware.
Thanks, fixed.
Stu
Stu
Winver returns Vista instaed of 7 on win7 64 bit
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.
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.
Kernel32::CreateRemoteThreadEx is new in Win7, you could check for it by calling GetProcAddress with the system plugin:
!include LogicLib.nsh
System::Call 'Kernel32::LoadLibraryA(m "Kernel32")i.s'
System::Call 'Kernel32::GetProcAddress(is,m "CreateRemoteThreadEx")i.r0'
${If} $0 <> 0
MessageBox mb_ok Seven+
${EndIf} Thanks, Anders.
I'll check this out.
I'll check this out.
Hi there,
are you still working on this PlugIn?
I would like to check a Windows Server 2012
Great PlugIn bytheway 😉
Greetings from Munich
heg
are you still working on this PlugIn?
I would like to check a Windows Server 2012
Great PlugIn bytheway 😉
Greetings from Munich
heg
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!
Stu
${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!
Stu
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!
See the post above yours.
Stu
Stu