Merge pull request #6911 from birarda/remove-old-interface

remove old Interface and vcredist_x64.exe while running new installer
This commit is contained in:
Leonardo Murillo 2016-01-22 19:14:41 -06:00
commit 6cd6c3038f

View file

@ -685,8 +685,9 @@ FunctionEnd
;Installer Sections
Section "-Core installation"
;The following delete blocks are temporary and can be removed once users who had the initial installer have updated
;Delete any server-console files installed before it was placed in sub-folder
;This is temporary and can be removed once users who had the initial installer have updated
Delete "$INSTDIR\server-console.exe"
RMDir /r "$INSTDIR\locales"
RMDir /r "$INSTDIR\resources\app"
@ -705,6 +706,10 @@ Section "-Core installation"
Delete "$INSTDIR\version"
Delete "$INSTDIR\xinput1_3.dll"
; Remove the Old Interface directory and vcredist_x64.exe (from installs prior to Server Console)
RMDir /r "$INSTDIR\Interface"
Delete "$INSTDIR\vcredist_x64.exe"
;Use the entire tree produced by the INSTALL target. Keep the
;list of directories here in sync with the RMDir commands below.
SetOutPath "$INSTDIR"