From ef1e34844285d468409348d9e0dbca0b5eef20df Mon Sep 17 00:00:00 2001 From: Armin Burgmeier Date: Mon, 12 Feb 2018 19:58:03 +0100 Subject: [PATCH] Install platforms/ folder in windows installer --- tools/install/oc.nsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/install/oc.nsi b/tools/install/oc.nsi index 23caf7ca5..2acb5301c 100644 --- a/tools/install/oc.nsi +++ b/tools/install/oc.nsi @@ -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"