media: connect audio when someone adds voice to text chat
[siplcs.git] / pidgin-sipe.nsi
blob3181e709964c7d202e7d48392283b691eff7a5a9
1 ;NSIS Modern User Interface
2 ;Basic Example Script
3 ;Written by Joost Verburg
5 ;--------------------------------
6 ;Include Modern UI
8 !include "MUI.nsh"
10 ;--------------------------------
11 ;General
13 ;Name and file
14 Name "Pidgin SIPE Plugin"
15 OutFile "pidgin-sipe-${VERSION}.exe"
17 ;Default installation folder
18 InstallDir "$PROGRAMFILES\Pidgin"
20 ;Get installation folder from registry if available
21 InstallDirRegKey HKLM "Software\pidgin" ""
24 SetCompressor /FINAL /SOLID lzma
25 SetCompressorDictSize 64
27 ;--------------------------------
28 ;Interface Settings
30 !define MUI_ABORTWARNING
32 ;--------------------------------
33 ;Pages
35 ;!insertmacro MUI_PAGE_LICENSE "Basic.nsi"
36 ;!insertmacro MUI_PAGE_COMPONENTS
37 !insertmacro MUI_PAGE_DIRECTORY
38 !insertmacro MUI_PAGE_INSTFILES
40 !insertmacro MUI_UNPAGE_CONFIRM
41 !insertmacro MUI_UNPAGE_INSTFILES
43 ;--------------------------------
44 ;Languages
46 !insertmacro MUI_LANGUAGE "English"
48 ;--------------------------------
49 ;Installer Sections
51 Section "PidginSIPE" SecPidginSIPE
52 SetOutPath "$INSTDIR"
53 File "${TREETOP}\..\win32-dev\mingw\bin\libiconv-2.dll"
54 SetOutPath "$INSTDIR\plugins"
55 File "${TREETOP}\win32-install-dir\plugins\libsipe.dll"
56 SetOutPath "$INSTDIR\locale\ar\LC_MESSAGES"
57 File "${TREETOP}\win32-install-dir\locale\ar\LC_MESSAGES\pidgin-sipe.mo"
58 SetOutPath "$INSTDIR\locale\cs\LC_MESSAGES"
59 File "${TREETOP}\win32-install-dir\locale\cs\LC_MESSAGES\pidgin-sipe.mo"
60 SetOutPath "$INSTDIR\locale\da\LC_MESSAGES"
61 File "${TREETOP}\win32-install-dir\locale\da\LC_MESSAGES\pidgin-sipe.mo"
62 SetOutPath "$INSTDIR\locale\de\LC_MESSAGES"
63 File "${TREETOP}\win32-install-dir\locale\de\LC_MESSAGES\pidgin-sipe.mo"
64 SetOutPath "$INSTDIR\locale\es\LC_MESSAGES"
65 File "${TREETOP}\win32-install-dir\locale\es\LC_MESSAGES\pidgin-sipe.mo"
66 SetOutPath "$INSTDIR\locale\fi\LC_MESSAGES"
67 File "${TREETOP}\win32-install-dir\locale\fi\LC_MESSAGES\pidgin-sipe.mo"
68 SetOutPath "$INSTDIR\locale\fr\LC_MESSAGES"
69 File "${TREETOP}\win32-install-dir\locale\fr\LC_MESSAGES\pidgin-sipe.mo"
70 SetOutPath "$INSTDIR\locale\hi\LC_MESSAGES"
71 File "${TREETOP}\win32-install-dir\locale\hi\LC_MESSAGES\pidgin-sipe.mo"
72 SetOutPath "$INSTDIR\locale\hu\LC_MESSAGES"
73 File "${TREETOP}\win32-install-dir\locale\hu\LC_MESSAGES\pidgin-sipe.mo"
74 SetOutPath "$INSTDIR\locale\it\LC_MESSAGES"
75 File "${TREETOP}\win32-install-dir\locale\it\LC_MESSAGES\pidgin-sipe.mo"
76 SetOutPath "$INSTDIR\locale\ja\LC_MESSAGES"
77 File "${TREETOP}\win32-install-dir\locale\ja\LC_MESSAGES\pidgin-sipe.mo"
78 SetOutPath "$INSTDIR\locale\ko\LC_MESSAGES"
79 File "${TREETOP}\win32-install-dir\locale\ko\LC_MESSAGES\pidgin-sipe.mo"
80 SetOutPath "$INSTDIR\locale\nb\LC_MESSAGES"
81 File "${TREETOP}\win32-install-dir\locale\nb\LC_MESSAGES\pidgin-sipe.mo"
82 SetOutPath "$INSTDIR\locale\nl\LC_MESSAGES"
83 File "${TREETOP}\win32-install-dir\locale\nl\LC_MESSAGES\pidgin-sipe.mo"
84 SetOutPath "$INSTDIR\locale\pl\LC_MESSAGES"
85 File "${TREETOP}\win32-install-dir\locale\pl\LC_MESSAGES\pidgin-sipe.mo"
86 SetOutPath "$INSTDIR\locale\pt_BR\LC_MESSAGES"
87 File "${TREETOP}\win32-install-dir\locale\pt_BR\LC_MESSAGES\pidgin-sipe.mo"
88 SetOutPath "$INSTDIR\locale\ru\LC_MESSAGES"
89 File "${TREETOP}\win32-install-dir\locale\ru\LC_MESSAGES\pidgin-sipe.mo"
90 SetOutPath "$INSTDIR\locale\sv\LC_MESSAGES"
91 File "${TREETOP}\win32-install-dir\locale\sv\LC_MESSAGES\pidgin-sipe.mo"
92 SetOutPath "$INSTDIR\locale\ta\LC_MESSAGES"
93 File "${TREETOP}\win32-install-dir\locale\ta\LC_MESSAGES\pidgin-sipe.mo"
94 SetOutPath "$INSTDIR\locale\zh_CN\LC_MESSAGES"
95 File "${TREETOP}\win32-install-dir\locale\zh_CN\LC_MESSAGES\pidgin-sipe.mo"
96 SetOutPath "$INSTDIR\locale\zh_TW\LC_MESSAGES"
97 File "${TREETOP}\win32-install-dir\locale\zh_TW\LC_MESSAGES\pidgin-sipe.mo"
98 SetOutPath "$INSTDIR\pixmaps\pidgin\protocols\16"
99 File "${TREETOP}\win32-install-dir\pixmaps\pidgin\protocols\16\sipe.png"
100 SetOutPath "$INSTDIR\pixmaps\pidgin\protocols\22"
101 File "${TREETOP}\win32-install-dir\pixmaps\pidgin\protocols\22\sipe.png"
102 SetOutPath "$INSTDIR\pixmaps\pidgin\protocols\48"
103 File "${TREETOP}\win32-install-dir\pixmaps\pidgin\protocols\48\sipe.png"
105 ;Create uninstaller
106 WriteUninstaller "$INSTDIR\Uninstall-pidgin-sipe.exe"
108 SectionEnd
110 ;--------------------------------
111 ;Descriptions
113 ;Language strings
114 LangString DESC_SecPidginSIPE ${LANG_ENGLISH} "The Pidgin SIPE Plugin."
116 ;Assign language strings to sections
117 ;!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
118 ; !insertmacro MUI_DESCRIPTION_TEXT ${SecPidginPP} $(DESC_SecPidginPP)
119 ;!insertmacro MUI_FUNCTION_DESCRIPTION_END
121 ;--------------------------------
122 ;Uninstaller Section
124 Section "Uninstall"
126 ;ADD YOUR OWN FILES HERE...
128 Delete "$INSTDIR\Uninstall-pidgin-sipe.exe"
129 Delete "$INSTDIR\libiconv-2.dll"
130 Delete "$INSTDIR\plugins\libsipe.dll"
131 Delete "$INSTDIR\locale\ar\LC_MESSAGES\pidgin-sipe.mo"
132 Delete "$INSTDIR\locale\cs\LC_MESSAGES\pidgin-sipe.mo"
133 Delete "$INSTDIR\locale\da\LC_MESSAGES\pidgin-sipe.mo"
134 Delete "$INSTDIR\locale\de\LC_MESSAGES\pidgin-sipe.mo"
135 Delete "$INSTDIR\locale\es\LC_MESSAGES\pidgin-sipe.mo"
136 Delete "$INSTDIR\locale\fi\LC_MESSAGES\pidgin-sipe.mo"
137 Delete "$INSTDIR\locale\fr\LC_MESSAGES\pidgin-sipe.mo"
138 Delete "$INSTDIR\locale\hi\LC_MESSAGES\pidgin-sipe.mo"
139 Delete "$INSTDIR\locale\hu\LC_MESSAGES\pidgin-sipe.mo"
140 Delete "$INSTDIR\locale\it\LC_MESSAGES\pidgin-sipe.mo"
141 Delete "$INSTDIR\locale\ja\LC_MESSAGES\pidgin-sipe.mo"
142 Delete "$INSTDIR\locale\ko\LC_MESSAGES\pidgin-sipe.mo"
143 Delete "$INSTDIR\locale\nb\LC_MESSAGES\pidgin-sipe.mo"
144 Delete "$INSTDIR\locale\nl\LC_MESSAGES\pidgin-sipe.mo"
145 Delete "$INSTDIR\locale\output\LC_MESSAGES\pidgin-sipe.mo"
146 Delete "$INSTDIR\locale\pl\LC_MESSAGES\pidgin-sipe.mo"
147 Delete "$INSTDIR\locale\pt_BR\LC_MESSAGES\pidgin-sipe.mo"
148 Delete "$INSTDIR\locale\ru\LC_MESSAGES\pidgin-sipe.mo"
149 Delete "$INSTDIR\locale\sv\LC_MESSAGES\pidgin-sipe.mo"
150 Delete "$INSTDIR\locale\ta\LC_MESSAGES\pidgin-sipe.mo"
151 Delete "$INSTDIR\locale\zh_CN\LC_MESSAGES\pidgin-sipe.mo"
152 Delete "$INSTDIR\locale\zh_TW\LC_MESSAGES\pidgin-sipe.mo"
153 Delete "$INSTDIR\pixmaps\pidgin\protocols\16\sipe.png"
154 Delete "$INSTDIR\pixmaps\pidgin\protocols\22\sipe.png"
155 Delete "$INSTDIR\pixmaps\pidgin\protocols\48\sipe.png"
157 SectionEnd