mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
Add German internationalization for firefly shell, courtesy of Helmut Wieser. Start localizations for win32 installer.
This commit is contained in:
parent
23e567a94b
commit
6f658eb3dd
BIN
win32/FireflyShell/FireflyShell.DEU.rc
Normal file
BIN
win32/FireflyShell/FireflyShell.DEU.rc
Normal file
Binary file not shown.
136
win32/FireflyShell/FireflyShellDEU.vcproj
Normal file
136
win32/FireflyShell/FireflyShellDEU.vcproj
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.10"
|
||||||
|
Name="FireflyShellDEU"
|
||||||
|
ProjectGUID="{9B035724-EAD7-48C5-BBAF-91FFAA3CA55F}"
|
||||||
|
Keyword="Win32Proj">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory="Debug"
|
||||||
|
IntermediateDirectory="Debug"
|
||||||
|
ConfigurationType="2"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FIREFLYSHELLDEU_EXPORTS"
|
||||||
|
MinimalRebuild="TRUE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="1"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="TRUE"
|
||||||
|
DebugInformationFormat="4"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
OutputFile="$(OutDir)/FireflyShellDEU.dll"
|
||||||
|
LinkIncremental="2"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile="$(OutDir)/FireflyShellDEU.pdb"
|
||||||
|
SubSystem="2"
|
||||||
|
ResourceOnlyDLL="TRUE"
|
||||||
|
ImportLibrary="$(OutDir)/FireflyShellDEU.lib"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory="Release"
|
||||||
|
IntermediateDirectory="Release"
|
||||||
|
ConfigurationType="2"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;FIREFLYSHELLDEU_EXPORTS"
|
||||||
|
RuntimeLibrary="0"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="TRUE"
|
||||||
|
DebugInformationFormat="3"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
OutputFile="$(OutDir)/FireflyShellDEU.dll"
|
||||||
|
LinkIncremental="1"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
SubSystem="2"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
|
ResourceOnlyDLL="TRUE"
|
||||||
|
ImportLibrary="$(OutDir)/FireflyShellDEU.lib"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<References>
|
||||||
|
</References>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||||
|
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||||
|
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
||||||
|
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
|
||||||
|
<File
|
||||||
|
RelativePath=".\FireflyShell.DEU.rc">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
Binary file not shown.
Binary file not shown.
@ -27,6 +27,18 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "out-daap", "out-daap\out-da
|
|||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FireflyShellFRA", "FireflyShell\FireflyShellFRA.vcproj", "{819028A4-ED43-4A51-9E32-DC8559ADEBB6}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FireflyShellNLD", "FireflyShell\FireflyShellNLD.vcproj", "{5D6F19F6-6A71-4960-BFB3-BF545D02ACBD}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FireflyShellDEU", "FireflyShell\FireflyShellDEU.vcproj", "{9B035724-EAD7-48C5-BBAF-91FFAA3CA55F}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfiguration) = preSolution
|
GlobalSection(SolutionConfiguration) = preSolution
|
||||||
Debug = Debug
|
Debug = Debug
|
||||||
@ -61,6 +73,18 @@ Global
|
|||||||
{C1EF5133-DFB3-4FEC-B999-3655DBB14786}.Debug.Build.0 = Debug|Win32
|
{C1EF5133-DFB3-4FEC-B999-3655DBB14786}.Debug.Build.0 = Debug|Win32
|
||||||
{C1EF5133-DFB3-4FEC-B999-3655DBB14786}.Release.ActiveCfg = Release|Win32
|
{C1EF5133-DFB3-4FEC-B999-3655DBB14786}.Release.ActiveCfg = Release|Win32
|
||||||
{C1EF5133-DFB3-4FEC-B999-3655DBB14786}.Release.Build.0 = Release|Win32
|
{C1EF5133-DFB3-4FEC-B999-3655DBB14786}.Release.Build.0 = Release|Win32
|
||||||
|
{819028A4-ED43-4A51-9E32-DC8559ADEBB6}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{819028A4-ED43-4A51-9E32-DC8559ADEBB6}.Debug.Build.0 = Debug|Win32
|
||||||
|
{819028A4-ED43-4A51-9E32-DC8559ADEBB6}.Release.ActiveCfg = Release|Win32
|
||||||
|
{819028A4-ED43-4A51-9E32-DC8559ADEBB6}.Release.Build.0 = Release|Win32
|
||||||
|
{5D6F19F6-6A71-4960-BFB3-BF545D02ACBD}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{5D6F19F6-6A71-4960-BFB3-BF545D02ACBD}.Debug.Build.0 = Debug|Win32
|
||||||
|
{5D6F19F6-6A71-4960-BFB3-BF545D02ACBD}.Release.ActiveCfg = Release|Win32
|
||||||
|
{5D6F19F6-6A71-4960-BFB3-BF545D02ACBD}.Release.Build.0 = Release|Win32
|
||||||
|
{9B035724-EAD7-48C5-BBAF-91FFAA3CA55F}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{9B035724-EAD7-48C5-BBAF-91FFAA3CA55F}.Debug.Build.0 = Debug|Win32
|
||||||
|
{9B035724-EAD7-48C5-BBAF-91FFAA3CA55F}.Release.ActiveCfg = Release|Win32
|
||||||
|
{9B035724-EAD7-48C5-BBAF-91FFAA3CA55F}.Release.Build.0 = Release|Win32
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
|
29
win32/nsi/localizations/Dutch.nsh
Normal file
29
win32/nsi/localizations/Dutch.nsh
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
!define LANG "DUTCH"
|
||||||
|
|
||||||
|
!insertmacro LANG_STRING PRODUCT_NAME "Firefly Media Server"
|
||||||
|
|
||||||
|
; Install strings
|
||||||
|
!insertmacro LANG_STRING STRING_BONJOUR_ERROR "Bonjour for Windows service not found. Please install Apple's Bonjour for Windows."
|
||||||
|
!insertmacro LANG_STRING STRING_STOPPING_SERVICE "Stopping Service..."
|
||||||
|
!insertmacro LANG_STRING STRING_WAITING_FOR_STOP "Waiting for service stop ($9)"
|
||||||
|
|
||||||
|
; Strings for the application install directory panel
|
||||||
|
!insertmacro LANG_STRING STRING_DESTFOLDER "Destination Folder"
|
||||||
|
!insertmacro LANG_STRING STRING_DESTDETAIL "Setup will install ${PRODUCT_NAME} in the following folder.$\r$\n$\r$\nTo install in a different folder, click Browse and select another folder. Click Next to continue."
|
||||||
|
|
||||||
|
; Strings for the music path directory panel
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICTITLE "Choose Music Location"
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICHEADER "Choose the folder containing music to share."
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICFOLDER "Music Folder"
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICDETAIL "Setup will share the music in the following folder.$\r$\n$\r$\nTo share a different folder, click Browse and select another folder. Click Install to start the installation."
|
||||||
|
|
||||||
|
; These are for the startmenu shortcuts
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_WEBSITE "Website"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_UNINSTALL "Uninstall"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_DEBUG_MODE "Debug Mode"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_FF_CONFIGURATION "Firefly Configuration"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_ADV_CONFIG "Advanced Configuration"
|
||||||
|
|
||||||
|
; Uninstall Strings
|
||||||
|
!insertmacro LANG_UNSTRING STRING_UNINSTALLED "$(^Name) was successfully removed from your computer."
|
||||||
|
!insertmacro LANG_UNSTRING STRING_AREYOUSURE "Are you sure you want to completely remove $(^Name) and all of its components?"
|
29
win32/nsi/localizations/English.nsh
Normal file
29
win32/nsi/localizations/English.nsh
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
!define LANG "ENGLISH"
|
||||||
|
|
||||||
|
!insertmacro LANG_STRING PRODUCT_NAME "Firefly Media Server"
|
||||||
|
|
||||||
|
; Install strings
|
||||||
|
!insertmacro LANG_STRING STRING_BONJOUR_ERROR "Bonjour for Windows service not found. Please install Apple's Bonjour for Windows."
|
||||||
|
!insertmacro LANG_STRING STRING_STOPPING_SERVICE "Stopping Service..."
|
||||||
|
!insertmacro LANG_STRING STRING_WAITING_FOR_STOP "Waiting for service stop ($9)"
|
||||||
|
|
||||||
|
; Strings for the application install directory panel
|
||||||
|
!insertmacro LANG_STRING STRING_DESTFOLDER "Destination Folder"
|
||||||
|
!insertmacro LANG_STRING STRING_DESTDETAIL "Setup will install ${PRODUCT_NAME} in the following folder.$\r$\n$\r$\nTo install in a different folder, click Browse and select another folder. Click Next to continue."
|
||||||
|
|
||||||
|
; Strings for the music path directory panel
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICTITLE "Choose Music Location"
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICHEADER "Choose the folder containing music to share."
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICFOLDER "Music Folder"
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICDETAIL "Setup will share the music in the following folder.$\r$\n$\r$\nTo share a different folder, click Browse and select another folder. Click Install to start the installation."
|
||||||
|
|
||||||
|
; These are for the startmenu shortcuts
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_WEBSITE "Website"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_UNINSTALL "Uninstall"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_DEBUG_MODE "Debug Mode"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_FF_CONFIGURATION "Firefly Configuration"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_ADV_CONFIG "Advanced Configuration"
|
||||||
|
|
||||||
|
; Uninstall Strings
|
||||||
|
!insertmacro LANG_UNSTRING STRING_UNINSTALLED "$(^Name) was successfully removed from your computer."
|
||||||
|
!insertmacro LANG_UNSTRING STRING_AREYOUSURE "Are you sure you want to completely remove $(^Name) and all of its components?"
|
29
win32/nsi/localizations/French.nsh
Normal file
29
win32/nsi/localizations/French.nsh
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
!define LANG "FRENCH"
|
||||||
|
|
||||||
|
!insertmacro LANG_STRING PRODUCT_NAME "Firefly Media Server"
|
||||||
|
|
||||||
|
; Install strings
|
||||||
|
!insertmacro LANG_STRING STRING_BONJOUR_ERROR "Bonjour for Windows service not found. Please install Apple's Bonjour for Windows."
|
||||||
|
!insertmacro LANG_STRING STRING_STOPPING_SERVICE "Stopping Service..."
|
||||||
|
!insertmacro LANG_STRING STRING_WAITING_FOR_STOP "Waiting for service stop ($9)"
|
||||||
|
|
||||||
|
; Strings for the application install directory panel
|
||||||
|
!insertmacro LANG_STRING STRING_DESTFOLDER "Destination Folder"
|
||||||
|
!insertmacro LANG_STRING STRING_DESTDETAIL "Setup will install ${PRODUCT_NAME} in the following folder.$\r$\n$\r$\nTo install in a different folder, click Browse and select another folder. Click Next to continue."
|
||||||
|
|
||||||
|
; Strings for the music path directory panel
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICTITLE "Choose Music Location"
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICHEADER "Choose the folder containing music to share."
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICFOLDER "Music Folder"
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICDETAIL "Setup will share the music in the following folder.$\r$\n$\r$\nTo share a different folder, click Browse and select another folder. Click Install to start the installation."
|
||||||
|
|
||||||
|
; These are for the startmenu shortcuts
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_WEBSITE "Website"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_UNINSTALL "Uninstall"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_DEBUG_MODE "Debug Mode"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_FF_CONFIGURATION "Firefly Configuration"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_ADV_CONFIG "Advanced Configuration"
|
||||||
|
|
||||||
|
; Uninstall Strings
|
||||||
|
!insertmacro LANG_UNSTRING STRING_UNINSTALLED "$(^Name) was successfully removed from your computer."
|
||||||
|
!insertmacro LANG_UNSTRING STRING_AREYOUSURE "Are you sure you want to completely remove $(^Name) and all of its components?"
|
29
win32/nsi/localizations/German.nsh
Normal file
29
win32/nsi/localizations/German.nsh
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
!define LANG "GERMAN"
|
||||||
|
|
||||||
|
!insertmacro LANG_STRING PRODUCT_NAME "Firefly Media Server"
|
||||||
|
|
||||||
|
; Install strings
|
||||||
|
!insertmacro LANG_STRING STRING_BONJOUR_ERROR "Bonjour for Windows service not found. Please install Apple's Bonjour for Windows."
|
||||||
|
!insertmacro LANG_STRING STRING_STOPPING_SERVICE "Stopping Service..."
|
||||||
|
!insertmacro LANG_STRING STRING_WAITING_FOR_STOP "Waiting for service stop ($9)"
|
||||||
|
|
||||||
|
; Strings for the application install directory panel
|
||||||
|
!insertmacro LANG_STRING STRING_DESTFOLDER "Destination Folder"
|
||||||
|
!insertmacro LANG_STRING STRING_DESTDETAIL "Setup will install ${PRODUCT_NAME} in the following folder.$\r$\n$\r$\nTo install in a different folder, click Browse and select another folder. Click Next to continue."
|
||||||
|
|
||||||
|
; Strings for the music path directory panel
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICTITLE "Choose Music Location"
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICHEADER "Choose the folder containing music to share."
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICFOLDER "Music Folder"
|
||||||
|
!insertmacro LANG_STRING STRING_MUSICDETAIL "Setup will share the music in the following folder.$\r$\n$\r$\nTo share a different folder, click Browse and select another folder. Click Install to start the installation."
|
||||||
|
|
||||||
|
; These are for the startmenu shortcuts
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_WEBSITE "Website"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_UNINSTALL "Uninstall"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_DEBUG_MODE "Debug Mode"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_FF_CONFIGURATION "Firefly Configuration"
|
||||||
|
!insertmacro LANG_BOTHSTRING STRING_ADV_CONFIG "Advanced Configuration"
|
||||||
|
|
||||||
|
; Uninstall Strings
|
||||||
|
!insertmacro LANG_UNSTRING STRING_UNINSTALLED "$(^Name) was successfully removed from your computer."
|
||||||
|
!insertmacro LANG_UNSTRING STRING_AREYOUSURE "Are you sure you want to completely remove $(^Name) and all of its components?"
|
@ -53,10 +53,34 @@
|
|||||||
; Uninstaller pages
|
; Uninstaller pages
|
||||||
!insertmacro MUI_UNPAGE_INSTFILES
|
!insertmacro MUI_UNPAGE_INSTFILES
|
||||||
|
|
||||||
; Language files
|
|
||||||
!insertmacro MUI_LANGUAGE "English"
|
|
||||||
|
|
||||||
; MUI end ------
|
; MUI end ------
|
||||||
|
!macro LANG_LOAD LANGLOAD
|
||||||
|
!insertmacro MUI_LANGUAGE "${LANGLOAD}"
|
||||||
|
; !verbose
|
||||||
|
!include "localizations\${LANGLOAD}.nsh"
|
||||||
|
; !verbose on
|
||||||
|
!undef LANG
|
||||||
|
!macroend
|
||||||
|
|
||||||
|
!macro LANG_STRING NAME VALUE
|
||||||
|
LangString "${NAME}" "${LANG_${LANG}}" "${VALUE}"
|
||||||
|
!macroend
|
||||||
|
|
||||||
|
!macro LANG_UNSTRING NAME VALUE
|
||||||
|
!insertmacro LANG_STRING "un.${NAME}" "${VALUE}"
|
||||||
|
!macroend
|
||||||
|
|
||||||
|
!macro LANG_BOTHSTRING NAME VALUE
|
||||||
|
!insertmacro LANG_STRING "${NAME}" "${VALUE}"
|
||||||
|
!insertmacro LANG_UNSTRING "${NAME}" "${VALUE}"
|
||||||
|
!macroend
|
||||||
|
|
||||||
|
|
||||||
|
;!insertmacro MUI_LANGUAGE "English"
|
||||||
|
!insertmacro LANG_LOAD "English"
|
||||||
|
!insertmacro LANG_LOAD "French"
|
||||||
|
!insertmacro LANG_LOAD "Dutch"
|
||||||
|
!insertmacro LANG_LOAD "German"
|
||||||
|
|
||||||
Name "${PRODUCT_NAME}"
|
Name "${PRODUCT_NAME}"
|
||||||
Icon "..\ff.ico"
|
Icon "..\ff.ico"
|
||||||
@ -77,7 +101,7 @@ Section -Pre
|
|||||||
Pop $1
|
Pop $1
|
||||||
|
|
||||||
StrCmp $0 "success" lbl_got_bonjour
|
StrCmp $0 "success" lbl_got_bonjour
|
||||||
MessageBox MB_OK "Bonjour for Windows service not found. Please install Apple's Bonjour for Windows."
|
MessageBox MB_OK "$(STRING_BONJOUR_ERROR)"
|
||||||
Quit
|
Quit
|
||||||
|
|
||||||
lbl_got_bonjour:
|
lbl_got_bonjour:
|
||||||
@ -92,16 +116,16 @@ Section -Pre
|
|||||||
goto lbl_continue
|
goto lbl_continue
|
||||||
|
|
||||||
lbl_stop_service:
|
lbl_stop_service:
|
||||||
DetailPrint "Stopping Service..."
|
DetailPrint "$(STRING_STOPPING_SERVICE)"
|
||||||
nsSCM::Stop "${PRODUCT_NAME}"
|
nsSCM::Stop "$(PRODUCT_NAME)"
|
||||||
|
|
||||||
lbl_wait_stop:
|
lbl_wait_stop:
|
||||||
Sleep 1000
|
Sleep 1000
|
||||||
nsSCM::QueryStatus "${PRODUCT_NAME}"
|
nsSCM::QueryStatus "$(PRODUCT_NAME)"
|
||||||
Pop $0
|
Pop $0
|
||||||
Pop $1
|
Pop $1
|
||||||
|
|
||||||
DetailPrint $0
|
; DetailPrint $0
|
||||||
StrCmp $0 "success" lbl_check_status
|
StrCmp $0 "success" lbl_check_status
|
||||||
goto lbl_continue
|
goto lbl_continue
|
||||||
|
|
||||||
@ -110,7 +134,7 @@ Section -Pre
|
|||||||
|
|
||||||
lbl_continue:
|
lbl_continue:
|
||||||
; should really loop until service stops...
|
; should really loop until service stops...
|
||||||
DetailPrint "Waiting for service stop ($9)"
|
DetailPrint "$(STRING_WAITING_FOR_STOP)"
|
||||||
|
|
||||||
IntOp $9 $9 + 1
|
IntOp $9 $9 + 1
|
||||||
IntCmp $9 10 +1 +1 lbl_done_pre
|
IntCmp $9 10 +1 +1 lbl_done_pre
|
||||||
@ -128,6 +152,9 @@ Section "MainSection" SEC01
|
|||||||
SetOverwrite on
|
SetOverwrite on
|
||||||
File /oname=firefly.exe "${MTD_SOURCE}\mt-daapd.exe"
|
File /oname=firefly.exe "${MTD_SOURCE}\mt-daapd.exe"
|
||||||
File "${CONFIG_SOURCE}\FireflyShell.exe"
|
File "${CONFIG_SOURCE}\FireflyShell.exe"
|
||||||
|
File "${CONFIG_SOURCE}\FireflyShellDEU.dll"
|
||||||
|
File "${CONFIG_SOURCE}\FireflyShellFRA.dll"
|
||||||
|
File "${CONFIG_SOURCE}\FireflyShellNLD.dll"
|
||||||
File "${CONFIG_SOURCE}\..\FireflyShell.exe.manifest"
|
File "${CONFIG_SOURCE}\..\FireflyShell.exe.manifest"
|
||||||
File "${DLL_SOURCE}\gnu_regex.dll"
|
File "${DLL_SOURCE}\gnu_regex.dll"
|
||||||
File "${DLL_SOURCE}\pthreadVC2.dll"
|
File "${DLL_SOURCE}\pthreadVC2.dll"
|
||||||
@ -245,11 +272,11 @@ SectionEnd
|
|||||||
Section -AdditionalIcons
|
Section -AdditionalIcons
|
||||||
WriteIniStr "$2\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
|
WriteIniStr "$2\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
|
||||||
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
|
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
|
||||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Website.lnk" "$2\${PRODUCT_NAME}.url"
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(STRING_WEBSITE).lnk" "$2\${PRODUCT_NAME}.url"
|
||||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$2\uninst.exe"
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(STRING_UNINSTALL).lnk" "$2\uninst.exe"
|
||||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Debug Mode.lnk" "$2\firefly.exe" "-d9 -f"
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(STRING_DEBUG_MODE).lnk" "$2\firefly.exe" "-d9 -f"
|
||||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Firefly Configuration.lnk" "$2\FireflyShell.exe"
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(STRING_FF_CONFIGURATION).lnk" "$2\FireflyShell.exe"
|
||||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Advanced Configuration.lnk" "notepad.exe" "$2\mt-daapd.conf"
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(STRING_ADV_CONFIG).lnk" "notepad.exe" "$2\mt-daapd.conf"
|
||||||
|
|
||||||
Delete "$SMPROGRAMS\Startup\Firefly Configuration.lnk"
|
Delete "$SMPROGRAMS\Startup\Firefly Configuration.lnk"
|
||||||
|
|
||||||
@ -286,11 +313,11 @@ SectionEnd
|
|||||||
|
|
||||||
Function un.onUninstSuccess
|
Function un.onUninstSuccess
|
||||||
HideWindow
|
HideWindow
|
||||||
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
|
MessageBox MB_ICONINFORMATION|MB_OK "$(un.STRING_UNINSTALLED)"
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Function un.onInit
|
Function un.onInit
|
||||||
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
|
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(un.STRING_AREYOUSURE)" IDYES +2
|
||||||
Abort
|
Abort
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
@ -300,6 +327,22 @@ Function .onInit
|
|||||||
StrCpy $INSTDIR "$PROGRAMFILES\${PRODUCT_NAME}"
|
StrCpy $INSTDIR "$PROGRAMFILES\${PRODUCT_NAME}"
|
||||||
StrCpy $2 "$PROGRAMFILES\${PRODUCT_NAME}"
|
StrCpy $2 "$PROGRAMFILES\${PRODUCT_NAME}"
|
||||||
StrCpy $3 "$DOCUMENTS\My Music"
|
StrCpy $3 "$DOCUMENTS\My Music"
|
||||||
|
|
||||||
|
Push ""
|
||||||
|
Push ${LANG_ENGLISH}
|
||||||
|
Push English
|
||||||
|
Push ${LANG_FRENCH}
|
||||||
|
Push French
|
||||||
|
Push ${LANG_DUTCH}
|
||||||
|
Push Dutch
|
||||||
|
Push ${LANG_GERMAN}
|
||||||
|
Push German
|
||||||
|
; more
|
||||||
|
Push A
|
||||||
|
LangDLL::LangDialog "Installer Language" "Please select the language of the installer"
|
||||||
|
Pop $LANGUAGE
|
||||||
|
StrCmp $LANGUAGE "cancel" 0 +2
|
||||||
|
Abort
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Function LicensePost
|
Function LicensePost
|
||||||
@ -321,17 +364,17 @@ Function DirectoryShow
|
|||||||
|
|
||||||
AppDirectoryPage:
|
AppDirectoryPage:
|
||||||
StrCpy $9 "1"
|
StrCpy $9 "1"
|
||||||
!insertmacro MUI_INNERDIALOG_TEXT 1041 "Destination Folder"
|
!insertmacro MUI_INNERDIALOG_TEXT 1041 "$(STRING_DESTFOLDER)"
|
||||||
!insertmacro MUI_INNERDIALOG_TEXT 1019 "$PROGRAMFILES\${PRODUCT_NAME}\"
|
!insertmacro MUI_INNERDIALOG_TEXT 1019 "$PROGRAMFILES\${PRODUCT_NAME}\"
|
||||||
!insertmacro MUI_INNERDIALOG_TEXT 1006 "Setup will install ${PRODUCT_NAME} in the following folder.$\r$\n$\r$\nTo install in a different folder, click Browse and select another folder. Click Next to continue."
|
!insertmacro MUI_INNERDIALOG_TEXT 1006 "$(STRING_DESTDETAIL)"
|
||||||
Goto EndDirectoryShow
|
Goto EndDirectoryShow
|
||||||
|
|
||||||
MusicDirectoryPage:
|
MusicDirectoryPage:
|
||||||
StrCpy $9 "2"
|
StrCpy $9 "2"
|
||||||
!insertmacro MUI_HEADER_TEXT "Choose Music Location" "Choose the folder containing music to share."
|
!insertmacro MUI_HEADER_TEXT "$(STRING_MUSICTITLE)" "$(STRING_MUSICHEADER)"
|
||||||
!insertmacro MUI_INNERDIALOG_TEXT 1041 "Music Folder"
|
!insertmacro MUI_INNERDIALOG_TEXT 1041 "$(STRING_MUSICFOLDER)"
|
||||||
!insertmacro MUI_INNERDIALOG_TEXT 1019 "$DOCUMENTS\My Music"
|
!insertmacro MUI_INNERDIALOG_TEXT 1019 "$DOCUMENTS\My Music"
|
||||||
!insertmacro MUI_INNERDIALOG_TEXT 1006 "Setup will share the music in the following folder.$\r$\n$\r$\nTo share a different folder, click Browse and select another folder. Click Install to start the installation."
|
!insertmacro MUI_INNERDIALOG_TEXT 1006 "$(STRING_MUSICDETAIL)"
|
||||||
EndDirectoryShow:
|
EndDirectoryShow:
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
@ -537,6 +580,9 @@ Section Uninstall
|
|||||||
Delete "$INSTDIR\firefly.exe"
|
Delete "$INSTDIR\firefly.exe"
|
||||||
Delete "$INSTDIR\FireflyShell.exe"
|
Delete "$INSTDIR\FireflyShell.exe"
|
||||||
Delete "$INSTDIR\FireflyShell.exe.manifest"
|
Delete "$INSTDIR\FireflyShell.exe.manifest"
|
||||||
|
Delete "$INSTDIR\FireflyShellDEU.dll"
|
||||||
|
Delete "$INSTDIR\FireflyShellFRA.dll"
|
||||||
|
Delete "$INSTDIR\FireflyShellNLD.dll"
|
||||||
|
|
||||||
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk"
|
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk"
|
||||||
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Website.lnk"
|
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Website.lnk"
|
||||||
|
Loading…
Reference in New Issue
Block a user