Преглед изворни кода

Added line to install vs2005 runtime

Josh Yelon пре 19 година
родитељ
комит
018e01c326
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      direct/src/directscripts/packpanda.nsi

+ 4 - 1
direct/src/directscripts/packpanda.nsi

@@ -109,6 +109,7 @@ Section "${SMDIRECTORY}" SecCore
             File /r /x CVS "${PANDA}\models\audio\*"
             SetOutPath $INSTDIR\bin
             File /r "${PANDA}\bin\pzip.exe"
+            File /r "${PANDA}\bin\vcredist_x86.exe"
             SetOutpath $INSTDIR\game
             File /r "${PPGAME}\*"
             CreateShortCut "$SMPROGRAMS\${SMDIRECTORY}\Play ${NAME}.lnk" "$INSTDIR\python\ppython.exe" "${PPMAIN}" "$INSTDIR\${PPICON}" 0 SW_SHOWMINIMIZED "" "Play ${NAME}"
@@ -192,13 +193,15 @@ Section "${SMDIRECTORY}" SecCore
 
         !endif
 
-
 SectionEnd
 
 
 Section -post
 
         !ifndef PPGAME
+
+        # Install the visual studio runtime system.
+        ExecWait '"$INSTDIR\bin\vcredist_x86.exe" /Q:a /C:"msiexec.exe /qn /i vcredist.msi"'
         # Add the "bin" directory to the PATH.
         Push "$INSTDIR\python"
         Call RemoveFromPath