Check architecture (x86, x64 or ia64)
How can you check what CPU architecture you are running on. Need it to select the correct vc9 re distributable.
3 posts
$1 in that code will be one of:
!include WinVer.nsh
${If} ${AtLeastWinXP}
System::Alloc 36
pop $0
${If} $0 <> 0
System::Call 'kernel32::GetNativeSystemInfo(i $0)'
System::Call "*$0(&i2.r1)"
MessageBox mb_ok wProcessorArchitecture=$1
System::Free $0
${EndIf}
${EndIf}