Added line to install vs2005 runtime

This commit is contained in:
Josh Yelon 2007-03-30 18:35:34 +00:00
parent 81d1f43ad0
commit 018e01c326

View File

@ -109,6 +109,7 @@ Section "${SMDIRECTORY}" SecCore
File /r /x CVS "${PANDA}\models\audio\*" File /r /x CVS "${PANDA}\models\audio\*"
SetOutPath $INSTDIR\bin SetOutPath $INSTDIR\bin
File /r "${PANDA}\bin\pzip.exe" File /r "${PANDA}\bin\pzip.exe"
File /r "${PANDA}\bin\vcredist_x86.exe"
SetOutpath $INSTDIR\game SetOutpath $INSTDIR\game
File /r "${PPGAME}\*" File /r "${PPGAME}\*"
CreateShortCut "$SMPROGRAMS\${SMDIRECTORY}\Play ${NAME}.lnk" "$INSTDIR\python\ppython.exe" "${PPMAIN}" "$INSTDIR\${PPICON}" 0 SW_SHOWMINIMIZED "" "Play ${NAME}" 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 !endif
SectionEnd SectionEnd
Section -post Section -post
!ifndef PPGAME !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. # Add the "bin" directory to the PATH.
Push "$INSTDIR\python" Push "$INSTDIR\python"
Call RemoveFromPath Call RemoveFromPath