View Full Version : Prevent setup under WOW64?
15th January 2006, 17:13
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.
15th January 2006, 17:18
Try this plugin to get the Windows version:
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).
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!!)
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:
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.