|
|
#1 |
|
Junior Member
Join Date: Sep 2005
Location: Germany
Posts: 35
|
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 This signature is currently on vacation! |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
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 so that it returns x64 (or something). -Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
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/mediawik...GetVersion.zip -Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
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....&highlight=x64 NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|