mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-12 23:43:23 -05:00
Include vc redistributables
This commit is contained in:
parent
4f58ef2a23
commit
4be334a406
@ -8,7 +8,6 @@
|
|||||||
// Generated from the TEXTINCLUDE 2 resource.
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
//
|
//
|
||||||
#include "atlres.h"
|
#include "atlres.h"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
#undef APSTUDIO_READONLY_SYMBOLS
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|
||||||
@ -112,9 +111,9 @@ BEGIN
|
|||||||
LTEXT "Current state of the server goes here",IDC_SERVERSTATE,12,28,199,25
|
LTEXT "Current state of the server goes here",IDC_SERVERSTATE,12,28,199,25
|
||||||
PUSHBUTTON "&Stop Server",IDC_STOPSERVICE,218,28,70,14
|
PUSHBUTTON "&Stop Server",IDC_STOPSERVICE,218,28,70,14
|
||||||
CONTROL "&Start Firefly when Windows starts",IDC_AUTOSTART,
|
CONTROL "&Start Firefly when Windows starts",IDC_AUTOSTART,
|
||||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,31,62,252,10
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,59,252,10
|
||||||
CONTROL "&Enable Firefly icon in system tray",IDC_AUTOSTART_ICON,
|
CONTROL "&Enable Firefly icon in system tray",IDC_AUTOSTART_ICON,
|
||||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,31,75,252,10
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,73,252,10
|
||||||
GROUPBOX "Advanced",IDC_STATIC,6,93,288,61
|
GROUPBOX "Advanced",IDC_STATIC,6,93,288,61
|
||||||
LTEXT "Server port number",IDC_STATIC,12,108,99,11
|
LTEXT "Server port number",IDC_STATIC,12,108,99,11
|
||||||
EDITTEXT IDC_SERVERPORT,105,105,42,14,ES_AUTOHSCROLL | ES_NUMBER
|
EDITTEXT IDC_SERVERPORT,105,105,42,14,ES_AUTOHSCROLL | ES_NUMBER
|
||||||
@ -124,7 +123,6 @@ BEGIN
|
|||||||
LTEXT "Firefly Media Server also provides a web administration interface.",IDC_STATIC,12,177,198,20
|
LTEXT "Firefly Media Server also provides a web administration interface.",IDC_STATIC,12,177,198,20
|
||||||
PUSHBUTTON "&Open",IDC_WEBADMIN,218,177,70,14
|
PUSHBUTTON "&Open",IDC_WEBADMIN,218,177,70,14
|
||||||
PUSHBUTTON "&Start Server",IDC_STARTSERVICE,218,28,70,14
|
PUSHBUTTON "&Start Server",IDC_STARTSERVICE,218,28,70,14
|
||||||
ICON IDI_SHIELD,IDC_STATIC,12,58,21,20
|
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
||||||
|
@ -184,11 +184,6 @@ NoProgramItems:
|
|||||||
File "${DLL_SOURCE}\avformat.dll"
|
File "${DLL_SOURCE}\avformat.dll"
|
||||||
File "${DLL_SOURCE}\libFLAC.dll"
|
File "${DLL_SOURCE}\libFLAC.dll"
|
||||||
|
|
||||||
File "${REDIST_SOURCE}\msvcp80.dll"
|
|
||||||
File "${REDIST_SOURCE}\msvcr80.dll"
|
|
||||||
File "${REDIST_SOURCE}\msvcm80.dll"
|
|
||||||
File "${REDIST_SOURCE}\Microsoft.VC80.CRT.manifest"
|
|
||||||
|
|
||||||
SetOutPath "$2\plugins"
|
SetOutPath "$2\plugins"
|
||||||
File "${MTD_SOURCE}\rsp.dll"
|
File "${MTD_SOURCE}\rsp.dll"
|
||||||
File "${MTD_SOURCE}\out-daap.dll"
|
File "${MTD_SOURCE}\out-daap.dll"
|
||||||
@ -308,6 +303,21 @@ Section -AdditionalIcons
|
|||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
!include "LogicLib.nsh"
|
||||||
|
!define UNINSTALL_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall"
|
||||||
|
!define APP_KEY "{A49F249F-0C91-497F-86DF-B2585E8E76B7}"
|
||||||
|
Section -VCRedistributable
|
||||||
|
ReadRegStr $R0 HKLM "${UNINSTALL_KEY}\${APP_KEY}\" "DisplayName"
|
||||||
|
${If} ${Errors}
|
||||||
|
# reg value doesn't exist (ie, needs installed)
|
||||||
|
SetOutPath "$2\"
|
||||||
|
File "${REDIST_SOURCE}\WindowsInstaller-KB893803-v2-x86.exe"
|
||||||
|
File "${REDIST_SOURCE}\VCRedist_x86.exe"
|
||||||
|
ExecWait '"$2\WindowsInstaller-KB893803-v2-x86.exe" /quiet /norestart'
|
||||||
|
ExecWait '"$2\VCRedist_x86.exe" /Q'
|
||||||
|
${EndIf}
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
Section -Post
|
Section -Post
|
||||||
WriteUninstaller "$2\uninst.exe"
|
WriteUninstaller "$2\uninst.exe"
|
||||||
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$2\mt-daapd.exe"
|
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$2\mt-daapd.exe"
|
||||||
|
Loading…
Reference in New Issue
Block a user