Announcement

Collapse
No announcement yet.

GetVersion plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    Uploaded v1.3.

    Stu

    Comment


    • #62
      Thanks for the new version of the plugin.

      GetVersion::WindowsType now reports "Professional" when used on my Windows 7 Professional 64-bit system.

      Comment


      • #63
        Fixed Unicode build (Visual Studio's fault for not retaining UNICODE define when upgrading the vcproj from 2005 to 2010).

        Stu

        Comment


        • #64
          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.

          Comment


          • #65
            I guess since you have include the source, I could also recompile it but just wanted to make you aware.

            Comment


            • #66
              Thanks, fixed.

              Stu

              Comment


              • #67
                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.

                Comment


                • #68
                  Kernel32::CreateRemoteThreadEx is new in Win7, you could check for it by calling GetProcAddress with the system plugin:
                  PHP Code:
                  !include LogicLib.nsh

                  System
                  ::Call 'Kernel32::LoadLibraryA(m "Kernel32")i.s'
                  System::Call 'Kernel32::GetProcAddress(is,m "CreateRemoteThreadEx")i.r0'
                  ${If} $<> 0
                      MessageBox mb_ok Seven
                  +
                  ${EndIf} 
                  IntOp $PostCount $PostCount + 1

                  Comment


                  • #69
                    Thanks, Anders.
                    I'll check this out.

                    Comment


                    • #70
                      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

                      Comment


                      • #71
                        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

                        Comment


                        • #72
                          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


                          • #73
                            See the post above yours.

                            Stu

                            Comment

                            Working...
                            X