Skip to content

Commit

Permalink
[companion] One more DLL was missing in distrib, fixes the long stand…
Browse files Browse the repository at this point in the history
…ing companion play sound issues on Windows
  • Loading branch information
kilrah committed Jan 6, 2017
1 parent bf549ac commit 51f1865
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion companion/targets/windows/companion-vs.nsi.in
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
Section "OpenTX Companion" SecDummy

Delete "$INSTDIR\opentx-*-simulator.dll"
Delete "$INSTDIR\lang\*.*"
RMDir "$INSTDIR\lang"
SetOutPath "$INSTDIR\platforms"
File "@QT_DLL_DIR@\..\plugins\platforms\qwindows.dll"

Expand Down Expand Up @@ -132,6 +134,9 @@ Section "OpenTX Companion" SecDummy

SetOutPath "$INSTDIR\printsupport"
File "@QT_DLL_DIR@\..\plugins\printsupport\windowsprintersupport.dll"

SetOutPath "$INSTDIR\mediaservice"
File "@QT_DLL_DIR@\..\plugins\mediaservice\dsengine.dll"

SetOutPath "$INSTDIR"
;Store installation folder
Expand Down Expand Up @@ -212,17 +217,19 @@ Section "Uninstall"
Delete "$INSTDIR\phonon_backend\*.*"
Delete "$INSTDIR\platforms\*.*"
Delete "$INSTDIR\printsupport\*.*"
Delete "$INSTDIR\mediaservice\*.*"

RMDir "$INSTDIR\lang"
RMDir "$INSTDIR\phonon_backend"
RMDir "$INSTDIR\platforms"
RMDir "$INSTDIR\printsupport"
RMDir "$INSTDIR\mediaservice"
RMDir "$INSTDIR"

${unregisterExtension} ".bin" "BIN File"
${unregisterExtension} ".hex" "HEX File"
${unregisterExtension} ".eepm" "EEPE File"
${unregisterExtension} ".companion" "EEPM File"
${unregisterExtension} ".otx" "OpenTX Archive"

!insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder

Expand Down

0 comments on commit 51f1865

Please sign in to comment.