Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[WIN] Add page in installer for AirPlay/Bonjour information

  • Loading branch information...
commit ccab23fd4ba384d5df04e5f3f5b33fab7e2a80fb 1 parent 0e48188
@CrystalP authored
Showing with 22 additions and 2 deletions.
  1. +22 −2 project/Win32BuildSetup/XBMC for Windows.nsi
View
24 project/Win32BuildSetup/XBMC for Windows.nsi
@@ -36,7 +36,7 @@
Var RunArgs
Var DirectXSetupError
Var VSRedistSetupError
-
+
;--------------------------------
;Interface Settings
@@ -59,6 +59,7 @@
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "..\..\LICENSE.GPL"
!insertmacro MUI_PAGE_COMPONENTS
+Page custom nsBonjourDialog
!insertmacro MUI_PAGE_DIRECTORY
;Start Menu Folder Page Configuration
@@ -379,4 +380,23 @@ Function .onInit
IntOp $0 ${SF_SELECTED} | ${SF_RO}
SectionSetFlags ${SEC_DIRECTX} $0
FunctionEnd
-!endif
+!endif
+
+Var BonjourDialog
+
+Function nsBonjourDialog
+ !insertmacro MUI_HEADER_TEXT "Extra Packages" "Packages to download for full XBMC functionnality"
+ nsDialogs::Create /NOUNLOAD 1018
+ Pop $BonjourDialog
+
+ ${If} $BonjourDialog == error
+ Abort
+ ${EndIf}
+
+ ${NSD_CreateLabel} 0 0 100% 12u "XBMC can act as an AirPlay target."
+ Pop $0
+ ${NSD_CreateLabel} 0 20 100% 25u "In order to use this function, the Apple Bonjour services must be enabled on the computer. They are included in Apple software products such as iTunes, Safari and the Bonjour Print Services."
+ Pop $0
+
+ nsDialogs::Show
+FunctionEnd
Please sign in to comment.
Something went wrong with that request. Please try again.