summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--COPYING2
-rw-r--r--KTAGS2
-rw-r--r--T42.rc14
-rw-r--r--help/T42.rtf4
-rw-r--r--help/T42.xml5
-rw-r--r--install/install.cpp9
-rw-r--r--install/install.rc10
7 files changed, 29 insertions, 17 deletions
diff --git a/COPYING b/COPYING
index 9abe63f..b71fe11 100644
--- a/COPYING
+++ b/COPYING
@@ -1,13 +1,13 @@
1Copyright (c) 1998-2004 Klever Group (http://www.klever.net/) 1Copyright (c) 1998-2005 Klever Group (http://www.klever.net/)
2 2
3Permission is hereby granted, free of charge, to any person obtaining a copy of 3Permission is hereby granted, free of charge, to any person obtaining a copy of
4this software and associated documentation files (the "Software"), to deal in 4this software and associated documentation files (the "Software"), to deal in
5the Software without restriction, including without limitation the rights to 5the Software without restriction, including without limitation the rights to
6use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 6use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7of the Software, and to permit persons to whom the Software is furnished to do 7of the Software, and to permit persons to whom the Software is furnished to do
8so, subject to the following conditions: 8so, subject to the following conditions:
9 9
10The above copyright notice and this permission notice shall be included in all 10The above copyright notice and this permission notice shall be included in all
11copies or substantial portions of the Software. 11copies or substantial portions of the Software.
12 12
13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
diff --git a/KTAGS b/KTAGS
index 53a4c56..51936ef 100644
--- a/KTAGS
+++ b/KTAGS
@@ -1,12 +1,12 @@
1 about-date T42.rc /LTEXT\s\+"Copyright /;"kind:d 1 about-date T42.rc /LTEXT\s\+"Copyright /;"kind:d
2 about-version T42.rc /LTEXT\s\+"T42, Version/;"kind:v 2 about-version T42.rc /LTEXT\s\+"T42, Version/;"kind:v
3 help-license-date ./help/T42.xml /<license\s/;"kind:d 3 help-license-date ./help/T42.xml /<license\s/;"kind:d
4 help-news ./help/T42.xml/<newsfor\s/ 4 help-news ./help/T42.xml/<newsfor\s/
5 install-version ./install/install.cpp /^#define\s\+KINAME\s\+"/;"kind:v 5 install-version ./install/install.cpp /^#define\s\+VERSION\s\+"/;"kind:v
6 install-vsinfo-date install/install.rc /^\s\+VALUE\s\+"LegalCopyright",/;"kind:d 6 install-vsinfo-date install/install.rc /^\s\+VALUE\s\+"LegalCopyright",/;"kind:d
7 install-vsinfo-numeric-version install/install.rc /^\s\+FILEVERSION\s\+/;"kind:v 7 install-vsinfo-numeric-version install/install.rc /^\s\+FILEVERSION\s\+/;"kind:v
8 install-vsinfo-string-version install/install.rc /^\s\+VALUE\s\+"FileVersion",/;"kind:v 8 install-vsinfo-string-version install/install.rc /^\s\+VALUE\s\+"FileVersion",/;"kind:v
9 license-date COPYING :1;"kind:d 9 license-date COPYING :1;"kind:d
10 vsinfo-date T42.rc /VALUE\s\+"LegalCopyright",/;"kind:d 10 vsinfo-date T42.rc /VALUE\s\+"LegalCopyright",/;"kind:d
11 vsinfo-numeric-version T42.rc /^\s\+FILEVERSION\s\+/;"kind:v 11 vsinfo-numeric-version T42.rc /^\s\+FILEVERSION\s\+/;"kind:v
12 vsinfo-string-version T42.rc /^\s\+VALUE\s\+"FileVersion",/;"kind:v 12 vsinfo-string-version T42.rc /^\s\+VALUE\s\+"FileVersion",/;"kind:v
diff --git a/T42.rc b/T42.rc
index 6c51796..1bc84ac 100644
--- a/T42.rc
+++ b/T42.rc
@@ -76,26 +76,26 @@ IDR_FLIPPEDCUP ICON DISCARDABLE "res\\IDR_FLIP.ico"
76IDI_PREPLAY ICON DISCARDABLE "shared-data/play-icon.ico" 76IDI_PREPLAY ICON DISCARDABLE "shared-data/play-icon.ico"
77 77
78///////////////////////////////////////////////////////////////////////////// 78/////////////////////////////////////////////////////////////////////////////
79// 79//
80// Dialog 80// Dialog
81// 81//
82 82
83IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 194, 78 83IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 194, 78
84STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 84STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
85CAPTION "About T42" 85CAPTION "About T42"
86FONT 8, "MS Sans Serif" 86FONT 8, "MS Sans Serif"
87BEGIN 87BEGIN
88 LTEXT "T42, Version 1.5",IDC_STATIC,37,10,119,8,SS_NOPREFIX 88 LTEXT "T42, Version 1.5.1",IDC_STATIC,37,10,119,8,SS_NOPREFIX
89 LTEXT "Copyright © 1998-2004 Klever Group",IDC_STATIC,37,25,119,8 89 LTEXT "Copyright © 1998-2005 Klever Group",IDC_STATIC,37,25,119,8
90 ICON IDR_MAINFRAME,IDC_STATIC,7,34,18,20 90 ICON IDR_MAINFRAME,IDC_STATIC,7,34,18,20
91 ICON IDR_FLIPPEDCUP,IDC_STATIC,166,34,18,20 91 ICON IDR_FLIPPEDCUP,IDC_STATIC,166,34,18,20
92 DEFPUSHBUTTON "OK",IDOK,81,40,32,14,WS_GROUP 92 DEFPUSHBUTTON "OK",IDOK,81,40,32,14,WS_GROUP
93 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,107,59,80,12 93 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,107,59,80,12
94END 94END
95 95
96IDD_T42_DIALOG DIALOGEX 0, 0, 221, 200 96IDD_T42_DIALOG DIALOGEX 0, 0, 221, 200
97STYLE DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME 97STYLE DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
98EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | 98EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP |
99 WS_EX_APPWINDOW 99 WS_EX_APPWINDOW
100CAPTION " Tea For Two " 100CAPTION " Tea For Two "
101FONT 8, "MS Sans Serif", 0, 0, 0x1 101FONT 8, "MS Sans Serif", 0, 0, 0x1
@@ -289,49 +289,49 @@ BEGIN
289 LTEXT "Note: you will need to restart T42 if you change ntalk demon port number.", 289 LTEXT "Note: you will need to restart T42 if you change ntalk demon port number.",
290 IDC_STATIC,40,20,163,20 290 IDC_STATIC,40,20,163,20
291END 291END
292 292
293 293
294#ifndef _MAC 294#ifndef _MAC
295///////////////////////////////////////////////////////////////////////////// 295/////////////////////////////////////////////////////////////////////////////
296// 296//
297// Version 297// Version
298// 298//
299 299
300VS_VERSION_INFO VERSIONINFO 300VS_VERSION_INFO VERSIONINFO
301 FILEVERSION 1,5,0,0 301 FILEVERSION 1,5,1,0
302 PRODUCTVERSION 1,5,0,0 302 PRODUCTVERSION 1,5,1,0
303 FILEFLAGSMASK 0x3fL 303 FILEFLAGSMASK 0x3fL
304#ifdef _DEBUG 304#ifdef _DEBUG
305 FILEFLAGS 0x1L 305 FILEFLAGS 0x1L
306#else 306#else
307 FILEFLAGS 0x0L 307 FILEFLAGS 0x0L
308#endif 308#endif
309 FILEOS 0x4L 309 FILEOS 0x4L
310 FILETYPE 0x1L 310 FILETYPE 0x1L
311 FILESUBTYPE 0x0L 311 FILESUBTYPE 0x0L
312BEGIN 312BEGIN
313 BLOCK "StringFileInfo" 313 BLOCK "StringFileInfo"
314 BEGIN 314 BEGIN
315 BLOCK "040904b0" 315 BLOCK "040904b0"
316 BEGIN 316 BEGIN
317 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 317 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
318 VALUE "FileDescription", "T42, unix talk/ntalk implementation\0" 318 VALUE "FileDescription", "T42, unix talk/ntalk implementation\0"
319 VALUE "FileVersion", "1, 5, 0, 0\0" 319 VALUE "FileVersion", "1, 5, 1, 0\0"
320 VALUE "InternalName", "T42\0" 320 VALUE "InternalName", "T42\0"
321 VALUE "LegalCopyright", "Copyright © 1998-2004 Klever Group (http://www.klever.net/)\0" 321 VALUE "LegalCopyright", "Copyright © 1998-2005 Klever Group (http://www.klever.net/)\0"
322 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 322 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
323 VALUE "OriginalFilename", "T42.EXE\0" 323 VALUE "OriginalFilename", "T42.EXE\0"
324 VALUE "ProductName", "T42\0" 324 VALUE "ProductName", "T42\0"
325 VALUE "ProductVersion", "1, 5, 0, 0\0" 325 VALUE "ProductVersion", "1, 5, 1, 0\0"
326 END 326 END
327 END 327 END
328 BLOCK "VarFileInfo" 328 BLOCK "VarFileInfo"
329 BEGIN 329 BEGIN
330 VALUE "Translation", 0x409, 1200 330 VALUE "Translation", 0x409, 1200
331 END 331 END
332END 332END
333 333
334#endif // !_MAC 334#endif // !_MAC
335 335
336 336
337///////////////////////////////////////////////////////////////////////////// 337/////////////////////////////////////////////////////////////////////////////
diff --git a/help/T42.rtf b/help/T42.rtf
index 5768d8f..5032e72 100644
--- a/help/T42.rtf
+++ b/help/T42.rtf
@@ -13,36 +13,38 @@ DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD
13#{\footnote About} 13#{\footnote About}
14${\footnote About T42} 14${\footnote About T42}
15{ \f1\fs18\b\sb120 About {\b T42}} 15{ \f1\fs18\b\sb120 About {\b T42}}
16\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b T42} is our {\i Win32} implementation of {\b\cf6 unix}{\b\cf6 ntalk} protocol. 16\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b T42} is our {\i Win32} implementation of {\b\cf6 unix}{\b\cf6 ntalk} protocol.
17\par\sa120\sb120\qj\pard \f1\fs18\sb120 It features:\pard 17\par\sa120\sb120\qj\pard \f1\fs18\sb120 It features:\pard
18\par \fi0\li0 \bullet {\b Multihoming} - works properly on multihomed machines (ie. accepts connections/issues requests on all interfaces); 18\par \fi0\li0 \bullet {\b Multihoming} - works properly on multihomed machines (ie. accepts connections/issues requests on all interfaces);
19\par \fi0\li0 \bullet {\b Your personal secretary} - technically speaking, something like answering machine; 19\par \fi0\li0 \bullet {\b Your personal secretary} - technically speaking, something like answering machine;
20\par \fi0\li0 \bullet {\b Sleep function} - be notified of activities in backgrounded windows;\pard 20\par \fi0\li0 \bullet {\b Sleep function} - be notified of activities in backgrounded windows;\pard
21\par\sa120\sb120\qj\pard \f1\fs18\sb120 Designed to be compatible with our {\i TFTP} client/server, {\uldb {\b PumpKIN}}{\v %!ExecFile("http://kin.klever.net/pumpkin/")}, that allows you to exchange files with your party while having talk sessions. 21\par\sa120\sb120\qj\pard \f1\fs18\sb120 Designed to be compatible with our {\i TFTP} client/server, {\uldb {\b PumpKIN}}{\v %!ExecFile("http://kin.klever.net/pumpkin/")}, that allows you to exchange files with your party while having talk sessions.
22\par\sa120\sb120\qj\pard \f1\fs18\sb120 22\par\sa120\sb120\qj\pard \f1\fs18\sb120
23\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}} 23\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}}
24{ 24{
25\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1998-2004 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")} 25\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1998-2005 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")}
26\par\qj\sb120\sa120Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 26\par\qj\sb120\sa120Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
27\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 27\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
28\par \sa360 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 28\par \sa360 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29} 29}
30\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")} 30\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")}
31\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")} 31\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")}
32\page 32\page
33 33
34\pard\plain 34\pard\plain
35#{\footnote News} 35#{\footnote News}
36${\footnote What's New} 36${\footnote What's New}
37\par\pard\plain\f1\fs24\qc\cf2\b 1.5.1 - August 6th, 2005
38\par\pard\plain\fi0\li0\f1\fs18 \bullet Fixed uninstall procedure so that it works on XP
37\par\pard\plain\f1\fs24\qc\cf2\b 1.5 - July 11th, 2004 39\par\pard\plain\f1\fs24\qc\cf2\b 1.5 - July 11th, 2004
38\par\pard\plain\fi0\li0\f1\fs18 \bullet Change of license and opening the source 40\par\pard\plain\fi0\li0\f1\fs18 \bullet Change of license and opening the source
39\page 41\page
40 42
41\pard\plain\keepn 43\pard\plain\keepn
42#{\footnote Using} 44#{\footnote Using}
43${\footnote Using T42} 45${\footnote Using T42}
44{ \f1\fs18\b\sb120 Using {\b T42}} 46{ \f1\fs18\b\sb120 Using {\b T42}}
45\par\sa120\sb120\qj\pard \f1\fs18\sb120 Once you've installed {\b T42}, run it from {\i Programs/Klever Group} menu. A small cup icon will appear in the notification tray area. 47\par\sa120\sb120\qj\pard \f1\fs18\sb120 Once you've installed {\b T42}, run it from {\i Programs/Klever Group} menu. A small cup icon will appear in the notification tray area.
46\par\sa120\sb120\qj\pard \f1\fs18\sb120 Left-click on the icon will get you to the {\uldb Main Window}{\v MainWindow}, right-click brings up the following menu:\pard 48\par\sa120\sb120\qj\pard \f1\fs18\sb120 Left-click on the icon will get you to the {\uldb Main Window}{\v MainWindow}, right-click brings up the following menu:\pard
47\par \fi0\li0 \bullet {\b Order some tea} - Initiates talk session. This will open new {\uldb Conversation Window}{\v ConversationWindow} and prompt you for request details. 49\par \fi0\li0 \bullet {\b Order some tea} - Initiates talk session. This will open new {\uldb Conversation Window}{\v ConversationWindow} and prompt you for request details.
48\par \fi0\li0 \bullet {\b Away} - Toggle your away mode. It affects the way {\b T42} handles incoming calls. See {\uldb Main Window}{\v Mainwindow} for details. 50\par \fi0\li0 \bullet {\b Away} - Toggle your away mode. It affects the way {\b T42} handles incoming calls. See {\uldb Main Window}{\v Mainwindow} for details.
diff --git a/help/T42.xml b/help/T42.xml
index affe7c0..8973ee7 100644
--- a/help/T42.xml
+++ b/help/T42.xml
@@ -3,28 +3,31 @@
3 <topic id="About" title="About T42"> 3 <topic id="About" title="About T42">
4 <heading scroll="no">About <kin>T42</kin></heading> 4 <heading scroll="no">About <kin>T42</kin></heading>
5 <p><kin>T42</kin> is our <term>Win32</term> implementation of <product>unix</product> <product>ntalk</product> protocol.</p> 5 <p><kin>T42</kin> is our <term>Win32</term> implementation of <product>unix</product> <product>ntalk</product> protocol.</p>
6 <p>It features:</p> 6 <p>It features:</p>
7 <ul> 7 <ul>
8 <li><b>Multihoming</b> - works properly on multihomed machines (ie. accepts connections/issues requests on all interfaces);</li> 8 <li><b>Multihoming</b> - works properly on multihomed machines (ie. accepts connections/issues requests on all interfaces);</li>
9 <li><b>Your personal secretary</b> - technically speaking, something like answering machine;</li> 9 <li><b>Your personal secretary</b> - technically speaking, something like answering machine;</li>
10 <li><b>Sleep function</b> - be notified of activities in backgrounded windows;</li> 10 <li><b>Sleep function</b> - be notified of activities in backgrounded windows;</li>
11 </ul> 11 </ul>
12 <p>Designed to be compatible with our <term>TFTP</term> client/server, <kin href="http://kin.klever.net/pumpkin/">PumpKIN</kin>, that allows you to exchange files with your party while having talk sessions.</p> 12 <p>Designed to be compatible with our <term>TFTP</term> client/server, <kin href="http://kin.klever.net/pumpkin/">PumpKIN</kin>, that allows you to exchange files with your party while having talk sessions.</p>
13 <p/> 13 <p/>
14 <p><b><i>Enjoy!</i></b></p> 14 <p><b><i>Enjoy!</i></b></p>
15 <license years="1998-2004"/> 15 <license years="1998-2005"/>
16 <credits/> 16 <credits/>
17 </topic> 17 </topic>
18 <topic id="News" title="What's New"> 18 <topic id="News" title="What's New">
19 <newsfor version="1.5.1" date="August 6th, 2005">
20 <ni>Fixed uninstall procedure so that it works on XP</ni>
21 </newsfor>
19 <newsfor version="1.5" date="July 11th, 2004"> 22 <newsfor version="1.5" date="July 11th, 2004">
20 <ni>Change of license and opening the source</ni> 23 <ni>Change of license and opening the source</ni>
21 </newsfor> 24 </newsfor>
22 </topic> 25 </topic>
23 <topic id="Using" title="Using T42"> 26 <topic id="Using" title="Using T42">
24 <heading scroll="no">Using <kin>T42</kin></heading> 27 <heading scroll="no">Using <kin>T42</kin></heading>
25 <p>Once you've installed <kin>T42</kin>, run it from <i>Programs/Klever Group</i> menu. A small cup icon will appear in the notification tray area.</p> 28 <p>Once you've installed <kin>T42</kin>, run it from <i>Programs/Klever Group</i> menu. A small cup icon will appear in the notification tray area.</p>
26 <p>Left-click on the icon will get you to the <a href="#MainWindow">Main Window</a>, right-click brings up the following menu:</p> 29 <p>Left-click on the icon will get you to the <a href="#MainWindow">Main Window</a>, right-click brings up the following menu:</p>
27 <ul> 30 <ul>
28 <li><b>Order some tea</b> - Initiates talk session. This will open new <a href="#ConversationWindow">Conversation Window</a> and prompt you for request details.</li> 31 <li><b>Order some tea</b> - Initiates talk session. This will open new <a href="#ConversationWindow">Conversation Window</a> and prompt you for request details.</li>
29 <li><b>Away</b> - Toggle your away mode. It affects the way <kin>T42</kin> handles incoming calls. See <a href="#Mainwindow">Main Window</a> for details.</li> 32 <li><b>Away</b> - Toggle your away mode. It affects the way <kin>T42</kin> handles incoming calls. See <a href="#Mainwindow">Main Window</a> for details.</li>
30 <li><b>Show Main Window</b> - Toggle visibility of the <a href="#MainWindow">Main Window</a> from which you can control some of <kin>T42</kin> options and read/maintain your recorded messages.</li> 33 <li><b>Show Main Window</b> - Toggle visibility of the <a href="#MainWindow">Main Window</a> from which you can control some of <kin>T42</kin> options and read/maintain your recorded messages.</li>
diff --git a/install/install.cpp b/install/install.cpp
index 8b8c61f..35717bd 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -1,16 +1,17 @@
1#include "resource.h" 1#include "resource.h"
2#include "../shared-code/install.h" 2#include "../shared-code/install.h"
3 3
4 #defineKINAME "T42 1.5" 4#define VERSION "1.5.1"
5 #defineKINAME "T42 " VERSION
5#define SKINAME "T42" 6#define SKINAME "T42"
6 7
7BOOL Install(void) 8BOOL Install(void)
8{ 9{
9STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); 10STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path");
10STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); 11STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath");
11LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); 12LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings");
12STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); 13STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath);
13 if(!path) 14 if(!path)
14 return NULL; 15 return NULL;
15 16
16 #ifdefK_ANNED 17 #ifdefK_ANNED
@@ -52,17 +53,23 @@ FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF");
52 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe"); 53 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe");
53 INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME); 54 INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME);
54 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf"); 55 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf");
55 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".Calls"); 56 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".Calls");
56 INF_FILE_SECTION(inf,"kReg"); 57 INF_FILE_SECTION(inf,"kReg");
57 INF_UNINSTALL_REG(inf,SKINAME); 58 INF_UNINSTALL_REG(inf,SKINAME);
58 INF_FILE_SECTION(inf,"kMenu"); 59 INF_FILE_SECTION(inf,"kMenu");
59 INF_MENU_GROUP(inf,1,"Klever Group"); 60 INF_MENU_GROUP(inf,1,"Klever Group");
60 INF_MENU_ITEM(inf,1,SKINAME); 61 INF_MENU_ITEM(inf,1,SKINAME);
61 fclose(inf); 62 fclose(inf);
62 63
63 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); 64 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall");
65 REG_UNINSTALL_ICON(SKINAME,path,SKINAME ".exe",0);
66 REG_UNINSTALL_COMMENT(SKINAME,"Klever " KINAME);
67 REG_UNINSTALL_VERSION(SKINAME,VERSION);
68 REG_UNINSTALL_LOCATION(SKINAME,path);
69 REG_UNINSTALL_PUBLISHER(SKINAME,"Klever Group");
70 REG_UNINSTALL_URLS(SKINAME,"http://www.klever.net/","http://kin.klever.net/T42/");
64 71
65 MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); 72 MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK);
66 73
67 return TRUE; 74 return TRUE;
68} 75}
diff --git a/install/install.rc b/install/install.rc
index 1516122..6ff3614 100644
--- a/install/install.rc
+++ b/install/install.rc
@@ -122,49 +122,49 @@ END
122 122
123// Icon with lowest ID value placed first to ensure application icon 123// Icon with lowest ID value placed first to ensure application icon
124// remains consistent on all systems. 124// remains consistent on all systems.
125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" 125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico"
126 126
127#ifndef _MAC 127#ifndef _MAC
128///////////////////////////////////////////////////////////////////////////// 128/////////////////////////////////////////////////////////////////////////////
129// 129//
130// Version 130// Version
131// 131//
132 132
133VS_VERSION_INFO VERSIONINFO 133VS_VERSION_INFO VERSIONINFO
134 FILEVERSION 1,5,0,0 134 FILEVERSION 1,5,1,0
135 PRODUCTVERSION 1,5,0,0 135 PRODUCTVERSION 1,5,1,0
136 FILEFLAGSMASK 0x3fL 136 FILEFLAGSMASK 0x3fL
137#ifdef _DEBUG 137#ifdef _DEBUG
138 FILEFLAGS 0x1L 138 FILEFLAGS 0x1L
139#else 139#else
140 FILEFLAGS 0x0L 140 FILEFLAGS 0x0L
141#endif 141#endif
142 FILEOS 0x40004L 142 FILEOS 0x40004L
143 FILETYPE 0x1L 143 FILETYPE 0x1L
144 FILESUBTYPE 0x0L 144 FILESUBTYPE 0x0L
145BEGIN 145BEGIN
146 BLOCK "StringFileInfo" 146 BLOCK "StringFileInfo"
147 BEGIN 147 BEGIN
148 BLOCK "040904b0" 148 BLOCK "040904b0"
149 BEGIN 149 BEGIN
150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
151 VALUE "FileDescription", "INSTALL: T42, unix talk/ntalk implementation\0" 151 VALUE "FileDescription", "INSTALL: T42, unix talk/ntalk implementation\0"
152 VALUE "FileVersion", "1, 5, 0, 0\0" 152 VALUE "FileVersion", "1, 5, 1, 0\0"
153 VALUE "InternalName", "INSTALL\0" 153 VALUE "InternalName", "INSTALL\0"
154 VALUE "LegalCopyright", "Copyright © 1998-2004 Klever Group (http://www.klever.net/)\0" 154 VALUE "LegalCopyright", "Copyright © 1998-2005 Klever Group (http://www.klever.net/)\0"
155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
156 VALUE "OriginalFilename", "INSTALL.EXE\0" 156 VALUE "OriginalFilename", "INSTALL.EXE\0"
157 VALUE "ProductName", "T42\0" 157 VALUE "ProductName", "T42\0"
158 VALUE "ProductVersion", "1, 5, 0, 0\0" 158 VALUE "ProductVersion", "1, 5, 1, 0\0"
159 END 159 END
160 END 160 END
161 BLOCK "VarFileInfo" 161 BLOCK "VarFileInfo"
162 BEGIN 162 BEGIN
163 VALUE "Translation", 0x409, 1200 163 VALUE "Translation", 0x409, 1200
164 END 164 END
165END 165END
166 166
167#endif // !_MAC 167#endif // !_MAC
168 168
169#endif // English (U.S.) resources 169#endif // English (U.S.) resources
170///////////////////////////////////////////////////////////////////////////// 170/////////////////////////////////////////////////////////////////////////////