How to detect windows 32bit or 64 bit using NSIS script?
For future lazy googlers – A small snippet: Include this: !include x64.nsh And use this if: ${If} ${RunningX64} # 64 bit code ${Else} # 32 bit code ${EndIf}
For future lazy googlers – A small snippet: Include this: !include x64.nsh And use this if: ${If} ${RunningX64} # 64 bit code ${Else} # 32 bit code ${EndIf}
1) 2) 3) Exec and ExecWait use CreateProcess internally and can only start programs and batch files. ExecShell uses ShellExecute which means that it can also launch any registered filetype (.txt .chm etc) and URLs. It should also be used if the program you are starting needs to elevate with UAC. 4) nsExec redirects stdout … Read more