Mercurial > pidgin.yaz
annotate pidgin/win32/nsis/pidgin-installer.nsi @ 16426:0fb719b5dc0e
fixes #280
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 25 Apr 2007 18:40:34 +0000 |
parents | ff2cd3f29f9b |
children | e96a4756734a |
rev | line source |
---|---|
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1 ; Installer script for win32 Pidgin |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
2 ; Original Author: Herman Bloggs <hermanator12002@yahoo.com> |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
3 ; Updated By: Daniel Atallah <daniel_atallah@yahoo.com> |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
4 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
5 ; NOTE: this .NSI script is intended for NSIS 2.08 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
6 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
7 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
8 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
9 ;Global Variables |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
10 Var name |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
11 Var GTK_FOLDER |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
12 Var ISSILENT |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
13 Var STARTUP_RUN_KEY |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
14 Var SPELLCHECK_SEL |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
15 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
16 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
17 ;Configuration |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
18 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
19 ;The name var is set in .onInit |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
20 Name $name |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
21 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
22 !ifdef WITH_GTK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
23 OutFile "pidgin-${PIDGIN_VERSION}.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
24 !else |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
25 !ifdef DEBUG |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
26 OutFile "pidgin-${PIDGIN_VERSION}-debug.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
27 !else |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
28 OutFile "pidgin-${PIDGIN_VERSION}-no-gtk.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
29 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
30 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
31 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
32 SetCompressor /SOLID lzma |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
33 ShowInstDetails show |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
34 ShowUninstDetails show |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
35 SetDateSave on |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
36 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
37 ; $name and $INSTDIR are set in .onInit function.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
38 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
39 !include "MUI.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
40 !include "Sections.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
41 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
42 !include "FileFunc.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
43 !insertmacro GetParameters |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
44 !insertmacro GetOptions |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
45 !insertmacro GetParent |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
46 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
47 !include "WordFunc.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
48 !insertmacro VersionCompare |
15796
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
49 !insertmacro WordFind |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
50 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
51 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
52 ;Defines |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
53 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
54 !define PIDGIN_NSIS_INCLUDE_PATH "." |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
55 !define PIDGIN_INSTALLER_DEPS "..\..\..\..\win32-dev\pidgin-inst-deps" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
56 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
57 ; Remove these and the stuff that uses them at some point |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
58 !define OLD_GAIM_REG_KEY "SOFTWARE\gaim" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
59 !define OLD_GAIM_UNINSTALL_KEY "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gaim" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
60 !define OLD_GAIM_UNINST_EXE "gaim-uninst.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
61 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
62 !define PIDGIN_REG_KEY "SOFTWARE\pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
63 !define PIDGIN_UNINSTALL_KEY "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
64 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
65 !define HKLM_APP_PATHS_KEY "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\pidgin.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
66 !define STARTUP_RUN_KEY "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
67 !define PIDGIN_UNINST_EXE "pidgin-uninst.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
68 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
69 !define GTK_MIN_VERSION "2.6.10" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
70 !define GTK_REG_KEY "SOFTWARE\GTK\2.0" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
71 !define PERL_REG_KEY "SOFTWARE\Perl" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
72 !define PERL_DLL "perl58.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
73 !define GTK_DEFAULT_INSTALL_PATH "$COMMONFILES\GTK\2.0" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
74 !define GTK_RUNTIME_INSTALLER "..\..\..\..\gtk_installer\gtk-runtime*.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
75 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
76 !define ASPELL_REG_KEY "SOFTWARE\Aspell" |
16243
502b69976fe1
Remove GTK+ theme selection from installer. The next GTK+ runtime installer will contain a theme selector utility.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16209
diff
changeset
|
77 !define DOWNLOADER_URL "http://pidgin.im/win32/download_redir.php" |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
78 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
79 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
80 ;Version resource |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
81 VIProductVersion "${PIDGIN_PRODUCT_VERSION}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
82 VIAddVersionKey "ProductName" "Pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
83 VIAddVersionKey "FileVersion" "${PIDGIN_VERSION}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
84 VIAddVersionKey "ProductVersion" "${PIDGIN_VERSION}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
85 VIAddVersionKey "LegalCopyright" "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
86 !ifdef WITH_GTK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
87 VIAddVersionKey "FileDescription" "Pidgin Installer (w/ GTK+ Installer)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
88 !else |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
89 !ifdef DEBUG |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
90 VIAddVersionKey "FileDescription" "Pidgin Installer (Debug Version)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
91 !else |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
92 VIAddVersionKey "FileDescription" "Pidgin Installer (w/o GTK+ Installer)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
93 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
94 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
95 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
96 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
97 ;Modern UI Configuration |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
98 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
99 !define MUI_ICON ".\pixmaps\pidgin-install.ico" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
100 !define MUI_UNICON ".\pixmaps\pidgin-install.ico" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
101 !define MUI_WELCOMEFINISHPAGE_BITMAP ".\pixmaps\pidgin-intro.bmp" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
102 !define MUI_HEADERIMAGE |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
103 !define MUI_HEADERIMAGE_BITMAP ".\pixmaps\pidgin-header.bmp" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
104 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
105 ; Alter License section |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
106 !define MUI_LICENSEPAGE_BUTTON $(PIDGIN_LICENSE_BUTTON) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
107 !define MUI_LICENSEPAGE_TEXT_BOTTOM $(PIDGIN_LICENSE_BOTTOM_TEXT) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
108 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
109 !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
110 !define MUI_LANGDLL_REGISTRY_KEY ${PIDGIN_REG_KEY} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
111 !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
112 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
113 !define MUI_COMPONENTSPAGE_SMALLDESC |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
114 !define MUI_ABORTWARNING |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
115 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
116 ;Finish Page config |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
117 !define MUI_FINISHPAGE_RUN "$INSTDIR\pidgin.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
118 !define MUI_FINISHPAGE_RUN_NOTCHECKED |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
119 !define MUI_FINISHPAGE_LINK $(PIDGIN_FINISH_VISIT_WEB_SITE) |
16243
502b69976fe1
Remove GTK+ theme selection from installer. The next GTK+ runtime installer will contain a theme selector utility.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16209
diff
changeset
|
120 !define MUI_FINISHPAGE_LINK_LOCATION "http://pidgin.im/win32" |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
121 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
122 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
123 ;Pages |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
124 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
125 !define MUI_PAGE_CUSTOMFUNCTION_PRE preWelcomePage |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
126 !insertmacro MUI_PAGE_WELCOME |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
127 !insertmacro MUI_PAGE_LICENSE "../../../COPYING" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
128 !insertmacro MUI_PAGE_COMPONENTS |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
129 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
130 !ifdef WITH_GTK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
131 ; GTK+ install dir page |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
132 !define MUI_PAGE_CUSTOMFUNCTION_PRE preGtkDirPage |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
133 !define MUI_PAGE_CUSTOMFUNCTION_LEAVE postGtkDirPage |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
134 !define MUI_DIRECTORYPAGE_VARIABLE $GTK_FOLDER |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
135 !insertmacro MUI_PAGE_DIRECTORY |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
136 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
137 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
138 ; Pidgin install dir page |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
139 !insertmacro MUI_PAGE_DIRECTORY |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
140 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
141 !insertmacro MUI_PAGE_INSTFILES |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
142 !insertmacro MUI_PAGE_FINISH |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
143 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
144 !insertmacro MUI_UNPAGE_WELCOME |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
145 !insertmacro MUI_UNPAGE_CONFIRM |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
146 !insertmacro MUI_UNPAGE_INSTFILES |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
147 !insertmacro MUI_UNPAGE_FINISH |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
148 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
149 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
150 ;Languages |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
151 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
152 ;; English goes first because its the default. The rest are |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
153 ;; in alphabetical order (at least the strings actually displayed |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
154 ;; will be). |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
155 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
156 !insertmacro MUI_LANGUAGE "English" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
157 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
158 !insertmacro MUI_LANGUAGE "Albanian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
159 !insertmacro MUI_LANGUAGE "Bulgarian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
160 !insertmacro MUI_LANGUAGE "Catalan" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
161 !insertmacro MUI_LANGUAGE "Czech" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
162 !insertmacro MUI_LANGUAGE "Danish" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
163 !insertmacro MUI_LANGUAGE "SimpChinese" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
164 !insertmacro MUI_LANGUAGE "TradChinese" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
165 !insertmacro MUI_LANGUAGE "German" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
166 !insertmacro MUI_LANGUAGE "Spanish" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
167 !insertmacro MUI_LANGUAGE "French" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
168 !insertmacro MUI_LANGUAGE "Hebrew" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
169 !insertmacro MUI_LANGUAGE "Italian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
170 !insertmacro MUI_LANGUAGE "Japanese" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
171 !insertmacro MUI_LANGUAGE "Korean" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
172 !insertmacro MUI_LANGUAGE "Kurdish" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
173 !insertmacro MUI_LANGUAGE "Lithuanian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
174 !insertmacro MUI_LANGUAGE "Hungarian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
175 !insertmacro MUI_LANGUAGE "Dutch" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
176 !insertmacro MUI_LANGUAGE "Norwegian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
177 !insertmacro MUI_LANGUAGE "Polish" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
178 !insertmacro MUI_LANGUAGE "PortugueseBR" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
179 !insertmacro MUI_LANGUAGE "Portuguese" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
180 !insertmacro MUI_LANGUAGE "Romanian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
181 !insertmacro MUI_LANGUAGE "Russian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
182 !insertmacro MUI_LANGUAGE "Serbian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
183 !insertmacro MUI_LANGUAGE "Slovak" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
184 !insertmacro MUI_LANGUAGE "Slovenian" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
185 !insertmacro MUI_LANGUAGE "Finnish" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
186 !insertmacro MUI_LANGUAGE "Swedish" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
187 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
188 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
189 ;Translations |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
190 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
191 !define PIDGIN_DEFAULT_LANGFILE "${PIDGIN_NSIS_INCLUDE_PATH}\translations\english.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
192 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
193 !include "${PIDGIN_NSIS_INCLUDE_PATH}\langmacros.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
194 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
195 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "ALBANIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\albanian.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
196 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "BULGARIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\bulgarian.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
197 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "CATALAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\catalan.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
198 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "CZECH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\czech.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
199 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "DANISH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\danish.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
200 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "DUTCH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\dutch.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
201 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "ENGLISH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\english.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
202 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "FINNISH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\finnish.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
203 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "FRENCH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\french.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
204 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "GERMAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\german.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
205 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "HEBREW" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\hebrew.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
206 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "HUNGARIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\hungarian.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
207 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "ITALIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\italian.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
208 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "JAPANESE" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\japanese.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
209 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "KOREAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\korean.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
210 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "KURDISH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\kurdish.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
211 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "LITHUANIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\lithuanian.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
212 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "NORWEGIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\norwegian.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
213 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "POLISH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\polish.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
214 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "PORTUGUESE" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\portuguese.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
215 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "PORTUGUESEBR" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\portuguese-br.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
216 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "ROMANIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\romanian.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
217 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "RUSSIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\russian.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
218 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "SERBIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\serbian-latin.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
219 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "SIMPCHINESE" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\simp-chinese.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
220 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "SLOVAK" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\slovak.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
221 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "SLOVENIAN" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\slovenian.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
222 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "SPANISH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\spanish.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
223 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "SWEDISH" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\swedish.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
224 !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "TRADCHINESE" "${PIDGIN_NSIS_INCLUDE_PATH}\translations\trad-chinese.nsh" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
225 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
226 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
227 ;Reserve Files |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
228 ; Only need this if using bzip2 compression |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
229 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
230 !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
231 !insertmacro MUI_RESERVEFILE_LANGDLL |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
232 ReserveFile "${NSISDIR}\Plugins\UserInfo.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
233 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
234 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
235 ;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
236 ;; Start Install Sections ;; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
237 ;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
238 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
239 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
240 ;Uninstall any old version of Pidgin (or Gaim) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
241 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
242 Section -SecUninstallOldPidgin |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
243 ; Check install rights.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
244 Call CheckUserInstallRights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
245 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
246 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
247 ;First try to uninstall Pidgin |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
248 StrCpy $R4 ${PIDGIN_REG_KEY} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
249 StrCpy $R5 ${PIDGIN_UNINSTALL_KEY} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
250 StrCpy $R6 ${PIDGIN_UNINST_EXE} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
251 StrCpy $R7 "Pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
252 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
253 start_comparison: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
254 ;If pidgin is currently set to run on startup, |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
255 ; save the section of the Registry where the setting is before uninstalling, |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
256 ; so we can put it back after installing the new version |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
257 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
258 ReadRegStr $STARTUP_RUN_KEY HKCU "${STARTUP_RUN_KEY}" $R7 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
259 IfErrors +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
260 StrCpy $STARTUP_RUN_KEY "HKCU" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
261 Goto +4 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
262 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
263 ReadRegStr $STARTUP_RUN_KEY HKLM "${STARTUP_RUN_KEY}" $R7 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
264 IfErrors +2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
265 StrCpy $STARTUP_RUN_KEY "HKLM" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
266 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
267 StrCmp $R0 "HKLM" compare_hklm |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
268 StrCmp $R0 "HKCU" compare_hkcu done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
269 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
270 compare_hkcu: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
271 ReadRegStr $R1 HKCU $R4 "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
272 ReadRegStr $R2 HKCU $R4 "Version" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
273 ReadRegStr $R3 HKCU "$R5" "UninstallString" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
274 Goto try_uninstall |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
275 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
276 compare_hklm: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
277 ReadRegStr $R1 HKLM $R4 "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
278 ReadRegStr $R2 HKLM $R4 "Version" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
279 ReadRegStr $R3 HKLM "$R5" "UninstallString" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
280 |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
281 ; If a previous version exists, remove it |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
282 try_uninstall: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
283 StrCmp $R1 "" done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
284 ; Version key started with 0.60a3. Prior versions can't be |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
285 ; automaticlly uninstalled. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
286 StrCmp $R2 "" uninstall_problem |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
287 ; Check if we have uninstall string.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
288 IfFileExists $R3 0 uninstall_problem |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
289 ; Have uninstall string, go ahead and uninstall. |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
290 SetOverwrite on |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
291 ; Need to copy uninstaller outside of the install dir |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
292 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
293 CopyFiles /SILENT $R3 "$TEMP\$R6" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
294 SetOverwrite off |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
295 IfErrors uninstall_problem |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
296 ; Ready to uninstall.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
297 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
298 ExecWait '"$TEMP\$R6" /S _?=$R1' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
299 IfErrors exec_error |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
300 Delete "$TEMP\$R6" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
301 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
302 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
303 exec_error: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
304 Delete "$TEMP\$R6" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
305 Goto uninstall_problem |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
306 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
307 uninstall_problem: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
308 ; If we couldn't uninstall Pidgin, try to uninstall Gaim |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
309 StrCmp $R4 ${PIDGIN_REG_KEY} cannot_uninstall |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
310 StrCpy $R4 ${OLD_GAIM_REG_KEY} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
311 StrCpy $R5 ${OLD_GAIM_UNINSTALL_KEY} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
312 StrCpy $R6 ${OLD_GAIM_UNINST_EXE} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
313 StrCpy $R7 "Gaim" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
314 Goto start_comparison |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
315 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
316 cannot_uninstall: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
317 ; We can't uninstall. Either the user must manually uninstall or we ignore and reinstall over it. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
318 MessageBox MB_OKCANCEL $(PIDGIN_PROMPT_CONTINUE_WITHOUT_UNINSTALL) /SD IDOK IDOK done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
319 Quit |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
320 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
321 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
322 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
323 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
324 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
325 ;GTK+ Runtime Install Section |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
326 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
327 !ifdef WITH_GTK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
328 Section $(GTK_SECTION_TITLE) SecGtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
329 SectionIn 1 RO |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
330 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
331 Call CheckUserInstallRights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
332 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
333 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
334 SetOutPath $TEMP |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
335 SetOverwrite on |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
336 File /oname=gtk-runtime.exe ${GTK_RUNTIME_INSTALLER} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
337 SetOverwrite off |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
338 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
339 Call DoWeNeedGtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
340 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
341 Pop $R6 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
342 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
343 StrCmp $R0 "0" have_gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
344 StrCmp $R0 "1" upgrade_gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
345 StrCmp $R0 "2" upgrade_gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
346 StrCmp $R0 "3" no_gtk no_gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
347 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
348 no_gtk: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
349 StrCmp $R1 "NONE" gtk_no_install_rights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
350 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
351 ExecWait '"$TEMP\gtk-runtime.exe" /L=$LANGUAGE $ISSILENT /D=$GTK_FOLDER' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
352 IfErrors gtk_install_error done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
353 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
354 upgrade_gtk: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
355 StrCpy $GTK_FOLDER $R6 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
356 StrCmp $R0 "2" +2 ; Upgrade isn't optional |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
357 MessageBox MB_YESNO $(GTK_UPGRADE_PROMPT) /SD IDYES IDNO done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
358 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
359 ExecWait '"$TEMP\gtk-runtime.exe" /L=$LANGUAGE /S /D=$GTK_FOLDER' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
360 IfErrors gtk_install_error done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
361 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
362 gtk_install_error: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
363 Delete "$TEMP\gtk-runtime.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
364 MessageBox MB_OK $(GTK_INSTALL_ERROR) /SD IDOK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
365 Quit |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
366 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
367 have_gtk: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
368 StrCpy $GTK_FOLDER $R6 |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
369 StrCmp $R1 "NONE" done ; If we have no rights, we can't re-install |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
370 ; Even if we have a sufficient version of GTK+, we give user choice to re-install. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
371 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
372 ExecWait '"$TEMP\gtk-runtime.exe" /L=$LANGUAGE $ISSILENT' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
373 IfErrors gtk_install_error |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
374 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
375 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
376 ;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
377 ; end got_install rights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
378 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
379 gtk_no_install_rights: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
380 ; Install GTK+ to Pidgin install dir |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
381 StrCpy $GTK_FOLDER $INSTDIR |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
382 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
383 ExecWait '"$TEMP\gtk-runtime.exe" /L=$LANGUAGE $ISSILENT /D=$GTK_FOLDER' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
384 IfErrors gtk_install_error |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
385 SetOverwrite on |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
386 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
387 CopyFiles /FILESONLY "$GTK_FOLDER\bin\*.dll" $GTK_FOLDER |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
388 SetOverwrite off |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
389 IfErrors gtk_install_error |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
390 Delete "$GTK_FOLDER\bin\*.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
391 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
392 ;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
393 ; end gtk_no_install_rights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
394 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
395 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
396 Delete "$TEMP\gtk-runtime.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
397 SectionEnd ; end of GTK+ section |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
398 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
399 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
400 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
401 ;Pidgin Install Section |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
402 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
403 Section $(PIDGIN_SECTION_TITLE) SecPidgin |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
404 SectionIn 1 RO |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
405 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
406 ; Check install rights.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
407 Call CheckUserInstallRights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
408 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
409 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
410 ; Get GTK+ lib dir if we have it.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
411 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
412 StrCmp $R0 "NONE" pidgin_none |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
413 StrCmp $R0 "HKLM" pidgin_hklm pidgin_hkcu |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
414 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
415 pidgin_hklm: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
416 ReadRegStr $R1 HKLM ${GTK_REG_KEY} "Path" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
417 WriteRegStr HKLM "${HKLM_APP_PATHS_KEY}" "" "$INSTDIR\pidgin.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
418 WriteRegStr HKLM "${HKLM_APP_PATHS_KEY}" "Path" "$R1\bin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
419 WriteRegStr HKLM ${PIDGIN_REG_KEY} "" "$INSTDIR" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
420 WriteRegStr HKLM ${PIDGIN_REG_KEY} "Version" "${PIDGIN_VERSION}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
421 WriteRegStr HKLM "${PIDGIN_UNINSTALL_KEY}" "DisplayName" $(PIDGIN_UNINSTALL_DESC) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
422 WriteRegStr HKLM "${PIDGIN_UNINSTALL_KEY}" "UninstallString" "$INSTDIR\${PIDGIN_UNINST_EXE}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
423 ; Sets scope of the desktop and Start Menu entries for all users. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
424 SetShellVarContext "all" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
425 Goto pidgin_install_files |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
426 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
427 pidgin_hkcu: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
428 ReadRegStr $R1 HKCU ${GTK_REG_KEY} "Path" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
429 StrCmp $R1 "" 0 +2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
430 ReadRegStr $R1 HKLM ${GTK_REG_KEY} "Path" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
431 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
432 WriteRegStr HKCU ${PIDGIN_REG_KEY} "" "$INSTDIR" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
433 WriteRegStr HKCU ${PIDGIN_REG_KEY} "Version" "${PIDGIN_VERSION}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
434 WriteRegStr HKCU "${PIDGIN_UNINSTALL_KEY}" "DisplayName" $(PIDGIN_UNINSTALL_DESC) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
435 WriteRegStr HKCU "${PIDGIN_UNINSTALL_KEY}" "UninstallString" "$INSTDIR\${PIDGIN_UNINST_EXE}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
436 Goto pidgin_install_files |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
437 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
438 pidgin_none: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
439 ReadRegStr $R1 HKLM ${GTK_REG_KEY} "Path" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
440 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
441 pidgin_install_files: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
442 SetOutPath "$INSTDIR" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
443 ; Pidgin files |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
444 SetOverwrite on |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16243
diff
changeset
|
445 |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16243
diff
changeset
|
446 ;Delete old liboscar and libjabber since they tend to be problematic |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16243
diff
changeset
|
447 Delete "$INSTDIR\plugins\liboscar.dll" |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16243
diff
changeset
|
448 Delete "$INSTDIR\plugins\libjabber.dll" |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16243
diff
changeset
|
449 |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
450 File /r ..\..\..\${PIDGIN_INSTALL_DIR}\*.* |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
451 !ifdef DEBUG |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
452 File "${PIDGIN_INSTALLER_DEPS}\exchndl.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
453 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
454 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
455 ; Install shfolder.dll if need be.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
456 SearchPath $R4 "shfolder.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
457 StrCmp $R4 "" 0 got_shfolder |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
458 SetOutPath "$SYSDIR" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
459 File "${PIDGIN_INSTALLER_DEPS}\shfolder.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
460 SetOutPath "$INSTDIR" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
461 got_shfolder: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
462 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
463 ; Check if Perl is installed, if so add it to the AppPaths |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
464 ReadRegStr $R2 HKLM ${PERL_REG_KEY} "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
465 StrCmp $R2 "" 0 perl_exists |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
466 ReadRegStr $R2 HKCU ${PERL_REG_KEY} "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
467 StrCmp $R2 "" perl_done perl_exists |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
468 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
469 perl_exists: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
470 IfFileExists "$R2\bin\${PERL_DLL}" 0 perl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
471 StrCmp $R0 "HKLM" 0 perl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
472 ReadRegStr $R3 HKLM "${HKLM_APP_PATHS_KEY}" "Path" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
473 WriteRegStr HKLM "${HKLM_APP_PATHS_KEY}" "Path" "$R3;$R2\bin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
474 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
475 perl_done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
476 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
477 ; If this is under NT4, delete the SILC support stuff |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
478 ; there is a bug that will prevent any account from connecting |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
479 ; See https://lists.silcnet.org/pipermail/silc-devel/2005-January/001588.html |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
480 Call GetWindowsVersion |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
481 Pop $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
482 StrCmp $R2 "NT 4.0" +1 +4 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
483 Delete "$INSTDIR\plugins\libsilc.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
484 Delete "$INSTDIR\silcclient.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
485 Delete "$INSTDIR\silc.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
486 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
487 SetOutPath "$INSTDIR" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
488 |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
489 ; If we don't have install rights we're done |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
490 StrCmp $R0 "NONE" done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
491 SetOverwrite off |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
492 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
493 ; write out uninstaller |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
494 SetOverwrite on |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
495 WriteUninstaller "$INSTDIR\${PIDGIN_UNINST_EXE}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
496 SetOverwrite off |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
497 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
498 ; If we previously had pidgin set up to run on startup, make it do so again |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
499 StrCmp $STARTUP_RUN_KEY "HKCU" +1 +2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
500 WriteRegStr HKCU "${STARTUP_RUN_KEY}" "Pidgin" "$INSTDIR\pidgin.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
501 StrCmp $STARTUP_RUN_KEY "HKLM" +1 +2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
502 WriteRegStr HKLM "${STARTUP_RUN_KEY}" "Pidgin" "$INSTDIR\pidgin.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
503 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
504 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
505 SectionEnd ; end of default Pidgin section |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
506 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
507 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
508 ;Shortcuts |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
509 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
510 SectionGroup /e $(PIDGIN_SHORTCUTS_SECTION_TITLE) SecShortcuts |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
511 Section /o $(PIDGIN_DESKTOP_SHORTCUT_SECTION_TITLE) SecDesktopShortcut |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
512 SetOverwrite on |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
513 CreateShortCut "$DESKTOP\Pidgin.lnk" "$INSTDIR\pidgin.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
514 SetOverwrite off |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
515 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
516 Section $(PIDGIN_STARTMENU_SHORTCUT_SECTION_TITLE) SecStartMenuShortcut |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
517 SetOverwrite on |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
518 CreateDirectory "$SMPROGRAMS\Pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
519 CreateShortCut "$SMPROGRAMS\Pidgin\Pidgin.lnk" "$INSTDIR\pidgin.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
520 SetOverwrite off |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
521 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
522 SectionGroupEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
523 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
524 ;-------------------------------- |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
525 ;URI Handling |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
526 SectionGroup /e $(URI_HANDLERS_SECTION_TITLE) SecURIHandlers |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
527 Section /o "aim:" SecURI_AIM |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
528 Push "aim" |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
529 Call RegisterURIHandler |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
530 SectionEnd |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
531 Section /o "msnim:" SecURI_MSNIM |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
532 Push "msnim" |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
533 Call RegisterURIHandler |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
534 SectionEnd |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
535 Section /o "ymsgr:" SecURI_YMSGR |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
536 Push "ymsgr" |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
537 Call RegisterURIHandler |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
538 SectionEnd |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
539 SectionGroupEnd |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
540 |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
541 ;-------------------------------- |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
542 ;Spell Checking |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
543 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
544 SectionGroup /e $(PIDGIN_SPELLCHECK_SECTION_TITLE) SecSpellCheck |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
545 Section /o $(PIDGIN_SPELLCHECK_BRETON) SecSpellCheckBreton |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
546 Push ${SecSpellCheckBreton} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
547 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
548 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
549 Section /o $(PIDGIN_SPELLCHECK_CATALAN) SecSpellCheckCatalan |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
550 Push ${SecSpellCheckCatalan} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
551 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
552 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
553 Section /o $(PIDGIN_SPELLCHECK_CZECH) SecSpellCheckCzech |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
554 Push ${SecSpellCheckCzech} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
555 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
556 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
557 Section /o $(PIDGIN_SPELLCHECK_WELSH) SecSpellCheckWelsh |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
558 Push ${SecSpellCheckWelsh} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
559 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
560 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
561 Section /o $(PIDGIN_SPELLCHECK_DANISH) SecSpellCheckDanish |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
562 Push ${SecSpellCheckDanish} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
563 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
564 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
565 Section /o $(PIDGIN_SPELLCHECK_GERMAN) SecSpellCheckGerman |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
566 Push ${SecSpellCheckGerman} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
567 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
568 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
569 Section /o $(PIDGIN_SPELLCHECK_GREEK) SecSpellCheckGreek |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
570 Push ${SecSpellCheckGreek} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
571 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
572 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
573 Section /o $(PIDGIN_SPELLCHECK_ENGLISH) SecSpellCheckEnglish |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
574 Push ${SecSpellCheckEnglish} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
575 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
576 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
577 Section /o $(PIDGIN_SPELLCHECK_ESPERANTO) SecSpellCheckEsperanto |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
578 Push ${SecSpellCheckEsperanto} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
579 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
580 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
581 Section /o $(PIDGIN_SPELLCHECK_SPANISH) SecSpellCheckSpanish |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
582 Push ${SecSpellCheckSpanish} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
583 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
584 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
585 Section /o $(PIDGIN_SPELLCHECK_FAROESE) SecSpellCheckFaroese |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
586 Push ${SecSpellCheckFaroese} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
587 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
588 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
589 Section /o $(PIDGIN_SPELLCHECK_FRENCH) SecSpellCheckFrench |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
590 Push ${SecSpellCheckFrench} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
591 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
592 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
593 Section /o $(PIDGIN_SPELLCHECK_ITALIAN) SecSpellCheckItalian |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
594 Push ${SecSpellCheckItalian} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
595 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
596 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
597 Section /o $(PIDGIN_SPELLCHECK_DUTCH) SecSpellCheckDutch |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
598 Push ${SecSpellCheckDutch} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
599 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
600 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
601 Section /o $(PIDGIN_SPELLCHECK_NORWEGIAN) SecSpellCheckNorwegian |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
602 Push ${SecSpellCheckNorwegian} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
603 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
604 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
605 Section /o $(PIDGIN_SPELLCHECK_POLISH) SecSpellCheckPolish |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
606 Push ${SecSpellCheckPolish} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
607 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
608 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
609 Section /o $(PIDGIN_SPELLCHECK_PORTUGUESE) SecSpellCheckPortuguese |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
610 Push ${SecSpellCheckPortuguese} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
611 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
612 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
613 Section /o $(PIDGIN_SPELLCHECK_ROMANIAN) SecSpellCheckRomanian |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
614 Push ${SecSpellCheckRomanian} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
615 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
616 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
617 Section /o $(PIDGIN_SPELLCHECK_RUSSIAN) SecSpellCheckRussian |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
618 Push ${SecSpellCheckRussian} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
619 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
620 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
621 Section /o $(PIDGIN_SPELLCHECK_SLOVAK) SecSpellCheckSlovak |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
622 Push ${SecSpellCheckSlovak} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
623 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
624 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
625 Section /o $(PIDGIN_SPELLCHECK_SWEDISH) SecSpellCheckSwedish |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
626 Push ${SecSpellCheckSwedish} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
627 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
628 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
629 Section /o $(PIDGIN_SPELLCHECK_UKRAINIAN) SecSpellCheckUkrainian |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
630 Push ${SecSpellCheckUkrainian} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
631 Call InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
632 SectionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
633 SectionGroupEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
634 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
635 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
636 ;Uninstaller Section |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
637 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
638 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
639 Section Uninstall |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
640 Call un.CheckUserInstallRights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
641 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
642 StrCmp $R0 "NONE" no_rights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
643 StrCmp $R0 "HKCU" try_hkcu try_hklm |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
644 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
645 try_hkcu: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
646 ReadRegStr $R0 HKCU ${PIDGIN_REG_KEY} "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
647 StrCmp $R0 $INSTDIR 0 cant_uninstall |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
648 ; HKCU install path matches our INSTDIR so uninstall |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
649 DeleteRegKey HKCU ${PIDGIN_REG_KEY} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
650 DeleteRegKey HKCU "${PIDGIN_UNINSTALL_KEY}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
651 Goto cont_uninstall |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
652 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
653 try_hklm: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
654 ReadRegStr $R0 HKLM ${PIDGIN_REG_KEY} "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
655 StrCmp $R0 $INSTDIR 0 try_hkcu |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
656 ; HKLM install path matches our INSTDIR so uninstall |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
657 DeleteRegKey HKLM ${PIDGIN_REG_KEY} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
658 DeleteRegKey HKLM "${PIDGIN_UNINSTALL_KEY}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
659 DeleteRegKey HKLM "${HKLM_APP_PATHS_KEY}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
660 ; Sets start menu and desktop scope to all users.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
661 SetShellVarContext "all" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
662 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
663 cont_uninstall: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
664 ; The WinPrefs plugin may have left this behind.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
665 DeleteRegValue HKCU "${STARTUP_RUN_KEY}" "Pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
666 DeleteRegValue HKLM "${STARTUP_RUN_KEY}" "Pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
667 ; Remove Language preference info (TODO: check if NSIS removes this) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
668 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
669 RMDir /r "$INSTDIR\locale" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
670 RMDir /r "$INSTDIR\pixmaps" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
671 RMDir /r "$INSTDIR\perlmod" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
672 Delete "$INSTDIR\plugins\autoaccept.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
673 Delete "$INSTDIR\plugins\buddynote.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
674 Delete "$INSTDIR\plugins\convcolors.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
675 Delete "$INSTDIR\plugins\extplacement.dll" |
15938
d04878ce947b
Some pixmap path fixes and win32 fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15796
diff
changeset
|
676 Delete "$INSTDIR\plugins\pidginrc.dll" |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
677 Delete "$INSTDIR\plugins\history.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
678 Delete "$INSTDIR\plugins\iconaway.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
679 Delete "$INSTDIR\plugins\idle.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
680 Delete "$INSTDIR\plugins\libaim.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
681 Delete "$INSTDIR\plugins\libgg.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
682 Delete "$INSTDIR\plugins\libicq.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
683 Delete "$INSTDIR\plugins\libirc.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
684 Delete "$INSTDIR\plugins\libmsn.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
685 Delete "$INSTDIR\plugins\libnapster.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
686 Delete "$INSTDIR\plugins\libnovell.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
687 Delete "$INSTDIR\plugins\libqq.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
688 Delete "$INSTDIR\plugins\libsametime.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
689 Delete "$INSTDIR\plugins\libsilc.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
690 Delete "$INSTDIR\plugins\libsimple.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
691 Delete "$INSTDIR\plugins\libtoc.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
692 Delete "$INSTDIR\plugins\libyahoo.dll" |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16243
diff
changeset
|
693 Delete "$INSTDIR\plugins\libxmpp.dll" |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
694 Delete "$INSTDIR\plugins\log_reader.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
695 Delete "$INSTDIR\plugins\markerline.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
696 Delete "$INSTDIR\plugins\newline.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
697 Delete "$INSTDIR\plugins\notify.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
698 Delete "$INSTDIR\plugins\offlinemsg.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
699 Delete "$INSTDIR\plugins\perl.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
700 Delete "$INSTDIR\plugins\psychic.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
701 Delete "$INSTDIR\plugins\relnot.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
702 Delete "$INSTDIR\plugins\spellchk.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
703 Delete "$INSTDIR\plugins\ssl-nss.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
704 Delete "$INSTDIR\plugins\ssl.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
705 Delete "$INSTDIR\plugins\statenotify.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
706 Delete "$INSTDIR\plugins\tcl.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
707 Delete "$INSTDIR\plugins\ticker.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
708 Delete "$INSTDIR\plugins\timestamp.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
709 Delete "$INSTDIR\plugins\timestamp_format.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
710 Delete "$INSTDIR\plugins\win2ktrans.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
711 Delete "$INSTDIR\plugins\winprefs.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
712 RMDir "$INSTDIR\plugins" |
15938
d04878ce947b
Some pixmap path fixes and win32 fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15796
diff
changeset
|
713 Delete "$INSTDIR\sounds\pidgin\alert.wav" |
d04878ce947b
Some pixmap path fixes and win32 fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15796
diff
changeset
|
714 Delete "$INSTDIR\sounds\pidgin\login.wav" |
d04878ce947b
Some pixmap path fixes and win32 fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15796
diff
changeset
|
715 Delete "$INSTDIR\sounds\pidgin\logout.wav" |
d04878ce947b
Some pixmap path fixes and win32 fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15796
diff
changeset
|
716 Delete "$INSTDIR\sounds\pidgin\receive.wav" |
d04878ce947b
Some pixmap path fixes and win32 fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15796
diff
changeset
|
717 Delete "$INSTDIR\sounds\pidgin\send.wav" |
d04878ce947b
Some pixmap path fixes and win32 fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15796
diff
changeset
|
718 RMDir "$INSTDIR\sounds\pidgin" |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
719 RMDir "$INSTDIR\sounds" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
720 Delete "$INSTDIR\freebl3.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
721 Delete "$INSTDIR\idletrack.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
722 Delete "$INSTDIR\libgtkspell.dll" |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16243
diff
changeset
|
723 Delete "$INSTDIR\libjabber.dll" |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
724 Delete "$INSTDIR\liboscar.dll" |
15754
dc6081d167cf
More installer stuff.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15752
diff
changeset
|
725 Delete "$INSTDIR\libpurple.dll" |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
726 Delete "$INSTDIR\libmeanwhile-1.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
727 Delete "$INSTDIR\libxml2.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
728 Delete "$INSTDIR\nspr4.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
729 Delete "$INSTDIR\nss3.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
730 Delete "$INSTDIR\nssckbi.dll" |
15754
dc6081d167cf
More installer stuff.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15752
diff
changeset
|
731 Delete "$INSTDIR\pidgin.exe" |
dc6081d167cf
More installer stuff.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15752
diff
changeset
|
732 Delete "$INSTDIR\pidgin.dll" |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
733 Delete "$INSTDIR\plc4.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
734 Delete "$INSTDIR\plds4.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
735 Delete "$INSTDIR\silc.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
736 Delete "$INSTDIR\silcclient.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
737 Delete "$INSTDIR\softokn3.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
738 Delete "$INSTDIR\ssl3.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
739 Delete "$INSTDIR\${PIDGIN_UNINST_EXE}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
740 !ifdef DEBUG |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
741 Delete "$INSTDIR\exchndl.dll" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
742 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
743 Delete "$INSTDIR\install.log" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
744 |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
745 ;Try to remove Pidgin install dir (only if empty) |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
746 RMDir "$INSTDIR" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
747 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
748 ; Shortcuts.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
749 RMDir /r "$SMPROGRAMS\Pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
750 Delete "$DESKTOP\Pidgin.lnk" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
751 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
752 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
753 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
754 cant_uninstall: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
755 MessageBox MB_OK $(un.PIDGIN_UNINSTALL_ERROR_1) /SD IDOK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
756 Quit |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
757 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
758 no_rights: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
759 MessageBox MB_OK $(un.PIDGIN_UNINSTALL_ERROR_2) /SD IDOK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
760 Quit |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
761 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
762 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
763 SectionEnd ; end of uninstall section |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
764 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
765 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
766 ;Descriptions |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
767 !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
768 !insertmacro MUI_DESCRIPTION_TEXT ${SecPidgin} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
769 $(PIDGIN_SECTION_DESCRIPTION) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
770 !ifdef WITH_GTK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
771 !insertmacro MUI_DESCRIPTION_TEXT ${SecGtk} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
772 $(GTK_SECTION_DESCRIPTION) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
773 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
774 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
775 !insertmacro MUI_DESCRIPTION_TEXT ${SecShortcuts} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
776 $(PIDGIN_SHORTCUTS_SECTION_DESCRIPTION) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
777 !insertmacro MUI_DESCRIPTION_TEXT ${SecDesktopShortcut} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
778 $(PIDGIN_DESKTOP_SHORTCUT_DESC) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
779 !insertmacro MUI_DESCRIPTION_TEXT ${SecStartMenuShortcut} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
780 $(PIDGIN_STARTMENU_SHORTCUT_DESC) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
781 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
782 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheck} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
783 $(PIDGIN_SPELLCHECK_SECTION_DESCRIPTION) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
784 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckBreton} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
785 "$(PIDGIN_SPELLCHECK_BRETON) (862kb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
786 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckCatalan} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
787 "$(PIDGIN_SPELLCHECK_CATALAN) (3.9Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
788 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckCzech} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
789 "$(PIDGIN_SPELLCHECK_CZECH) (17Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
790 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckWelsh} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
791 "$(PIDGIN_SPELLCHECK_WELSH) (4.2Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
792 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckDanish} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
793 "$(PIDGIN_SPELLCHECK_DANISH) (6.9Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
794 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckGerman} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
795 "$(PIDGIN_SPELLCHECK_GERMAN) (5.4Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
796 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckGreek} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
797 "$(PIDGIN_SPELLCHECK_GREEK) (7.1Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
798 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckEnglish} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
799 "$(PIDGIN_SPELLCHECK_ENGLISH) (2.3Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
800 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckEsperanto} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
801 "$(PIDGIN_SPELLCHECK_ESPERANTO) (5.7Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
802 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckSpanish} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
803 "$(PIDGIN_SPELLCHECK_SPANISH) (7.0Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
804 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckFaroese} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
805 "$(PIDGIN_SPELLCHECK_FAROESE) (913kb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
806 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckFrench} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
807 "$(PIDGIN_SPELLCHECK_FRENCH) (9.3Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
808 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckItalian} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
809 "$(PIDGIN_SPELLCHECK_ITALIAN) (770kb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
810 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckDutch} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
811 "$(PIDGIN_SPELLCHECK_DUTCH) (3.7Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
812 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckNorwegian} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
813 "$(PIDGIN_SPELLCHECK_NORWEGIAN) (3.2Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
814 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckPolish} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
815 "$(PIDGIN_SPELLCHECK_POLISH) (9.3Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
816 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckPortuguese} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
817 "$(PIDGIN_SPELLCHECK_PORTUGUESE) (5.5Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
818 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckRomanian} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
819 "$(PIDGIN_SPELLCHECK_ROMANIAN) (906kb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
820 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckRussian} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
821 "$(PIDGIN_SPELLCHECK_RUSSIAN) (11Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
822 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckSlovak} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
823 "$(PIDGIN_SPELLCHECK_SLOVAK) (8.0Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
824 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckSwedish} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
825 "$(PIDGIN_SPELLCHECK_SWEDISH) (2.2Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
826 !insertmacro MUI_DESCRIPTION_TEXT ${SecSpellCheckUkrainian} \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
827 "$(PIDGIN_SPELLCHECK_UKRAINIAN) (12Mb)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
828 !insertmacro MUI_FUNCTION_DESCRIPTION_END |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
829 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
830 ;-------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
831 ;Functions |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
832 |
15796
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
833 ; Default the URI handler checkboxes if Pidgin is the current handler or if there is no handler |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
834 Function SelectURIHandlerSelections |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
835 Push $R0 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
836 Push $R1 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
837 Push $R2 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
838 Push $R3 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
839 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
840 ; Start with the first URI handler |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
841 IntOp $R0 ${SecURIHandlers} + 1 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
842 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
843 start: |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
844 ; If it is the end of the section group, stop |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
845 SectionGetFlags $R0 $R1 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
846 IntOp $R2 $R1 & ${SF_SECGRPEND} |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
847 IntCmp $R2 ${SF_SECGRPEND} done |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
848 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
849 SectionGetText $R0 $R2 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
850 ;Strip the trailing ':' |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
851 StrLen $R3 $R2 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
852 IntOp $R3 $R3 - 1 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
853 StrCpy $R2 $R2 $R3 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
854 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
855 ClearErrors |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
856 ReadRegStr $R3 HKCR "$R2" "" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
857 IfErrors default_on ;there is no current handler |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
858 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
859 ; Check if Pidgin is the current handler |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
860 ClearErrors |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
861 ReadRegStr $R3 HKCR "$R2\shell\Open\command" "" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
862 IfErrors end_loop |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
863 ${WordFind} "$R3" "pidgin.exe" "E+1{" $R3 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
864 IfErrors end_loop default_on |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
865 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
866 ;We default the URI handler checkbox on |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
867 default_on: |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
868 IntOp $R1 $R1 | ${SF_SELECTED} ; Select |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
869 SectionSetFlags $R0 $R1 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
870 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
871 end_loop: |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
872 IntOp $R0 $R0 + 1 ;Advance to the next section |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
873 Goto start |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
874 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
875 done: |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
876 Pop $R3 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
877 Pop $R2 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
878 Pop $R1 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
879 Pop $R0 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
880 FunctionEnd ;SelectURIHandlerSections |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
881 |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
882 |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
883 Function RegisterURIHandler |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
884 Exch $R0 |
15796
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
885 DeleteRegKey HKCR "$R0" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
886 WriteRegStr HKCR "$R0" "" "URL:$R0" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
887 WriteRegStr HKCR "$R0" "URL Protocol" "" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
888 WriteRegStr HKCR "$R0\DefaultIcon" "" "$INSTDIR\pidgin.exe" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
889 WriteRegStr HKCR "$R0\shell" "" "" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
890 WriteRegStr HKCR "$R0\shell\Open" "" "" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
891 WriteRegStr HKCR "$R0\shell\Open\command" "" "$INSTDIR\pidgin.exe --protocolhandler=%1" |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
892 Pop $R0 |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
893 FunctionEnd |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
894 |
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
895 |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
896 !macro CheckUserInstallRightsMacro UN |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
897 Function ${UN}CheckUserInstallRights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
898 Push $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
899 Push $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
900 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
901 UserInfo::GetName |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
902 IfErrors Win9x |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
903 Pop $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
904 UserInfo::GetAccountType |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
905 Pop $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
906 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
907 StrCmp $1 "Admin" 0 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
908 StrCpy $1 "HKLM" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
909 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
910 StrCmp $1 "Power" 0 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
911 StrCpy $1 "HKLM" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
912 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
913 StrCmp $1 "User" 0 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
914 StrCpy $1 "HKCU" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
915 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
916 StrCmp $1 "Guest" 0 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
917 StrCpy $1 "NONE" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
918 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
919 ; Unknown error |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
920 StrCpy $1 "NONE" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
921 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
922 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
923 Win9x: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
924 StrCpy $1 "HKLM" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
925 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
926 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
927 Exch $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
928 Exch |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
929 Pop $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
930 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
931 !macroend |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
932 !insertmacro CheckUserInstallRightsMacro "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
933 !insertmacro CheckUserInstallRightsMacro "un." |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
934 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
935 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
936 ; Usage: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
937 ; Push $0 ; Path string |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
938 ; Call VerifyDir |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
939 ; Pop $0 ; 0 - Bad path 1 - Good path |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
940 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
941 Function VerifyDir |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
942 Exch $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
943 Push $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
944 Push $2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
945 Loop: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
946 IfFileExists $0 dir_exists |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
947 StrCpy $1 $0 ; save last |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
948 ${GetParent} $0 $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
949 StrLen $2 $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
950 ; IfFileExists "C:" on xp returns true and on win2k returns false |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
951 ; So we're done in such a case.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
952 IntCmp $2 2 loop_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
953 ; GetParent of "C:" returns "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
954 IntCmp $2 0 loop_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
955 Goto Loop |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
956 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
957 loop_done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
958 StrCpy $1 "$0\GaImFooB" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
959 ; Check if we can create dir on this drive.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
960 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
961 CreateDirectory $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
962 IfErrors DirBad DirGood |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
963 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
964 dir_exists: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
965 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
966 FileOpen $1 "$0\pidginfoo.bar" w |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
967 IfErrors PathBad PathGood |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
968 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
969 DirGood: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
970 RMDir $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
971 Goto PathGood1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
972 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
973 DirBad: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
974 RMDir $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
975 Goto PathBad1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
976 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
977 PathBad: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
978 FileClose $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
979 Delete "$0\pidginfoo.bar" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
980 PathBad1: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
981 StrCpy $0 "0" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
982 Push $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
983 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
984 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
985 PathGood: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
986 FileClose $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
987 Delete "$0\pidginfoo.bar" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
988 PathGood1: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
989 StrCpy $0 "1" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
990 Push $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
991 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
992 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
993 Exch 3 ; The top of the stack contains the output variable |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
994 Pop $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
995 Pop $2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
996 Pop $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
997 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
998 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
999 Function .onVerifyInstDir |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1000 Push $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1001 Push $INSTDIR |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1002 Call VerifyDir |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1003 Pop $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1004 StrCmp $0 "0" 0 dir_good |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1005 Pop $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1006 Abort |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1007 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1008 dir_good: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1009 Pop $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1010 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1011 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1012 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1013 ; Usage: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1014 ; Call DoWeNeedGtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1015 ; First Pop: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1016 ; 0 - We have the correct version |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1017 ; Second Pop: Key where Version was found |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1018 ; 1 - We have an old version that should work, prompt user for optional upgrade |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1019 ; Second Pop: HKLM or HKCU depending on where GTK was found. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1020 ; 2 - We have an old version that needs to be upgraded |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1021 ; Second Pop: HKLM or HKCU depending on where GTK was found. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1022 ; 3 - We don't have Gtk+ at all |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1023 ; Second Pop: "NONE, HKLM or HKCU" depending on our rights.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1024 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1025 Function DoWeNeedGtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1026 ; Logic should be: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1027 ; - Check what user rights we have (HKLM or HKCU) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1028 ; - If HKLM rights.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1029 ; - Only check HKLM key for GTK+ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1030 ; - If installed to HKLM, check it and return. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1031 ; - If HKCU rights.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1032 ; - First check HKCU key for GTK+ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1033 ; - if good or bad exists stop and ret. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1034 ; - If no hkcu gtk+ install, check HKLM |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1035 ; - If HKLM ver exists but old, return as if no ver exits. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1036 ; - If no rights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1037 ; - Check HKLM |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1038 Push $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1039 Push $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1040 Push $2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1041 Push $3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1042 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1043 Call CheckUserInstallRights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1044 Pop $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1045 StrCmp $1 "HKLM" check_hklm |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1046 StrCmp $1 "HKCU" check_hkcu check_hklm |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1047 check_hkcu: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1048 ReadRegStr $0 HKCU ${GTK_REG_KEY} "Version" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1049 StrCpy $2 "HKCU" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1050 StrCmp $0 "" check_hklm have_gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1051 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1052 check_hklm: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1053 ReadRegStr $0 HKLM ${GTK_REG_KEY} "Version" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1054 StrCpy $2 "HKLM" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1055 StrCmp $0 "" no_gtk have_gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1056 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1057 have_gtk: |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
1058 ; GTK+ is already installed; check version. |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1059 ${VersionCompare} ${GTK_INSTALL_VERSION} $0 $3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1060 IntCmp $3 1 +1 good_version good_version |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1061 ${VersionCompare} ${GTK_MIN_VERSION} $0 $3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1062 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1063 ; Bad version. If hklm ver and we have hkcu or no rights.. return no gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1064 StrCmp $1 "NONE" no_gtk ; if no rights.. can't upgrade |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1065 StrCmp $1 "HKCU" 0 +2 ; if HKLM can upgrade.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1066 StrCmp $2 "HKLM" no_gtk ; have hkcu rights.. if found hklm ver can't upgrade.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1067 Push $2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1068 IntCmp $3 1 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1069 Push "1" ; Optional Upgrade |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1070 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1071 Push "2" ; Mandatory Upgrade |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1072 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1073 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1074 good_version: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1075 StrCmp $2 "HKLM" have_hklm_gtk have_hkcu_gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1076 have_hkcu_gtk: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1077 ; Have HKCU version |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1078 ReadRegStr $0 HKCU ${GTK_REG_KEY} "Path" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1079 Goto good_version_cont |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1080 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1081 have_hklm_gtk: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1082 ReadRegStr $0 HKLM ${GTK_REG_KEY} "Path" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1083 Goto good_version_cont |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1084 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1085 good_version_cont: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1086 Push $0 ; The path to existing GTK+ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1087 Push "0" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1088 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1089 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1090 no_gtk: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1091 Push $1 ; our rights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1092 Push "3" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1093 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1094 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1095 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1096 ; The top two items on the stack are what we want to return |
15795
a26ffc69f81c
Add support for registering URI handlers to the windows installer.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15756
diff
changeset
|
1097 Exch 4 |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1098 Pop $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1099 Exch 4 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1100 Pop $3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1101 Pop $2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1102 Pop $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1103 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1104 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1105 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1106 !macro RunCheckMacro UN |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1107 Function ${UN}RunCheck |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1108 Push $R0 |
15756
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1109 System::Call 'kernel32::OpenMutex(i 2031617, b 0, t "pidgin_is_running") i .R0' |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1110 IntCmp $R0 0 done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1111 MessageBox MB_OK|MB_ICONEXCLAMATION $(PIDGIN_IS_RUNNING) /SD IDOK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1112 Abort |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1113 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1114 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1115 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1116 !macroend |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1117 !insertmacro RunCheckMacro "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1118 !insertmacro RunCheckMacro "un." |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1119 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1120 Function .onInit |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1121 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1122 System::Call 'kernel32::CreateMutexA(i 0, i 0, t "pidgin_installer_running") i .r1 ?e' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1123 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1124 StrCmp $R0 0 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1125 MessageBox MB_OK|MB_ICONEXCLAMATION $(INSTALLER_IS_RUNNING) /SD IDOK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1126 Abort |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1127 Call RunCheck |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1128 StrCpy $name "Pidgin ${PIDGIN_VERSION}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1129 StrCpy $SPELLCHECK_SEL "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1130 |
15756
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1131 ;Try to copy the old Gaim installer Lang Reg. key |
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1132 ClearErrors |
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1133 ReadRegStr $R0 HKCU "${PIDGIN_REG_KEY}" "Installer Language" |
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1134 IfErrors 0 +5 |
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1135 ClearErrors |
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1136 ReadRegStr $R0 HKCU "SOFTWARE\gaim" "Installer Language" |
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1137 IfErrors +2 |
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1138 WriteRegStr HKCU "${PIDGIN_REG_KEY}" "Installer Language" "$R0" |
2b6acdc5b614
Installer updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15754
diff
changeset
|
1139 |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1140 ;Mark the dictionaries that are already installed as readonly |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1141 Call SelectAndDisableInstalledDictionaries |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1142 |
15796
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1143 ;Preselect the URI handlers as appropriate |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1144 Call SelectURIHandlerSelections |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1145 |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1146 StrCpy $ISSILENT "/NOUI" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1147 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1148 ; GTK installer has two silent states.. one with Message boxes, one without |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1149 ; If pidgin installer was run silently, we want to supress gtk installer msg boxes. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1150 IfSilent 0 set_gtk_normal |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1151 StrCpy $ISSILENT "/S" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1152 set_gtk_normal: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1153 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1154 ${GetParameters} $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1155 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1156 ${GetOptions} $R0 "/L=" $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1157 IfErrors +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1158 StrCpy $LANGUAGE $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1159 Goto skip_lang |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1160 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1161 ; Select Language |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1162 ; Display Language selection dialog |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1163 !insertmacro MUI_LANGDLL_DISPLAY |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1164 skip_lang: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1165 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1166 ; If install path was set on the command, use it. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1167 StrCmp $INSTDIR "" 0 instdir_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1168 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1169 ; If pidgin or gaim is currently installed, we should default to where it is currently installed |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1170 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1171 ReadRegStr $INSTDIR HKCU "${PIDGIN_REG_KEY}" "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1172 IfErrors +2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1173 StrCmp $INSTDIR "" 0 instdir_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1174 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1175 ReadRegStr $INSTDIR HKLM "${PIDGIN_REG_KEY}" "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1176 IfErrors +2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1177 StrCmp $INSTDIR "" 0 instdir_done |
15796
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1178 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1179 ;If we wanted to reuse the previous gaim installation dir, this would be the way to do it: |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1180 ;ClearErrors |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1181 ;ReadRegStr $INSTDIR HKCU "${OLD_GAIM_REG_KEY}" "" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1182 ;IfErrors +2 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1183 ;StrCmp $INSTDIR "" 0 instdir_done |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1184 ;ClearErrors |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1185 ;ReadRegStr $INSTDIR HKLM "${OLD_GAIM_REG_KEY}" "" |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1186 ;IfErrors +2 |
1dee9065e336
Default the URI Handler checkboxes in the installer appropriately (if pidgin is the current handler or if there is no current handler). Also, don't use the previous Gaim installation directory as the default new directory for Pidgin (perhaps it would be smart to use something like ...\blah\Pidgin if gaim was installed in ...\blah\Gaim, but I'm not sure it is worth the effort).
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15795
diff
changeset
|
1187 ;StrCmp $INSTDIR "" 0 instdir_done |
15752
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1188 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1189 Call CheckUserInstallRights |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1190 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1191 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1192 StrCmp $R0 "HKLM" 0 user_dir |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1193 StrCpy $INSTDIR "$PROGRAMFILES\Pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1194 Goto instdir_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1195 user_dir: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1196 Push $SMPROGRAMS |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1197 ${GetParent} $SMPROGRAMS $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1198 ${GetParent} $R2 $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1199 StrCpy $INSTDIR "$R2\Pidgin" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1200 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1201 instdir_done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1202 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1203 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1204 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1205 Function un.onInit |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1206 Call un.RunCheck |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1207 StrCpy $name "Pidgin ${PIDGIN_VERSION}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1208 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1209 ; Get stored language preference |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1210 !insertmacro MUI_UNGETLANGUAGE |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1211 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1212 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1213 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1214 ; This is a modified StartRadioButtons (from Sections.nsh) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1215 ; The only difference is that it allows for nothing in the group to be selected |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1216 ; In that case, the default variable should be set to "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1217 !macro StartRadioButtonsUnselectable var |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1218 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1219 !define StartRadioButtons_Var "${var}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1220 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1221 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1222 Push $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1223 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1224 ;If we have no selection, don't try to unselect it |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1225 StrCmp "${StartRadioButtons_Var}" "" +4 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1226 SectionGetFlags "${StartRadioButtons_Var}" $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1227 IntOp $R1 $R0 & ${SF_SELECTED} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1228 IntOp $R0 $R0 & ${SECTION_OFF} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1229 SectionSetFlags "${StartRadioButtons_Var}" $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1230 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1231 ; If the previous value isn't currently selected, |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1232 ; we don't want to select it at the end |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1233 IntCmp $R1 ${SF_SELECTED} +2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1234 StrCpy "${StartRadioButtons_Var}" "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1235 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1236 StrCpy $R1 "${StartRadioButtons_Var}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1237 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1238 !macroend |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1239 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1240 Function .onSelChange |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1241 Push $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1242 Push $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1243 Push $2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1244 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1245 ; Check that at most one of the non-readonly spelling dictionaries are selected |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1246 ; We can't use $R0 or $R1 in this block since they're used in the macros |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1247 !insertmacro StartRadioButtonsUnselectable $SPELLCHECK_SEL |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1248 ; Start with the first language dictionary |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1249 IntOp $2 ${SecSpellCheck} + 1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1250 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1251 start_spellcheck_radio: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1252 SectionGetFlags $2 $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1253 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1254 IntOp $1 $0 & ${SF_SECGRPEND} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1255 ; If it is the end of the section group, stop |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1256 IntCmp $1 ${SF_SECGRPEND} end_spellcheck_radio |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1257 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1258 IntOp $0 $0 & ${SF_RO} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1259 IntCmp $0 ${SF_RO} after_button_insert |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1260 ; If !readonly, then it is part of the radiobutton group |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1261 !insertmacro RadioButton $2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1262 after_button_insert: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1263 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1264 IntOp $2 $2 + 1 ;Advance to the next section |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1265 Goto start_spellcheck_radio |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1266 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1267 end_spellcheck_radio: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1268 !insertmacro EndRadioButtons |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1269 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1270 Pop $2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1271 Pop $1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1272 Pop $0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1273 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1274 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1275 ; Page enter and exit functions.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1276 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1277 Function preWelcomePage |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1278 Push R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1279 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1280 !ifndef WITH_GTK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1281 ; If this installer dosn't have GTK, check whether we need it. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1282 ; We do this here an not in .onInit because language change in |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1283 ; .onInit doesn't take effect until it is finished. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1284 Call DoWeNeedGtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1285 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1286 Pop $GTK_FOLDER |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1287 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1288 IntCmp $R0 1 done done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1289 MessageBox MB_OK $(GTK_INSTALLER_NEEDED) /SD IDOK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1290 Quit |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1291 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1292 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1293 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1294 !else |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1295 Push R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1296 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1297 ; If on Win95/98/ME warn them that the GTK+ version wont work |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1298 Call GetWindowsVersion |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1299 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1300 StrCmp $R1 "95" win_ver_bad |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1301 StrCmp $R1 "98" win_ver_bad |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1302 StrCmp $R1 "ME" win_ver_bad |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1303 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1304 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1305 win_ver_bad: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1306 !insertmacro UnselectSection ${SecGtk} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1307 !insertmacro SetSectionFlag ${SecGtkNone} ${SF_RO} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1308 !insertmacro UnselectSection ${SecGtkNone} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1309 !insertmacro SetSectionFlag ${SecGtkWimp} ${SF_RO} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1310 !insertmacro UnselectSection ${SecGtkWimp} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1311 !insertmacro SetSectionFlag ${SecGtkBluecurve} ${SF_RO} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1312 !insertmacro UnselectSection ${SecGtkBluecurve} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1313 !insertmacro SetSectionFlag ${SecGtkLighthouseblue} ${SF_RO} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1314 !insertmacro UnselectSection ${SecGtkLighthouseblue} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1315 MessageBox MB_OK $(GTK_WINDOWS_INCOMPATIBLE) /SD IDOK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1316 Call DoWeNeedGtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1317 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1318 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1319 IntCmp $R0 1 done done ; Upgrade isn't optional - abort if we don't have a suitable version |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1320 Quit |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1321 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1322 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1323 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1324 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1325 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1326 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1327 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1328 !ifdef WITH_GTK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1329 Function preGtkDirPage |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1330 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1331 Push $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1332 Call DoWeNeedGtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1333 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1334 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1335 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1336 IntCmp $R0 2 +2 +2 no_gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1337 StrCmp $R0 "3" no_gtk no_gtk |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1338 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1339 ; Don't show dir selector.. Upgrades are done to existing path.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1340 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1341 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1342 Abort |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1343 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1344 no_gtk: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1345 StrCmp $R1 "NONE" 0 no_gtk_cont |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1346 ; Got no install rights.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1347 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1348 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1349 Abort |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1350 no_gtk_cont: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1351 ; Suggest path.. |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1352 StrCmp $R1 "HKCU" 0 hklm1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1353 ${GetParent} $SMPROGRAMS $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1354 ${GetParent} $R0 $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1355 StrCpy $R0 "$R0\GTK\2.0" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1356 Goto got_path |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1357 hklm1: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1358 StrCpy $R0 "${GTK_DEFAULT_INSTALL_PATH}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1359 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1360 got_path: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1361 StrCpy $name "GTK+ ${GTK_INSTALL_VERSION}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1362 StrCpy $GTK_FOLDER $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1363 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1364 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1365 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1366 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1367 Function postGtkDirPage |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1368 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1369 StrCpy $name "Pidgin ${PIDGIN_VERSION}" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1370 Push $GTK_FOLDER |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1371 Call VerifyDir |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1372 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1373 StrCmp $R0 "0" 0 done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1374 MessageBox MB_OK $(GTK_BAD_INSTALL_PATH) /SD IDOK |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1375 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1376 Abort |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1377 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1378 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1379 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1380 !endif |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1381 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1382 ; GetWindowsVersion |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1383 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1384 ; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1385 ; Updated by Joost Verburg |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1386 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1387 ; Returns on top of stack |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1388 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1389 ; Windows Version (95, 98, ME, NT x.x, 2000, XP, 2003, Vista) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1390 ; or |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1391 ; '' (Unknown Windows Version) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1392 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1393 ; Usage: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1394 ; Call GetWindowsVersion |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1395 ; Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1396 ; |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1397 ; at this point $R0 is "NT 4.0" or whatnot |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1398 Function GetWindowsVersion |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1399 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1400 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1401 Push $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1402 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1403 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1404 ReadRegStr $R0 HKLM \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1405 "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1406 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1407 IfErrors 0 lbl_winnt |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1408 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1409 ; we are not NT |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1410 ReadRegStr $R0 HKLM \ |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1411 "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1412 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1413 StrCpy $R1 $R0 1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1414 StrCmp $R1 '4' 0 lbl_error |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1415 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1416 StrCpy $R1 $R0 3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1417 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1418 StrCmp $R1 '4.0' lbl_win32_95 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1419 StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1420 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1421 lbl_win32_95: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1422 StrCpy $R0 '95' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1423 Goto lbl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1424 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1425 lbl_win32_98: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1426 StrCpy $R0 '98' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1427 Goto lbl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1428 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1429 lbl_win32_ME: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1430 StrCpy $R0 'ME' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1431 Goto lbl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1432 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1433 lbl_winnt: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1434 StrCpy $R1 $R0 1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1435 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1436 StrCmp $R1 '3' lbl_winnt_x |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1437 StrCmp $R1 '4' lbl_winnt_x |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1438 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1439 StrCpy $R1 $R0 3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1440 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1441 StrCmp $R1 '5.0' lbl_winnt_2000 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1442 StrCmp $R1 '5.1' lbl_winnt_XP |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1443 StrCmp $R1 '5.2' lbl_winnt_2003 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1444 StrCmp $R1 '6.0' lbl_winnt_vista lbl_error |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1445 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1446 lbl_winnt_x: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1447 StrCpy $R0 "NT $R0" 6 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1448 Goto lbl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1449 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1450 lbl_winnt_2000: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1451 Strcpy $R0 '2000' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1452 Goto lbl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1453 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1454 lbl_winnt_XP: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1455 Strcpy $R0 'XP' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1456 Goto lbl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1457 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1458 lbl_winnt_2003: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1459 Strcpy $R0 '2003' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1460 Goto lbl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1461 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1462 lbl_winnt_vista: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1463 Strcpy $R0 'Vista' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1464 Goto lbl_done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1465 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1466 lbl_error: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1467 Strcpy $R0 '' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1468 lbl_done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1469 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1470 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1471 Exch $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1472 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1473 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1474 ; SpellChecker Related Functions |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1475 ;------------------------------- |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1476 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1477 ; Convert the a Section index to the language code |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1478 ; Push the section index onto the stack and pop off the language code after the call |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1479 ; This will set the error code, if no match is found |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1480 Function GetLangCodeForSection |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1481 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1482 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1483 Exch |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1484 Pop $R0 ;This is the section index |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1485 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1486 IntCmp $R0 ${SecSpellCheckBreton} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1487 StrCpy $R0 "br" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1488 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1489 IntCmp $R0 ${SecSpellCheckCatalan} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1490 StrCpy $R0 "ca" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1491 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1492 IntCmp $R0 ${SecSpellCheckCzech} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1493 StrCpy $R0 "cs" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1494 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1495 IntCmp $R0 ${SecSpellCheckWelsh} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1496 StrCpy $R0 "cy" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1497 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1498 IntCmp $R0 ${SecSpellCheckDanish} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1499 StrCpy $R0 "da" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1500 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1501 IntCmp $R0 ${SecSpellCheckGerman} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1502 StrCpy $R0 "de" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1503 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1504 IntCmp $R0 ${SecSpellCheckGreek} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1505 StrCpy $R0 "el" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1506 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1507 IntCmp $R0 ${SecSpellCheckEnglish} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1508 StrCpy $R0 "en" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1509 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1510 IntCmp $R0 ${SecSpellCheckEsperanto} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1511 StrCpy $R0 "eo" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1512 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1513 IntCmp $R0 ${SecSpellCheckSpanish} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1514 StrCpy $R0 "es" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1515 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1516 IntCmp $R0 ${SecSpellCheckFaroese} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1517 StrCpy $R0 "fo" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1518 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1519 IntCmp $R0 ${SecSpellCheckFrench} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1520 StrCpy $R0 "fr" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1521 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1522 IntCmp $R0 ${SecSpellCheckItalian} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1523 StrCpy $R0 "it" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1524 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1525 IntCmp $R0 ${SecSpellCheckDutch} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1526 StrCpy $R0 "nl" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1527 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1528 IntCmp $R0 ${SecSpellCheckNorwegian} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1529 StrCpy $R0 "no" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1530 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1531 IntCmp $R0 ${SecSpellCheckPolish} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1532 StrCpy $R0 "pl" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1533 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1534 IntCmp $R0 ${SecSpellCheckPortuguese} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1535 StrCpy $R0 "pt" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1536 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1537 IntCmp $R0 ${SecSpellCheckRomanian} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1538 StrCpy $R0 "ro" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1539 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1540 IntCmp $R0 ${SecSpellCheckRussian} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1541 StrCpy $R0 "ru" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1542 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1543 IntCmp $R0 ${SecSpellCheckSlovak} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1544 StrCpy $R0 "sk" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1545 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1546 IntCmp $R0 ${SecSpellCheckSwedish} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1547 StrCpy $R0 "sv" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1548 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1549 IntCmp $R0 ${SecSpellCheckUkrainian} 0 +3 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1550 StrCpy $R0 "uk" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1551 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1552 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1553 SetErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1554 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1555 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1556 Exch $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1557 FunctionEnd ;GetLangCodeForSection |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1558 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1559 ; Select and Disable any Sections that have currently installed dictionaries |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1560 Function SelectAndDisableInstalledDictionaries |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1561 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1562 Push $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1563 Push $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1564 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1565 ; Start with the first language dictionary |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1566 IntOp $R0 ${SecSpellCheck} + 1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1567 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1568 start: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1569 ; If it is the end of the section group, stop |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1570 SectionGetFlags $R0 $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1571 IntOp $R2 $R1 & ${SF_SECGRPEND} |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1572 IntCmp $R2 ${SF_SECGRPEND} done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1573 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1574 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1575 Call GetLangCodeForSection |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1576 Pop $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1577 IfErrors end_loop |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1578 ReadRegStr $R2 HKLM "${ASPELL_REG_KEY}-$R2" "" ; Check that the dictionary is installed |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1579 StrCmp $R2 "" end_loop ; If it isn't installed, skip to the next item |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1580 IntOp $R1 $R1 | ${SF_RO} ; Mark Readonly |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1581 IntOp $R1 $R1 | ${SF_SELECTED} ; Select |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1582 SectionSetFlags $R0 $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1583 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1584 end_loop: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1585 IntOp $R0 $R0 + 1 ;Advance to the next section |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1586 Goto start |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1587 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1588 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1589 Pop $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1590 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1591 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1592 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1593 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1594 Function InstallAspellAndDict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1595 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1596 Exch |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1597 Call GetLangCodeForSection |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1598 Pop $R0 ;This is the language code |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1599 Push $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1600 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1601 IfErrors done ; We weren't able to convert the section to lang code |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1602 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1603 retry: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1604 Call InstallAspell |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1605 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1606 StrCmp $R1 "" +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1607 StrCmp $R1 "cancel" done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1608 MessageBox MB_RETRYCANCEL "$(PIDGIN_SPELLCHECK_ERROR) : $R1" /SD IDCANCEL IDRETRY retry IDCANCEL done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1609 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1610 retry_dict: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1611 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1612 Call InstallAspellDictionary |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1613 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1614 StrCmp $R1 "" +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1615 StrCmp $R1 "cancel" done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1616 MessageBox MB_RETRYCANCEL "$(PIDGIN_SPELLCHECK_DICT_ERROR) : $R1" /SD IDCANCEL IDRETRY retry_dict |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1617 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1618 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1619 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1620 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1621 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1622 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1623 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1624 Function InstallAspell |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1625 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1626 Push $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1627 Push $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1628 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1629 check: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1630 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1631 ReadRegDWORD $R0 HKLM ${ASPELL_REG_KEY} "AspellVersion" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1632 IntCmp $R0 15 installed |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1633 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1634 ; If this is the check after installation, don't infinite loop on failure |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1635 StrCmp $R1 "$TEMP\aspell_installer.exe" 0 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1636 StrCpy $R0 $(ASPELL_INSTALL_FAILED) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1637 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1638 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1639 ; We need to download and install aspell |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1640 StrCpy $R1 "$TEMP\aspell_installer.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1641 StrCpy $R2 "${DOWNLOADER_URL}?version=${PIDGIN_VERSION}&dl_pkg=aspell_core" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1642 DetailPrint "Downloading Aspell... ($R2)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1643 NSISdl::download $R2 $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1644 Pop $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1645 StrCmp $R0 "success" +2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1646 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1647 ExecWait '"$R1"' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1648 Delete $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1649 Goto check ; Check that it is now installed correctly |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1650 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1651 installed: ;Aspell is currently installed, no error message |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1652 DetailPrint "Aspell is installed" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1653 StrCpy $R0 '' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1654 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1655 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1656 Pop $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1657 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1658 Exch $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1659 FunctionEnd |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1660 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1661 Function InstallAspellDictionary |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1662 Push $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1663 Exch |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1664 Pop $R0 ;This is the language code |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1665 Push $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1666 Push $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1667 Push $R3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1668 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1669 check: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1670 ClearErrors |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1671 ReadRegStr $R2 HKLM "${ASPELL_REG_KEY}-$R0" "" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1672 StrCmp $R2 "" 0 installed |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1673 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1674 ; If this is the check after installation, don't infinite loop on failure |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1675 StrCmp $R1 "$TEMP\aspell_dict-$R0.exe" 0 +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1676 StrCpy $R0 $(ASPELL_INSTALL_FAILED) |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1677 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1678 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1679 ; We need to download and install aspell |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1680 StrCpy $R1 "$TEMP\aspell_dict-$R0.exe" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1681 StrCpy $R3 "${DOWNLOADER_URL}?version=${PIDGIN_VERSION}&dl_pkg=lang_$R0" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1682 DetailPrint "Downloading the Aspell $R0 Dictionary... ($R3)" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1683 NSISdl::download $R3 $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1684 Pop $R3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1685 StrCmp $R3 "success" +3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1686 StrCpy $R0 $R3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1687 Goto done |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1688 ExecWait '"$R1"' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1689 Delete $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1690 Goto check ; Check that it is now installed correctly |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1691 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1692 installed: ;The dictionary is currently installed, no error message |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1693 DetailPrint "Aspell $R0 Dictionary is installed" |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1694 StrCpy $R0 '' |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1695 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1696 done: |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1697 Pop $R3 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1698 Pop $R2 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1699 Pop $R1 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1700 Exch $R0 |
e11859350489
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1701 FunctionEnd |