View Full Version : Prevent setup under WOW64?
th_mi
15th January 2006, 17:13
Hi
How can I prevent a setup under WOW64 with NSIS? The goal is that it is not possible to install the software under a 64 Bit Windows.
Thanks
th_mi
Afrow UK
15th January 2006, 17:18
Try this plugin to get the Windows version:
http://nsis.sourceforge.net/File:GetVersion.zip
If that does not work then you'd have to modify the Get Windows version function (http://nsis.sourceforge.net/Docs/AppendixC.html#C.5) so that it returns x64 (or something).
-Stu
Afrow UK
15th January 2006, 19:06
I have updated the GetVersion plugin (v0.2) to return Windows XP x64 for the OS Name and Profession x64 Edition for OS Type.
Please test the new version (I don't have x64!!)
http://nsis.sourceforge.net/mediawiki/images/8/8a/GetVersion.zip
-Stu
kichik
17th January 2006, 13:24
You can call IsWow64Process. This way, you don't have to change your installer for every new OS that has WOW64. See the last post in the following thread:
http://forums.winamp.com/showthread.php?s=&threadid=201787&highlight=x64
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.