Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 15th January 2006, 17:13   #1
th_mi
Junior Member
 
Join Date: Sep 2005
Location: Germany
Posts: 35
Question 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

This signature is currently on vacation!
th_mi is offline   Reply With Quote
Old 15th January 2006, 17:18   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 15th January 2006, 19:06   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 17th January 2006, 13:24   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump