Revision 3168

View differences:

nsis/english.nsh
5 5
LangString attachment_tool_plugin ${LANG_ENGLISH} "attachment_tool"
6 6
LangString desktop_shortcut ${LANG_ENGLISH} "Shortcut for Desktop"
7 7
LangString quick_shortcut ${LANG_ENGLISH} "Shortcut for Quick Launch"
8
LangString handler ${LANG_ENGLISH} "Register as mailto: protocol handler"
8
LangString handler ${LANG_ENGLISH} "Register associations"
9 9
LangString sylpheed_description ${LANG_ENGLISH} "Sylpheed itself"
10 10
LangString plugins_description ${LANG_ENGLISH} "Plug-ins for Sylpheed"
11 11
LangString sylpheed_pro_description ${LANG_ENGLISH} "Sylpheed Pro Full-text Search Plug-in"
......
14 14
LangString bsfilter_description ${LANG_ENGLISH} "bsfilter bayesian spam filter"
15 15
LangString desktop_shortcut_description ${LANG_ENGLISH} "Create shortcut for Desktop (current user only)"
16 16
LangString quick_shortcut_description ${LANG_ENGLISH} "Create shortcut for Quick Launch (current user only)"
17
LangString handler_description ${LANG_ENGLISH} "Start Sylpheed when the link of mailto: \
18
 is clicked by an Web browser etc."
17
LangString handler_description ${LANG_ENGLISH} "Start Sylpheed when a mailto: link \
18
 is clicked on Web browser etc., or an eml file is opened"
19 19
LangString un_sylpheed_description ${LANG_ENGLISH} "Sylpheed itself"
20 20
LangString un_plugins_description ${LANG_ENGLISH} "Plug-ins for Sylpheed"
21 21
LangString un_sylpheed_pro_description ${LANG_ENGLISH} "Sylpheed Pro Full-text Search Plug-in"
nsis/sylpheed-defs.nsh
1 1
;!define SYLPHEED_PRO
2 2

  
3 3
!define PRODUCT_NAME "Sylpheed"
4
!define PRODUCT_VERSION "3.3beta2"
4
!define PRODUCT_VERSION "3.3beta2.6"
5 5

  
6 6
!ifdef SYLPHEED_PRO
7 7
!define PRODUCT_PUBLISHER "SRA OSS, Inc. Japan"
nsis/sylpheed.nsi
151 151
${MementoSectionEnd}
152 152

  
153 153
${MementoSection} "$(handler)" sec_handler
154
   ; HKLM
155
   ; .eml
156
   WriteRegStr HKLM "Software\Classes\Sylpheed.EML" "" "Sylpheed Message"
157
   WriteRegDWORD HKLM "Software\Classes\Sylpheed.EML" "EditFlags" 0x00000002
158
   WriteRegStr HKLM "Software\Classes\Sylpheed.EML" "FriendlyTypeName" "Sylpheed Message"
159
   WriteRegStr HKLM "Software\Classes\Sylpheed.EML\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0"
160
   WriteRegStr HKLM "Software\Classes\Sylpheed.EML\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --open $\"%1$\""
161

  
162
   ; mailto:
163
   WriteRegStr HKLM "Software\Classes\mailto" "" "URL:MailTo Protocol"
164
   WriteRegDWORD HKCU "Software\Classes\mailto" "EditFlags" 0x00000002
165
   WriteRegStr HKLM "Software\Classes\mailto" "FriendlyTypeName" "Sylpheed MailTo"
166
   WriteRegStr HKLM "Software\Classes\mailto" "URL Protocol" ""
167
   WriteRegStr HKLM "Software\Classes\mailto\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\""
168

  
169
   WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo" "" "URL:MailTo Protocol"
170
   WriteRegDWORD HKLM "Software\Classes\Sylpheed.Url.MailTo" "EditFlags" 0x00000002
171
   WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo" "FriendlyTypeName" "Sylpheed MailTo"
172
   WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo" "URL Protocol" ""
173
   WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0"
174
   WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\""
175

  
154 176
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed" "" "Sylpheed"
177
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0"
155 178
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Protocols\mailto" "" "URL:MailTo Protocol"
156 179
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Protocols\mailto" "URL Protocol" ""
180
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Protocols\mailto\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0"
157 181
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Protocols\mailto\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\""
158 182
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\""
159 183

  
160 184
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities" "ApplicationName" "Sylpheed"
185
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities" "ApplicationIcon" "$INSTDIR\sylpheed.exe,0"
161 186
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities" "ApplicationDescription" "Sylpheed - lightweight and user-friendly e-mail client"
187
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities\FileAssociations" ".eml" "Sylpheed.EML"
188
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities\URLAssociations" "mailto" "Sylpheed.Url.MailTo"
189
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities\StartMenu" "Mail" "Sylpheed"
190

  
162 191
   WriteRegStr HKLM "Software\RegisteredApplications" "Sylpheed" "SOFTWARE\Clients\Mail\Sylpheed\Capabilities"
163
   WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities\URLAssociations" "mailto" "Sylpheed.Url.MailTo"
164
   WriteRegStr HKCR "Sylpheed.Url.MailTo" "" "URL:MailTo Protocol"
165
   WriteRegStr HKCR "Sylpheed.Url.MailTo" "FriendlyTypeName" "Sylpheed MailTo"
166
   WriteRegDWORD HKCR "Sylpheed.Url.MailTo" "EditFlags" 0x00000002
167
   WriteRegStr HKCR "Sylpheed.Url.MailTo" "URL Protocol" ""
168
   WriteRegStr HKCR "Sylpheed.Url.MailTo\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\""
192

  
193
   ; HKCU
194
   WriteRegStr HKCU "Software\Clients\Mail" "" "Sylpheed"
195

  
196
   WriteRegStr HKCU "Software\Microsoft\Windows\Shell\Associations\URLAssociations\mailto\UserChoice" "Progid" "Sylpheed.Url.MailTo"
197
   DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.eml\UserChoice"
198
   WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.eml\UserChoice" "Progid" "Sylpheed.EML"
199

  
200
   ; .eml
201
   WriteRegStr HKCU "Software\Classes\.eml" "" "Sylpheed.EML"
202

  
203
   WriteRegStr HKCU "Software\Classes\Sylpheed.EML" "" "Sylpheed Message"
204
   WriteRegDWORD HKCU "Software\Classes\Sylpheed.EML" "EditFlags" 0x00000002
205
   WriteRegStr HKCU "Software\Classes\Sylpheed.EML" "FriendlyTypeName" "Sylpheed Message"
206
   WriteRegStr HKCU "Software\Classes\Sylpheed.EML\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0"
207
   WriteRegStr HKCU "Software\Classes\Sylpheed.EML\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --open $\"%1$\""
208

  
209
   ; mailto:
210
   WriteRegStr HKCU "Software\Classes\mailto" "" "URL:MailTo Protocol"
211
   WriteRegDWORD HKCU "Software\Classes\mailto" "EditFlags" 0x00000002
212
   WriteRegStr HKCU "Software\Classes\mailto" "FriendlyTypeName" "Sylpheed MailTo"
213
   WriteRegStr HKCU "Software\Classes\mailto" "URL Protocol" ""
214
   WriteRegStr HKCU "Software\Classes\mailto\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0"
215
   WriteRegStr HKCU "Software\Classes\mailto\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\""
216

  
217
   WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo" "" "URL:MailTo Protocol"
218
   WriteRegDWORD HKCU "Software\Classes\Sylpheed.Url.MailTo" "EditFlags" 0x00000002
219
   WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo" "FriendlyTypeName" "Sylpheed MailTo"
220
   WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo" "URL Protocol" ""
221
   WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0"
222
   WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\""
169 223
${MementoSectionEnd}
170 224

  
171 225
${MementoSectionDone}
......
313 367

  
314 368
  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
315 369
  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_DIR_REGKEY}"
316
  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "Software\Clients\Mail\Sylpheed"
370
  DeleteRegKey HKLM "Software\Classes\Sylpheed.EML"
371
  DeleteRegKey HKLM "Software\Classes\Sylpheed.Url.MailTo"
372
  DeleteRegKey HKLM "Software\Clients\Mail\Sylpheed"
373
  DeleteRegValue HKLM "Software\RegisteredApplications" "Sylpheed"
374
  DeleteRegKey HKCU "Software\Classes\Sylpheed.EML"
375
  DeleteRegKey HKCU "Software\Classes\Sylpheed.Url.MailTo"
317 376
  DeleteRegKey ${MEMENTO_REGISTRY_ROOT} "${MEMENTO_REGISTRY_KEY}"
377

  
318 378
  SetAutoClose true
319 379
SectionEnd
320 380

  
nsis/japanese.nsh
5 5
LangString attachment_tool_plugin ${LANG_JAPANESE} "attachment_tool"
6 6
LangString desktop_shortcut ${LANG_JAPANESE} "?f?X?N?g?b?v?̃V???[?g?J?b?g"
7 7
LangString quick_shortcut ${LANG_JAPANESE} "?N?C?b?N?N???̃V???[?g?J?b?g"
8
LangString handler ${LANG_JAPANESE} "mailto: ?v???g?R???̃n???h???̓o?^"
8
LangString handler ${LANG_JAPANESE} "?֘A?t???̓o?^"
9 9
LangString sylpheed_description ${LANG_JAPANESE} "Sylpheed?{?̂ł?"
10 10
LangString plugins_description ${LANG_JAPANESE} "Sylpheed?p?̃v???O?C??"
11 11
LangString sylpheed_pro_description ${LANG_JAPANESE} "Sylpheed Pro ?S???????v???O?C??"
......
15 15
LangString desktop_shortcut_description ${LANG_JAPANESE} "?f?X?N?g?b?v?ɃV???[?g?J?b?g???쐬???܂?(???݂̃??[?U?̂?)"
16 16
LangString quick_shortcut_description ${LANG_JAPANESE} "?N?C?b?N?N???ɃV???[?g?J?b?g???쐬???܂?(???݂̃??[?U?̂?)"
17 17
LangString handler_description ${LANG_JAPANESE} "Web?u???E?U?Ȃǂ? mailto: ?̃????N???N???b?N?????ꍇ?A\
18
Sylpheed???N???????悤?ɐݒ肵?܂?"
18
?܂?eml?t?@?C?????J?????ꍇ?ASylpheed???N???????悤?ɐݒ肵?܂?"
19 19
LangString un_sylpheed_description ${LANG_JAPANESE} "Sylpheed?{?̂ł?"
20 20
LangString un_plugins_description ${LANG_JAPANESE} "Sylpheed?p?̃v???O?C??"
21 21
LangString un_sylpheed_pro_description ${LANG_JAPANESE} "Sylpheed Pro ?S???????v???O?C??"
ChangeLog
1
2012-10-05
2

  
3
	* nsis/english.nsh
4
	  nsis/japanese.nsh
5
	  nsis/sylpheed-defs.nsh
6
	  nsis/sylpheed.nsi: .eml file association was added.
7
	  Automatically set the default mailto and .eml handler on Windows 7.
8

  
1 9
2012-09-28
2 10

  
3 11
	* version 3.3.0beta2

Also available in: Unified diff