Цитата SamLab:
Как прописать System32 чтобы NSIS сам определял битность куда распаковаться в system32 или в syswow64 »
|
Попробуйте так :
Код:

Name "GetVersion Example"
OutFile "GetVersion.exe"
ShowInstDetails show
Page InstFiles
Section
GetVersion::WindowsPlatformArchitecture
Pop $R9
StrCmp $R9 32 Not
MessageBox MB_OK "WindowsPlatformArchitecture: $R9"
SetOutPath "$WINDIR\SysWOW64"
Not:
StrCmp $R9 64 Note
MessageBox MB_OK "WindowsPlatformArchitecture: $R9"
SetOutPath "$SYSDIR"
Note:
SectionEnd
Плагин