Permalink
Browse files

Install platforms/ folder in windows installer

  • Loading branch information...
aburgm committed Feb 12, 2018
1 parent a130f59 commit ef1e34844285d468409348d9e0dbca0b5eef20df
Showing with 6 additions and 0 deletions.
  1. +6 −0 tools/install/oc.nsi
View
@@ -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"

0 comments on commit ef1e348

Please sign in to comment.