Skip to content
⌘ NSIS Forum Archive

Prevent setup under WOW64?

4 posts

th_mi#

Prevent setup under WOW64?

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#
Try this plugin to get the Windows version:


If that does not work then you'd have to modify the Get Windows version function so that it returns x64 (or something).

-Stu
Afrow UK#
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!!)



-Stu
kichik#
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:

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.