Archive: Windows XP 64bit, Windows .NET (Longhorn)


Windows XP 64bit, Windows .NET (Longhorn)
Hello,

Can someone with such knowledge share the product number of the above two OS's?

Windows XP is 5.1 so is Windows XP 64bit also 5.1?

How about Longhorn, is that 5.4 or 6.1?

Many thanks.


Longhorn is 6.0, WinXP 64 bit is 5.1 methinks.


http://msdn.microsoft.com/library/de...w64process.asp


Originally posted by Anders
http://msdn.microsoft.com/library/de...w64process.asp
This I believe simply implies 32bit apps work at 64bit Windows but doesn't state what version number it is.

x64 = 5.2.3790


5.2.3790 is Windows Server 2003


Originally posted by Yathosho
5.2.3790 is Windows Server 2003
My Windows XP 64 bit is version 5.2.3790

Originally posted by StoneBob
My Windows XP 64 bit is version 5.2.3790
so is my windows server 2003 (can be verified with google).. seems stupid from microsoft, so now one needs an extra check if one wants to determine whether it's one of the two.

Goto start, goto run, type "winver".


Windows Server 2003 AND Windows XP x64 Edition is NT 5.2. They share same codebase. Longhorn is 6.0. And by the way, Longhorn is NOT Windows .NET. Windows .NET was codename for Windows Server System 2003.


So how do we run that extra check to tell if we are installing on a 64 bit vs a 32 bit (and Server 2003 vs XP_64)?

I am assuming that there are three products that share the same version number

Server 2003 32-bit
Server 2003 64-bit
XP 2003 64-bit

If I simply do a check for version 5.2 that will not be enough.

What's the general consensus?


you could additional query HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" "ProductName" for further distinction


I guess if the version number is 5.2 and product name is "Microsoft WIndows XP" then we know that we have the 64-bit version of XP. That should work.

However is there a distinction between the two versions of server 2003. I don't have a copy of the 64-bit version of Server 2003 to check.

There has to be another way to tell but I haven't found anything on the windows site.

Other than the graphic, winver.exe doesn't even say 64-bit anywhere...


any plan to release 64 bit installer...


System::Call "kernel32::GetCurrentProcess() i .s"
System::Call "kernel32::IsWow64Process(i s, *i .r0)"

DetailPrint $0
$0 will contain 0 if not running on Windows x64.

Installer for 64 bit XP ?

Originally posted by Logy
any plan to release 64 bit installer...
I have the same question!

If I use a setup generated by actual NSI, and I try to run this setup under XP 64 bit, I get the message:
This program is valid, but built for a different type of computer!
So I have no chance and no need to distinguish this OS version!

Regards,
Walter

Of course there are plans. But no, there is no roadmap.


For people wanting a 64bit installer: since NSIS is opensource why not get the latest souce and try to compile in VS2005 and see what you come accross, improve... and share the improved code with the NSIS community.