aboutsummaryrefslogtreecommitdiff
path: root/project/Win32BuildSetup/genNsisInstaller.nsi
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2017-04-29 18:50:43 +0200
committerRechi <Rechi@users.noreply.github.com>2017-04-29 18:50:43 +0200
commit0a143165b4540486d5984e0ce9670a5634812e66 (patch)
tree13f9e019db0faf57758b95db54ae6813bc67eb6a /project/Win32BuildSetup/genNsisInstaller.nsi
parent39497880d5cf7b7da465a0f61b1de4b342ddda11 (diff)
[buildsteps][windows] BuildSetup.bat
Diffstat (limited to 'project/Win32BuildSetup/genNsisInstaller.nsi')
-rw-r--r--project/Win32BuildSetup/genNsisInstaller.nsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi
index 6b2bf8b7e1..0373722cf2 100644
--- a/project/Win32BuildSetup/genNsisInstaller.nsi
+++ b/project/Win32BuildSetup/genNsisInstaller.nsi
@@ -317,12 +317,12 @@ SectionEnd
;vs redist installer Section
SectionGroup "Microsoft Visual C++ packages" SEC_VCREDIST
-Section "VS2015 C++ re-distributable Package (x86)" SEC_VCREDIST1
+Section "VS2015 C++ re-distributable Package (${TARGET_ARCHITECTURE})" SEC_VCREDIST1
DetailPrint "Running VS2015 re-distributable setup..."
SectionIn 1 2 #section is in install type Full
SetOutPath "$TEMP\vc2015"
- File "${app_root}\..\dependencies\vcredist\2015\vcredist_x86.exe"
- ExecWait '"$TEMP\vc2015\vcredist_x86.exe" /install /quiet /norestart' $VSRedistSetupError
+ File "${app_root}\..\dependencies\vcredist\2015\vcredist_${TARGET_ARCHITECTURE}.exe"
+ ExecWait '"$TEMP\vc2015\vcredist_${TARGET_ARCHITECTURE}.exe" /install /quiet /norestart' $VSRedistSetupError
RMDir /r "$TEMP\vc2015"
DetailPrint "Finished VS2015 re-distributable setup"
SetOutPath "$INSTDIR"