![]() |
#1 |
Junior Member
Join Date: Oct 2011
Posts: 20
|
![]()
Is there some way to create a script that tells whether the target computer is a 64-bit computer, and if it is, do some action that would not be done if it were a 32-bit machine?
Thanks in advance. |
![]() |
![]() |
![]() |
#2 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
NSIS\Include\x64.nsh. Have you even *tried* searching? o_O
|
![]() |
![]() |
![]() |
#3 |
Major Dude
Join Date: May 2003
Posts: 681
|
read help file chapter "4.2.3 Constants"
PHP Code:
|
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
You don't need to use GetVersion for this, just use x64.nsh as MSG pointed out.
Stucode: |
![]() |
![]() |
![]() |
#5 |
Major Dude
Join Date: May 2003
Posts: 681
|
well, actually i am working with that flag in $vars$bitversion instead logiclib
|
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Oct 2011
Posts: 20
|
Can't believe I completely forgot about x64.nsh.
![]() |
![]() |
![]() |
![]() |
|
Tags |
32-bit, 64-bit, bit, nsis |
Thread Tools | Search this Thread |
Display Modes | |
|
|