[GRASS-SVN] r62082 - grass/trunk/mswindows
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 25 06:27:05 PDT 2014
Author: hellik
Date: 2014-09-25 06:27:05 -0700 (Thu, 25 Sep 2014)
New Revision: 62082
Modified:
grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
Log:
nsis: attempt to fix optional MS runtime installation
Modified: grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi.tmpl 2014-09-25 10:44:26 UTC (rev 62081)
+++ grass/trunk/mswindows/GRASS-Installer.nsi.tmpl 2014-09-25 13:27:05 UTC (rev 62082)
@@ -931,14 +931,6 @@
untgz::extract "-d" "$TEMP\$ORIGINAL_UNTAR_FOLDER" "-zbz2" "$TEMP\$ARCHIVE_NAME"
Pop $0
StrCmp $0 "success" untar_ok untar_failed
-
- ;move ExecWait, CopyFiles, Delete, RMDir commands out of the download function as these seems not to work if these are nested in a function
- untar_ok:
- ExecWait '"$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\vcredist_2005_x86.exe" /q'
- ExecWait '"$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\vcredist_2008_x86.exe" /q'
- ExecWait '"$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\vcredist_2010_x86.exe" /q'
- CopyFiles "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\*.dll" "$INSTALL_DIR\extrabin"
- Goto end
download_failed:
DetailPrint "$0" ;print error message to log
@@ -951,6 +943,19 @@
untar_failed:
DetailPrint "$0" ;print error message to log
+
+ untar_ok:
+ DetailPrint "Archive successfully unzipped."
+ DetailPrint "Installing vcredist_2005_x86.exe ..."
+ ExecWait '"$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\vcredist_2005_x86.exe" /q'
+ DetailPrint "Installing vcredist_2008_x86.exe ..."
+ ExecWait '"$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\vcredist_2008_x86.exe" /q'
+ DetailPrint "Installing vcredist_2010_x86.exe ..."
+ ExecWait '"$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\vcredist_2010_x86.exe" /q'
+ DetailPrint "Copying runtime files ..."
+ CopyFiles "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\*.dll" "$INSTALL_DIR\extrabin"
+ DetailPrint "MS runtime files installed."
+ Goto end
end:
More information about the grass-commit
mailing list