bug fix with redist deletion

This commit is contained in:
Volker Fischer 2009-11-28 11:12:34 +00:00
parent 1490d36ce5
commit 71977a605c

View file

@ -45,10 +45,8 @@ Section
File "..\COPYING" File "..\COPYING"
; temporarily create Microsoft Visual Studio redistributable, ; temporarily create Microsoft Visual Studio redistributable,
; call it, and delete it afterwards
File "${VS_REDIST_PATH}${VS_REDIST_EXE}" File "${VS_REDIST_PATH}${VS_REDIST_EXE}"
ExecWait '"$INSTDIR\${VS_REDIST_EXE}" /Q' ExecWait '"$INSTDIR\${VS_REDIST_EXE}" /Q'
Delete $INSTDIR\${VS_REDIST_EXE}
; uninstaller ; uninstaller
WriteUninstaller $INSTDIR\${UNINSTALL_EXE} WriteUninstaller $INSTDIR\${UNINSTALL_EXE}
@ -61,6 +59,9 @@ Section
CreateShortCut "$SMPROGRAMS\${APP_NAME}\${APP_NAME} server.lnk" "$INSTDIR\${APP_EXE}" "-s" CreateShortCut "$SMPROGRAMS\${APP_NAME}\${APP_NAME} server.lnk" "$INSTDIR\${APP_EXE}" "-s"
CreateShortCut "$SMPROGRAMS\${APP_NAME}\${UNINSTALL_EXE}.lnk" "$INSTDIR\${UNINSTALL_EXE}" CreateShortCut "$SMPROGRAMS\${APP_NAME}\${UNINSTALL_EXE}.lnk" "$INSTDIR\${UNINSTALL_EXE}"
; cleanup: remove temporary Microsoft Visual Studio redistributable executable
Delete $INSTDIR\${VS_REDIST_EXE}
SectionEnd SectionEnd