Install platforms/ folder in windows installer

install-platforms
Armin Burgmeier 2018-02-12 19:58:03 +01:00
parent a130f59f54
commit ef1e348442
1 changed files with 6 additions and 0 deletions

View File

@ -99,6 +99,11 @@ Section
File /oname=c4group.exe "${C4GROUP}"
File "*.dll"
SetOutPath "$INSTDIR\platforms"
File "platforms/*.dll"
SetOutPath "$INSTDIR"
; Delete any previously unpacked Music.ocg, which would block creation of the file.
RMDir /r "$INSTDIR\Music.ocg"
@ -256,6 +261,7 @@ Section Uninstall
Delete "$INSTDIR\c4group.exe"
Delete "$INSTDIR\*.dll"
RMDir /r "$INSTDIR\platforms"
; Music may or may not be unpacked.
RMDir /r "$INSTDIR\Music.ocg"