summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2004-07-11 04:24:08 (UTC)
committer Michael Krelin <hacker@klever.net>2004-07-11 04:24:08 (UTC)
commit1868461cbfcc14f02781df0f365ac8058eef5dde (patch) (unidiff)
treeb54e6c14c02f5a40ebe9d7b135638178a350bc32
parentfb8b43dbce8bc310718614384297aeaabb9a3cbb (diff)
downloadbigbrother-1868461cbfcc14f02781df0f365ac8058eef5dde.zip
bigbrother-1868461cbfcc14f02781df0f365ac8058eef5dde.tar.gz
bigbrother-1868461cbfcc14f02781df0f365ac8058eef5dde.tar.bz2
prepared for bigbrother 1.5 release1.5
git-svn-id: http://svn.klever.net/kin/bigbrother/trunk@5 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--AUTHORS3
-rw-r--r--COPYING2
-rw-r--r--README.RELEASE (renamed from README)0
-rw-r--r--bigbrother.rc6
-rw-r--r--help/bigbrother.rtf4
-rw-r--r--help/bigbrother.xml4
-rw-r--r--install/install.cpp14
-rw-r--r--install/install.rc2
8 files changed, 19 insertions, 16 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..a9fb0c7
--- a/dev/null
+++ b/AUTHORS
@@ -0,0 +1,3 @@
1Klever dissected:
2 Michael 'hacker' Krelin <hacker@klever.net>
3 Leonid Ivanov <kamel@klever.net>
diff --git a/COPYING b/COPYING
index d3b2450..427b0ba 100644
--- a/COPYING
+++ b/COPYING
@@ -1,19 +1,19 @@
1Copyright (c) 1996, 2002 Klever Group (http://www.klever.net/) 1Copyright (c) 1996-2004 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
14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 16AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 17LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 18OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19SOFTWARE. 19SOFTWARE.
diff --git a/README b/README.RELEASE
index 114afa5..114afa5 100644
--- a/README
+++ b/README.RELEASE
diff --git a/bigbrother.rc b/bigbrother.rc
index 787af72..e4c335f 100644
--- a/bigbrother.rc
+++ b/bigbrother.rc
@@ -218,49 +218,49 @@ BEGIN
218 "P", ID_FILE_PRINT, VIRTKEY, CONTROL, NOINVERT 218 "P", ID_FILE_PRINT, VIRTKEY, CONTROL, NOINVERT
219 "V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT 219 "V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
220 VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT, NOINVERT 220 VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT, NOINVERT
221 VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT, NOINVERT 221 VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT, NOINVERT
222 VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT 222 VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
223 VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT, NOINVERT 223 VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT, NOINVERT
224 "X", ID_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT 224 "X", ID_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT
225 "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL, NOINVERT 225 "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL, NOINVERT
226END 226END
227 227
228 228
229///////////////////////////////////////////////////////////////////////////// 229/////////////////////////////////////////////////////////////////////////////
230// 230//
231// Dialog 231// Dialog
232// 232//
233 233
234IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 234IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74
235STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 235STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
236CAPTION "About Big Brother" 236CAPTION "About Big Brother"
237FONT 8, "MS Sans Serif" 237FONT 8, "MS Sans Serif"
238BEGIN 238BEGIN
239 ICON IDR_MAINFRAME,IDC_STATIC,13,16,18,20 239 ICON IDR_MAINFRAME,IDC_STATIC,13,16,18,20
240 LTEXT "Big Brother, Version 1.5",IDC_STATIC,48,16,119,8, 240 LTEXT "Big Brother, Version 1.5",IDC_STATIC,48,16,119,8,
241 SS_NOPREFIX 241 SS_NOPREFIX
242 LTEXT "Copyright © 1996,2002 Klever Group",IDC_STATIC,48,31,119,8 242 LTEXT "Copyright © 1996-2004 Klever Group",IDC_STATIC,48,31,119,8
243 DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP 243 DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
244 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,65,53,86,14 244 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,65,53,86,14
245END 245END
246 246
247IDD_PROPS_SETTINGS DIALOG DISCARDABLE 0, 0, 220, 90 247IDD_PROPS_SETTINGS DIALOG DISCARDABLE 0, 0, 220, 90
248STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION 248STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION
249CAPTION "Settings" 249CAPTION "Settings"
250FONT 8, "MS Sans Serif" 250FONT 8, "MS Sans Serif"
251BEGIN 251BEGIN
252 GROUPBOX "",IDC_STATIC,7,7,206,45,BS_NOTIFY 252 GROUPBOX "",IDC_STATIC,7,7,206,45,BS_NOTIFY
253 CONTROL "Ping &Intervals",IDC_OVERRIDE_INTERVALS,"Button", 253 CONTROL "Ping &Intervals",IDC_OVERRIDE_INTERVALS,"Button",
254 BS_AUTOCHECKBOX | WS_TABSTOP,14,7,55,10 254 BS_AUTOCHECKBOX | WS_TABSTOP,14,7,55,10
255 LTEXT "When the host is known as reach&able:",IDC_STATIC,14,18, 255 LTEXT "When the host is known as reach&able:",IDC_STATIC,14,18,
256 122,8 256 122,8
257 EDITTEXT IDC_PINGINTERVAL_GOOD,165,16,40,13,ES_AUTOHSCROLL 257 EDITTEXT IDC_PINGINTERVAL_GOOD,165,16,40,13,ES_AUTOHSCROLL
258 LTEXT "When the host is known as &unreachable:",IDC_STATIC,14, 258 LTEXT "When the host is known as &unreachable:",IDC_STATIC,14,
259 32,130,8 259 32,130,8
260 EDITTEXT IDC_PINGINTERVAL_BAD,165,30,40,13,ES_AUTOHSCROLL 260 EDITTEXT IDC_PINGINTERVAL_BAD,165,30,40,13,ES_AUTOHSCROLL
261 CONTROL "Maximum ping reply &timeout:",IDC_OVERRIDE_TIMEOUT, 261 CONTROL "Maximum ping reply &timeout:",IDC_OVERRIDE_TIMEOUT,
262 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,56,104,10 262 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,56,104,10
263 EDITTEXT IDC_PINGTIMEOUT,165,55,40,13,ES_AUTOHSCROLL 263 EDITTEXT IDC_PINGTIMEOUT,165,55,40,13,ES_AUTOHSCROLL
264 CONTROL "Maimum &retries count:",IDC_OVERRIDE_RETRIES,"Button", 264 CONTROL "Maimum &retries count:",IDC_OVERRIDE_RETRIES,"Button",
265 BS_AUTOCHECKBOX | WS_TABSTOP,14,70,85,10 265 BS_AUTOCHECKBOX | WS_TABSTOP,14,70,85,10
266 EDITTEXT IDC_RETRIES,165,70,40,13,ES_AUTOHSCROLL 266 EDITTEXT IDC_RETRIES,165,70,40,13,ES_AUTOHSCROLL
@@ -367,49 +367,49 @@ END
367// Version 367// Version
368// 368//
369 369
370VS_VERSION_INFO VERSIONINFO 370VS_VERSION_INFO VERSIONINFO
371 FILEVERSION 1,5,0,0 371 FILEVERSION 1,5,0,0
372 PRODUCTVERSION 1,5,0,0 372 PRODUCTVERSION 1,5,0,0
373 FILEFLAGSMASK 0x3fL 373 FILEFLAGSMASK 0x3fL
374#ifdef _DEBUG 374#ifdef _DEBUG
375 FILEFLAGS 0x1L 375 FILEFLAGS 0x1L
376#else 376#else
377 FILEFLAGS 0x0L 377 FILEFLAGS 0x0L
378#endif 378#endif
379 FILEOS 0x4L 379 FILEOS 0x4L
380 FILETYPE 0x1L 380 FILETYPE 0x1L
381 FILESUBTYPE 0x0L 381 FILESUBTYPE 0x0L
382BEGIN 382BEGIN
383 BLOCK "StringFileInfo" 383 BLOCK "StringFileInfo"
384 BEGIN 384 BEGIN
385 BLOCK "040904b0" 385 BLOCK "040904b0"
386 BEGIN 386 BEGIN
387 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 387 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
388 VALUE "FileDescription", "Big Brother, network monitoring tool\0" 388 VALUE "FileDescription", "Big Brother, network monitoring tool\0"
389 VALUE "FileVersion", "1, 5, 0, 0\0" 389 VALUE "FileVersion", "1, 5, 0, 0\0"
390 VALUE "InternalName", "BIGBROTHER\0" 390 VALUE "InternalName", "BIGBROTHER\0"
391 VALUE "LegalCopyright", "Copyright © 1996, 2002 Klever Group (http://www.klever.net/)\0" 391 VALUE "LegalCopyright", "Copyright © 1996-2004 Klever Group (http://www.klever.net/)\0"
392 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 392 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
393 VALUE "OriginalFilename", "BIGBRO.EXE\0" 393 VALUE "OriginalFilename", "BIGBRO.EXE\0"
394 VALUE "ProductName", "Big Brother\0" 394 VALUE "ProductName", "Big Brother\0"
395 VALUE "ProductVersion", "1, 5, 0, 0\0" 395 VALUE "ProductVersion", "1, 5, 0, 0\0"
396 END 396 END
397 END 397 END
398 BLOCK "VarFileInfo" 398 BLOCK "VarFileInfo"
399 BEGIN 399 BEGIN
400 VALUE "Translation", 0x409, 1200 400 VALUE "Translation", 0x409, 1200
401 END 401 END
402END 402END
403 403
404#endif // !_MAC 404#endif // !_MAC
405 405
406 406
407///////////////////////////////////////////////////////////////////////////// 407/////////////////////////////////////////////////////////////////////////////
408// 408//
409// DESIGNINFO 409// DESIGNINFO
410// 410//
411 411
412#ifdef APSTUDIO_INVOKED 412#ifdef APSTUDIO_INVOKED
413GUIDELINES DESIGNINFO DISCARDABLE 413GUIDELINES DESIGNINFO DISCARDABLE
414BEGIN 414BEGIN
415 IDD_ABOUTBOX, DIALOG 415 IDD_ABOUTBOX, DIALOG
@@ -501,49 +501,49 @@ IDR_PINGBAR AVI DISCARDABLE "res\\3angle.avi"
501IDW_HOST_UP WAVE DISCARDABLE "res\\host-up.wav" 501IDW_HOST_UP WAVE DISCARDABLE "res\\host-up.wav"
502IDW_HOST_DOWN WAVE DISCARDABLE "res\\host-down.wav" 502IDW_HOST_DOWN WAVE DISCARDABLE "res\\host-down.wav"
503 503
504///////////////////////////////////////////////////////////////////////////// 504/////////////////////////////////////////////////////////////////////////////
505// 505//
506// String Table 506// String Table
507// 507//
508 508
509STRINGTABLE DISCARDABLE 509STRINGTABLE DISCARDABLE
510BEGIN 510BEGIN
511 IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." 511 IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
512 IDS_PROPS_TITLE "Properties" 512 IDS_PROPS_TITLE "Properties"
513 IDS_LOG_DOLOG "&Log host activity" 513 IDS_LOG_DOLOG "&Log host activity"
514 IDS_LOG_DONTLOG "Don't &Log host activity" 514 IDS_LOG_DONTLOG "Don't &Log host activity"
515 IDS_LOG_ASKBIGBROTHER "&Log if parent does" 515 IDS_LOG_ASKBIGBROTHER "&Log if parent does"
516 IDS_NODESC "..no description.." 516 IDS_NODESC "..no description.."
517 IDS_PS_FAILEDTORESOLVE "Failed to resolve host" 517 IDS_PS_FAILEDTORESOLVE "Failed to resolve host"
518 IDS_PS_UNABLETOICMP "Failed to request ICMP service" 518 IDS_PS_UNABLETOICMP "Failed to request ICMP service"
519END 519END
520 520
521STRINGTABLE PRELOAD DISCARDABLE 521STRINGTABLE PRELOAD DISCARDABLE
522BEGIN 522BEGIN
523 IDR_MAINFRAME "Big Brother\n\nBigBro\nBig Brother Files (*.bro)\n.BRO\nBigBrother.Document\nBigBro Document" 523 IDR_MAINFRAME "Big Brother\n\nBigBro\nBig Brother Files (*.bro)\n.BRO\nBigBrother.Document\nBigBro Document"
524 IDS_PS_UNKNOWNERROR "Unkown error %lu" 524 IDS_PS_UNKNOWNERROR "Unkown error %lu"
525 IDS_REGISTRYKEY "Klever Group, Inc." 525 IDS_REGISTRYKEY "Klever Group"
526 IDS_AVIEW_NOTIP "Host(s) activity" 526 IDS_AVIEW_NOTIP "Host(s) activity"
527 IDS_AVIEW_SHORTTIP "%s (%s)" 527 IDS_AVIEW_SHORTTIP "%s (%s)"
528 IDS_AVIEW_TIP_TIMEFORMAT "%c" 528 IDS_AVIEW_TIP_TIMEFORMAT "%c"
529 IDS_AVIEW_TIP_UNPINGED "no timing information" 529 IDS_AVIEW_TIP_UNPINGED "no timing information"
530 IDS_AVIEW_TIP_UNREACHABLE "not reached" 530 IDS_AVIEW_TIP_UNREACHABLE "not reached"
531 IDS_AVIEW_TIP_RTTREPORT "RTT = %lu" 531 IDS_AVIEW_TIP_RTTREPORT "RTT = %lu"
532 IDS_ROOTNODENAME "Global Settings" 532 IDS_ROOTNODENAME "Global Settings"
533 IDS_WAVFILTER "Wave files (*.wav)|*.wav|All files (*.*)|*.*|" 533 IDS_WAVFILTER "Wave files (*.wav)|*.wav|All files (*.*)|*.*|"
534 IDS_ACTION_HOST_UP "(host-up)" 534 IDS_ACTION_HOST_UP "(host-up)"
535 IDS_ACTION_HOST_DOWN "(host-down)" 535 IDS_ACTION_HOST_DOWN "(host-down)"
536 IDS_LOGFILTER "Log files (*.log)|*.log|All files (*.*)|*.*|" 536 IDS_LOGFILTER "Log files (*.log)|*.log|All files (*.*)|*.*|"
537 IDS_LOG_HOSTUP "%s (%s) has changed state to up" 537 IDS_LOG_HOSTUP "%s (%s) has changed state to up"
538 IDS_LOG_HOSTDOWN "%s (%s) has changed state to down" 538 IDS_LOG_HOSTDOWN "%s (%s) has changed state to down"
539END 539END
540 540
541STRINGTABLE PRELOAD DISCARDABLE 541STRINGTABLE PRELOAD DISCARDABLE
542BEGIN 542BEGIN
543 AFX_IDS_APP_TITLE "BigBrother" 543 AFX_IDS_APP_TITLE "BigBrother"
544 AFX_IDS_IDLEMESSAGE "For Help, press F1" 544 AFX_IDS_IDLEMESSAGE "For Help, press F1"
545 AFX_IDS_HELPMODEMESSAGE "Select an object on which to get Help" 545 AFX_IDS_HELPMODEMESSAGE "Select an object on which to get Help"
546END 546END
547 547
548STRINGTABLE DISCARDABLE 548STRINGTABLE DISCARDABLE
549BEGIN 549BEGIN
diff --git a/help/bigbrother.rtf b/help/bigbrother.rtf
index eb128ac..e16c646 100644
--- a/help/bigbrother.rtf
+++ b/help/bigbrother.rtf
@@ -3,61 +3,61 @@
3THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT. 3THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT.
4DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD 4DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD
5} 5}
6{\fonttbl{\f0\froman Times New Roman;}{\f1\fswiss Arial;}{\f3\froman Symbol;}}{\colortbl; 6{\fonttbl{\f0\froman Times New Roman;}{\f1\fswiss Arial;}{\f3\froman Symbol;}}{\colortbl;
7 \red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0; 7 \red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;
8 \red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255; 8 \red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;
9 \red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128; 9 \red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;
10 \red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;} 10 \red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}
11 11
12\pard\plain\keepn 12\pard\plain\keepn
13#{\footnote About} 13#{\footnote About}
14${\footnote About Big Brother} 14${\footnote About Big Brother}
15K{\footnote about} 15K{\footnote about}
16{ \f1\fs18\b\sb120 About {\b Big Brother}} 16{ \f1\fs18\b\sb120 About {\b Big Brother}}
17\par\sa120\sb120\qr\f1\fs16 dedicated to Kundel 17\par\sa120\sb120\qr\f1\fs16 dedicated to Kundel
18\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b Big Brother} is a program designed to monitor your IP-network activities. it gives you a comprehensive picture of what happened to any point on the Net that you put in. Just {\uldb add}{\v Add} this point by specifying it's IP address or hostname and optional short description (for your information only). 18\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b Big Brother} is a program designed to monitor your IP-network activities. it gives you a comprehensive picture of what happened to any point on the Net that you put in. Just {\uldb add}{\v Add} this point by specifying it's IP address or hostname and optional short description (for your information only).
19\par\sa120\sb120\qj\pard \f1\fs18\sb120 The hosts are organized into a hierarchical tree so that you may configure your network picture according to your needs and imagination. Most of the father host properties are inherited by his children unless you wish to specify child's settings explicitly. 19\par\sa120\sb120\qj\pard \f1\fs18\sb120 The hosts are organized into a hierarchical tree so that you may configure your network picture according to your needs and imagination. Most of the father host properties are inherited by his children unless you wish to specify child's settings explicitly.
20\par\sa120\sb120\qj\pard \f1\fs18\sb120 Every specified period of time {\b Big Brother} will send echo request to every host. And wait for response for at most specified {\uldb timeout}{\v timeOutHIDD_PROPS_SETTINGS}. 20\par\sa120\sb120\qj\pard \f1\fs18\sb120 Every specified period of time {\b Big Brother} will send echo request to every host. And wait for response for at most specified {\uldb timeout}{\v timeOutHIDD_PROPS_SETTINGS}.
21\par\sa120\sb120\qj\pard \f1\fs18\sb120 Results are presented in a graphical form in the lower pane. Each line of the lower window is related to specific host which is shown on the tooltip when you move your mouse over the graphics. Host activities are also {\uldb logged into file}{\v fileHIDD_PREFS}. 21\par\sa120\sb120\qj\pard \f1\fs18\sb120 Results are presented in a graphical form in the lower pane. Each line of the lower window is related to specific host which is shown on the tooltip when you move your mouse over the graphics. Host activities are also {\uldb logged into file}{\v fileHIDD_PREFS}.
22\par\sa120\sb120\qj\pard \f1\fs18\sb120 Your current {\uldb preferences}{\v HIDD_PREFS} and network tree are automatically saved on Windows shutdown (unless specified otherwise) and may be {\uldb autosaved}{\v autosaveHIDD_PREFS} every specified amount of minutes. Most recently used {\uldb file}{\v MRUFile} is {\uldb automatically loaded}{\v HID_FILE_AUTOLOAD} at {\b Big Brother}'s startup unless you don't want it. 22\par\sa120\sb120\qj\pard \f1\fs18\sb120 Your current {\uldb preferences}{\v HIDD_PREFS} and network tree are automatically saved on Windows shutdown (unless specified otherwise) and may be {\uldb autosaved}{\v autosaveHIDD_PREFS} every specified amount of minutes. Most recently used {\uldb file}{\v MRUFile} is {\uldb automatically loaded}{\v HID_FILE_AUTOLOAD} at {\b Big Brother}'s startup unless you don't want it.
23\par\sa120\sb120\qj\pard \f1\fs18\sb120 You can also hide {\b Big Brother} into your notify tray so that it won't occupy more than 16x16 square of your precious windows' desktop. Just click \{bmct bbullet.bmp\} in your notify tray or select {\uldb View/Main Window}{\v HID_VIEW_MAINWINDOW} from menu. Click \{bmct bbullet.bmp\} again to restore {\b Big Brother} to its full size. 23\par\sa120\sb120\qj\pard \f1\fs18\sb120 You can also hide {\b Big Brother} into your notify tray so that it won't occupy more than 16x16 square of your precious windows' desktop. Just click \{bmct bbullet.bmp\} in your notify tray or select {\uldb View/Main Window}{\v HID_VIEW_MAINWINDOW} from menu. Click \{bmct bbullet.bmp\} again to restore {\b Big Brother} to its full size.
24\par\sa120\sb120\qj\pard \f1\fs18\sb120 24\par\sa120\sb120\qj\pard \f1\fs18\sb120
25\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}} 25\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}}
26{ 26{
27\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1996, 2002 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")} 27\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1996-2004 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")}
28\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: 28\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:
29\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 29\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
30\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. 30\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.
31} 31}
32\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")} 32\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")}
33\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")} 33\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")}
34\page 34\page
35 35
36\pard\plain 36\pard\plain
37#{\footnote News} 37#{\footnote News}
38${\footnote What's New} 38${\footnote What's New}
39\par\pard\plain\f1\fs24\qc\cf2\b 1.5 - August 19th, 2002 39\par\pard\plain\f1\fs24\qc\cf2\b 1.5 - July 11th, 2004
40\par\pard\plain\fi0\li0\f1\fs18 \bullet License change and opening the source code 40\par\pard\plain\fi0\li0\f1\fs18 \bullet License change and opening the source code
41\par\pard\plain\fi0\li0\f1\fs18 \bullet Made it work with Win2k and friends 41\par\pard\plain\fi0\li0\f1\fs18 \bullet Made it work with Win2k and friends
42\par\pard\plain\fi0\li0\f1\fs18 \bullet Added kinwide installer 42\par\pard\plain\fi0\li0\f1\fs18 \bullet Added kinwide installer
43\page 43\page
44 44
45\pard\plain\keepn 45\pard\plain\keepn
46#{\footnote Using} 46#{\footnote Using}
47${\footnote Using Big Brother} 47${\footnote Using Big Brother}
48{ \f1\fs18\b\sb120 Using {\b Big Brother}} 48{ \f1\fs18\b\sb120 Using {\b Big Brother}}
49\par\sa120\sb120\qj\pard \f1\fs18\sb120 Using {\b Big Brother} consists of two parts - designing your network tree and monitoring it's activity. The latter takes no effort of yours. 49\par\sa120\sb120\qj\pard \f1\fs18\sb120 Using {\b Big Brother} consists of two parts - designing your network tree and monitoring it's activity. The latter takes no effort of yours.
50\par\sa120\sb120\qj\pard \f1\fs18\sb120 To design the network layout is to put your hosts into Network Tree pane. To {\uldb add a child host}{\v HID_BROTHERS_NEW} to the current just press insert or Select Brothers/Add child from menu. To {\uldb add a brother}{\v HID_BROTHERS_ADDBROTHER} of the current host select Brothers/Add brother from menu. (note: You can't add brother to the root node) 50\par\sa120\sb120\qj\pard \f1\fs18\sb120 To design the network layout is to put your hosts into Network Tree pane. To {\uldb add a child host}{\v HID_BROTHERS_NEW} to the current just press insert or Select Brothers/Add child from menu. To {\uldb add a brother}{\v HID_BROTHERS_ADDBROTHER} of the current host select Brothers/Add brother from menu. (note: You can't add brother to the root node)
51\par\sa120\sb120\qj\pard \f1\fs18\sb120 You may also show {\uldb properties}{\v HostProps} dialog box by selecting View/Host Properties menu. {\uldb Properties}{\v HostProps} dialog box also pops up automatically whenever you press {\b Enter} in the tree view pane. 51\par\sa120\sb120\qj\pard \f1\fs18\sb120 You may also show {\uldb properties}{\v HostProps} dialog box by selecting View/Host Properties menu. {\uldb Properties}{\v HostProps} dialog box also pops up automatically whenever you press {\b Enter} in the tree view pane.
52\par\sa120\sb120\qj\pard \f1\fs18\sb120 Monitoring your network activities is even easier. You just relax and watch the screen (or listen to your speakers if you have ones). Network activities are reflected using the lower host activity pane and icons in the tree view. The possible states of the host are:\pard 52\par\sa120\sb120\qj\pard \f1\fs18\sb120 Monitoring your network activities is even easier. You just relax and watch the screen (or listen to your speakers if you have ones). Network activities are reflected using the lower host activity pane and icons in the tree view. The possible states of the host are:\pard
53\par \fi0\li0 \bullet \{bmct IDI_NOHOST.bmp\}{\b Network} - you haven't specified host name or ip address for this host. The only reason that makes sense is that you probably want to use this node as a father for family of hosts. 53\par \fi0\li0 \bullet \{bmct IDI_NOHOST.bmp\}{\b Network} - you haven't specified host name or ip address for this host. The only reason that makes sense is that you probably want to use this node as a father for family of hosts.
54\par \fi0\li0 \bullet \{bmct IDI_PINGING.bmp\}{\b In progress} - checking of this host is in progress. 54\par \fi0\li0 \bullet \{bmct IDI_PINGING.bmp\}{\b In progress} - checking of this host is in progress.
55\par \fi0\li0 \bullet \{bmct IDI_HOST.bmp\}{\b Reachable host} - this host is reachable and you have no reason to worry about it. 55\par \fi0\li0 \bullet \{bmct IDI_HOST.bmp\}{\b Reachable host} - this host is reachable and you have no reason to worry about it.
56\par \fi0\li0 \bullet \{bmct IDI_GOINGDOWN.bmp\}{\b Worrisome host} - this host was reported as unreachable, but less than for specified {\uldb retries}{\v HIDD_PROPS_SETTINGS} times. 56\par \fi0\li0 \bullet \{bmct IDI_GOINGDOWN.bmp\}{\b Worrisome host} - this host was reported as unreachable, but less than for specified {\uldb retries}{\v HIDD_PROPS_SETTINGS} times.
57\par \fi0\li0 \bullet \{bmct IDI_HOSTDOWN.bmp\}{\b Unreachable host} - this host is known as unreachable for a long time. Whenever the host enters or leaves this state specified {\uldb actions}{\v HIDD_PROPS_ACTION} are taken.\pard 57\par \fi0\li0 \bullet \{bmct IDI_HOSTDOWN.bmp\}{\b Unreachable host} - this host is known as unreachable for a long time. Whenever the host enters or leaves this state specified {\uldb actions}{\v HIDD_PROPS_ACTION} are taken.\pard
58\par\sa120\sb120\qj\pard \f1\fs18\sb120 Lower pane shows a histogram of response times for a {\uldb specified}{\v logLengthHIDD_PREFS} amount of time. Histograms are shown for current host and it's descendants. Hidden (collapsed) children are not shown in activity pane. When you move your mouse over histogram tooltip shows the host name and host address for the corresponding host. If you also hold left mouse button or Ctrl key it will also show you the time corresponding to the point you point at. If you hold Shift key it will also show the Round Trip Time. 58\par\sa120\sb120\qj\pard \f1\fs18\sb120 Lower pane shows a histogram of response times for a {\uldb specified}{\v logLengthHIDD_PREFS} amount of time. Histograms are shown for current host and it's descendants. Hidden (collapsed) children are not shown in activity pane. When you move your mouse over histogram tooltip shows the host name and host address for the corresponding host. If you also hold left mouse button or Ctrl key it will also show you the time corresponding to the point you point at. If you hold Shift key it will also show the Round Trip Time.
59\par\sa120\sb120\qj\pard \f1\fs18\sb120 Histogram shows the Round Trip Time in the following colours:\pard 59\par\sa120\sb120\qj\pard \f1\fs18\sb120 Histogram shows the Round Trip Time in the following colours:\pard
60\par \fi0\li0 \bullet \{bmct green.bmp\} Host's response time is less than 1/3 of the {\uldb specified}{\v timeOutHIDD_PROPS_SETTINGS} timeout. 60\par \fi0\li0 \bullet \{bmct green.bmp\} Host's response time is less than 1/3 of the {\uldb specified}{\v timeOutHIDD_PROPS_SETTINGS} timeout.
61\par \fi0\li0 \bullet \{bmct yellow.bmp\} Host's response time is more than 1/3, but less then 2/3 of the {\uldb specified}{\v timeOutHIDD_PROPS_SETTINGS} timeout. 61\par \fi0\li0 \bullet \{bmct yellow.bmp\} Host's response time is more than 1/3, but less then 2/3 of the {\uldb specified}{\v timeOutHIDD_PROPS_SETTINGS} timeout.
62\par \fi0\li0 \bullet \{bmct red.bmp\} Host's response time is more than 2/3 of the {\uldb specified}{\v timeOutHIDD_PROPS_SETTINGS} timeout.\pard 62\par \fi0\li0 \bullet \{bmct red.bmp\} Host's response time is more than 2/3 of the {\uldb specified}{\v timeOutHIDD_PROPS_SETTINGS} timeout.\pard
63\page 63\page
diff --git a/help/bigbrother.xml b/help/bigbrother.xml
index d83ae43..ec391ee 100644
--- a/help/bigbrother.xml
+++ b/help/bigbrother.xml
@@ -1,42 +1,42 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<winhelp> 2<winhelp>
3 <topic id="About" title="About Big Brother" keywords="about"> 3 <topic id="About" title="About Big Brother" keywords="about">
4 <heading scroll="no">About <kin>Big Brother</kin></heading> 4 <heading scroll="no">About <kin>Big Brother</kin></heading>
5 <dedication>dedicated to Kundel</dedication> 5 <dedication>dedicated to Kundel</dedication>
6 <p><kin>Big Brother</kin> is a program designed to monitor your IP-network activities. it gives you a comprehensive picture of what happened to any point on the Net that you put in. Just <a href="#Add">add</a> this point by specifying it's IP address or hostname and optional short description (for your information only).</p> 6 <p><kin>Big Brother</kin> is a program designed to monitor your IP-network activities. it gives you a comprehensive picture of what happened to any point on the Net that you put in. Just <a href="#Add">add</a> this point by specifying it's IP address or hostname and optional short description (for your information only).</p>
7 <p>The hosts are organized into a hierarchical tree so that you may configure your network picture according to your needs and imagination. Most of the father host properties are inherited by his children unless you wish to specify child's settings explicitly.</p> 7 <p>The hosts are organized into a hierarchical tree so that you may configure your network picture according to your needs and imagination. Most of the father host properties are inherited by his children unless you wish to specify child's settings explicitly.</p>
8 <p>Every specified period of time <kin>Big Brother</kin> will send echo request to every host. And wait for response for at most specified <a href="#timeOutHIDD_PROPS_SETTINGS">timeout</a>.</p> 8 <p>Every specified period of time <kin>Big Brother</kin> will send echo request to every host. And wait for response for at most specified <a href="#timeOutHIDD_PROPS_SETTINGS">timeout</a>.</p>
9 <p>Results are presented in a graphical form in the lower pane. Each line of the lower window is related to specific host which is shown on the tooltip when you move your mouse over the graphics. Host activities are also <a href="#fileHIDD_PREFS">logged into file</a>.</p> 9 <p>Results are presented in a graphical form in the lower pane. Each line of the lower window is related to specific host which is shown on the tooltip when you move your mouse over the graphics. Host activities are also <a href="#fileHIDD_PREFS">logged into file</a>.</p>
10 <p>Your current <a href="#HIDD_PREFS">preferences</a> and network tree are automatically saved on Windows shutdown (unless specified otherwise) and may be <a href="#autosaveHIDD_PREFS">autosaved</a> every specified amount of minutes. Most recently used <a href="#MRUFile">file</a> is <a href="#HID_FILE_AUTOLOAD">automatically loaded</a> at <kin>Big Brother</kin>'s startup unless you don't want it.</p> 10 <p>Your current <a href="#HIDD_PREFS">preferences</a> and network tree are automatically saved on Windows shutdown (unless specified otherwise) and may be <a href="#autosaveHIDD_PREFS">autosaved</a> every specified amount of minutes. Most recently used <a href="#MRUFile">file</a> is <a href="#HID_FILE_AUTOLOAD">automatically loaded</a> at <kin>Big Brother</kin>'s startup unless you don't want it.</p>
11 <p>You can also hide <kin>Big Brother</kin> into your notify tray so that it won't occupy more than 16x16 square of your precious windows' desktop. Just click <image source="bbullet.bmp"/> in your notify tray or select <a href="#HID_VIEW_MAINWINDOW">View/Main Window</a> from menu. Click <image source="bbullet.bmp"/> again to restore <kin>Big Brother</kin> to its full size.</p> 11 <p>You can also hide <kin>Big Brother</kin> into your notify tray so that it won't occupy more than 16x16 square of your precious windows' desktop. Just click <image source="bbullet.bmp"/> in your notify tray or select <a href="#HID_VIEW_MAINWINDOW">View/Main Window</a> from menu. Click <image source="bbullet.bmp"/> again to restore <kin>Big Brother</kin> to its full size.</p>
12 <p/> 12 <p/>
13 <p><b><i>Enjoy!</i></b></p> 13 <p><b><i>Enjoy!</i></b></p>
14 <license years="1996, 2002"/> 14 <license years="1996-2004"/>
15 <credits/> 15 <credits/>
16 </topic> 16 </topic>
17 <topic id="News" title="What's New"> 17 <topic id="News" title="What's New">
18 <newsfor version="1.5" date="August 19th, 2002"> 18 <newsfor version="1.5" date="July 11th, 2004">
19 <ni>License change and opening the source code</ni> 19 <ni>License change and opening the source code</ni>
20 <ni>Made it work with Win2k and friends</ni> 20 <ni>Made it work with Win2k and friends</ni>
21 <ni>Added kinwide installer</ni> 21 <ni>Added kinwide installer</ni>
22 </newsfor> 22 </newsfor>
23 </topic> 23 </topic>
24 <topic id="Using" title="Using Big Brother"> 24 <topic id="Using" title="Using Big Brother">
25 <heading scroll="no">Using <kin>Big Brother</kin></heading> 25 <heading scroll="no">Using <kin>Big Brother</kin></heading>
26 <p>Using <kin>Big Brother</kin> consists of two parts - designing your network tree and monitoring it's activity. The latter takes no effort of yours.</p> 26 <p>Using <kin>Big Brother</kin> consists of two parts - designing your network tree and monitoring it's activity. The latter takes no effort of yours.</p>
27 <p>To design the network layout is to put your hosts into Network Tree pane. To <a href="#HID_BROTHERS_NEW">add a child host</a> to the current just press insert or Select Brothers/Add child from menu. To <a href="#HID_BROTHERS_ADDBROTHER">add a brother</a> of the current host select Brothers/Add brother from menu. (note: You can't add brother to the root node)</p> 27 <p>To design the network layout is to put your hosts into Network Tree pane. To <a href="#HID_BROTHERS_NEW">add a child host</a> to the current just press insert or Select Brothers/Add child from menu. To <a href="#HID_BROTHERS_ADDBROTHER">add a brother</a> of the current host select Brothers/Add brother from menu. (note: You can't add brother to the root node)</p>
28 <p>You may also show <a href="#HostProps">properties</a> dialog box by selecting View/Host Properties menu. <a href="#HostProps">Properties</a> dialog box also pops up automatically whenever you press <b>Enter</b> in the tree view pane.</p> 28 <p>You may also show <a href="#HostProps">properties</a> dialog box by selecting View/Host Properties menu. <a href="#HostProps">Properties</a> dialog box also pops up automatically whenever you press <b>Enter</b> in the tree view pane.</p>
29 <p>Monitoring your network activities is even easier. You just relax and watch the screen (or listen to your speakers if you have ones). Network activities are reflected using the lower host activity pane and icons in the tree view. The possible states of the host are:</p> 29 <p>Monitoring your network activities is even easier. You just relax and watch the screen (or listen to your speakers if you have ones). Network activities are reflected using the lower host activity pane and icons in the tree view. The possible states of the host are:</p>
30 <ul> 30 <ul>
31 <li><image source="IDI_NOHOST.bmp"/> <b>Network</b> - you haven't specified host name or ip address for this host. The only reason that makes sense is that you probably want to use this node as a father for family of hosts.</li> 31 <li><image source="IDI_NOHOST.bmp"/> <b>Network</b> - you haven't specified host name or ip address for this host. The only reason that makes sense is that you probably want to use this node as a father for family of hosts.</li>
32 <li><image source="IDI_PINGING.bmp"/> <b>In progress</b> - checking of this host is in progress.</li> 32 <li><image source="IDI_PINGING.bmp"/> <b>In progress</b> - checking of this host is in progress.</li>
33 <li><image source="IDI_HOST.bmp"/> <b>Reachable host</b> - this host is reachable and you have no reason to worry about it.</li> 33 <li><image source="IDI_HOST.bmp"/> <b>Reachable host</b> - this host is reachable and you have no reason to worry about it.</li>
34 <li><image source="IDI_GOINGDOWN.bmp"/> <b>Worrisome host</b> - this host was reported as unreachable, but less than for specified <a href="#HIDD_PROPS_SETTINGS">retries</a> times.</li> 34 <li><image source="IDI_GOINGDOWN.bmp"/> <b>Worrisome host</b> - this host was reported as unreachable, but less than for specified <a href="#HIDD_PROPS_SETTINGS">retries</a> times.</li>
35 <li><image source="IDI_HOSTDOWN.bmp"/> <b>Unreachable host</b> - this host is known as unreachable for a long time. Whenever the host enters or leaves this state specified <a href="#HIDD_PROPS_ACTION">actions</a> are taken.</li> 35 <li><image source="IDI_HOSTDOWN.bmp"/> <b>Unreachable host</b> - this host is known as unreachable for a long time. Whenever the host enters or leaves this state specified <a href="#HIDD_PROPS_ACTION">actions</a> are taken.</li>
36 </ul> 36 </ul>
37 <p>Lower pane shows a histogram of response times for a <a href="#logLengthHIDD_PREFS">specified</a> amount of time. Histograms are shown for current host and it's descendants. Hidden (collapsed) children are not shown in activity pane. When you move your mouse over histogram tooltip shows the host name and host address for the corresponding host. If you also hold left mouse button or Ctrl key it will also show you the time corresponding to the point you point at. If you hold Shift key it will also show the Round Trip Time.</p> 37 <p>Lower pane shows a histogram of response times for a <a href="#logLengthHIDD_PREFS">specified</a> amount of time. Histograms are shown for current host and it's descendants. Hidden (collapsed) children are not shown in activity pane. When you move your mouse over histogram tooltip shows the host name and host address for the corresponding host. If you also hold left mouse button or Ctrl key it will also show you the time corresponding to the point you point at. If you hold Shift key it will also show the Round Trip Time.</p>
38 <p>Histogram shows the Round Trip Time in the following colours:</p> 38 <p>Histogram shows the Round Trip Time in the following colours:</p>
39 <ul> 39 <ul>
40 <li><image source="green.bmp"/> Host's response time is less than 1/3 of the <a href="#timeOutHIDD_PROPS_SETTINGS">specified</a> timeout.</li> 40 <li><image source="green.bmp"/> Host's response time is less than 1/3 of the <a href="#timeOutHIDD_PROPS_SETTINGS">specified</a> timeout.</li>
41 <li><image source="yellow.bmp"/> Host's response time is more than 1/3, but less then 2/3 of the <a href="#timeOutHIDD_PROPS_SETTINGS">specified</a> timeout.</li> 41 <li><image source="yellow.bmp"/> Host's response time is more than 1/3, but less then 2/3 of the <a href="#timeOutHIDD_PROPS_SETTINGS">specified</a> timeout.</li>
42 <li><image source="red.bmp"/> Host's response time is more than 2/3 of the <a href="#timeOutHIDD_PROPS_SETTINGS">specified</a> timeout.</li> 42 <li><image source="red.bmp"/> Host's response time is more than 2/3 of the <a href="#timeOutHIDD_PROPS_SETTINGS">specified</a> timeout.</li>
diff --git a/install/install.cpp b/install/install.cpp
index 0ab8fa9..12b20f7 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -1,68 +1,68 @@
1#include "resource.h" 1#include "resource.h"
2#include "../shared-code/install.h" 2#include "../shared-code/install.h"
3 3
4#define KINSHORT "BigBro" 4#define KINSHORT "BigBro"
5#define KINNAME "Big Brother" 5#define KINNAME "Big Brother"
6#define VERSION "1.5" 6#define VERSION "1.5"
7 7
8BOOL Install(void) 8BOOL Install(void)
9{ 9{
10STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.",KINSHORT "Path"); 10STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",KINSHORT "Path");
11STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.","KINPath"); 11STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath");
12LPCSTR 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");
13STRING path = REQUESTPATH(" " KINNAME " " VERSION,"\nEnter destination path:",qPath); 13STRING path = REQUESTPATH(" " KINNAME " " VERSION,"\nEnter destination path:",qPath);
14 if(!path) 14 if(!path)
15 return NULL; 15 return NULL;
16 16
17 #ifdefK_ANNED 17 #ifdefK_ANNED
18STRING sysDir(_MAX_PATH); 18STRING sysDir(_MAX_PATH);
19 GetSystemDirectory(sysDir,_MAX_PATH); 19 GetSystemDirectory(sysDir,_MAX_PATH);
20 INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); 20 INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll");
21#endif 21#endif
22 22
23 MAKE_PATH(path); 23 MAKE_PATH(path);
24STRING shortPath = GET_SHORT_PATH(path); 24STRING shortPath = GET_SHORT_PATH(path);
25 if(!shortPath){ 25 if(!shortPath){
26 MessageBox(NULL,"Failed to install " KINNAME " " VERSION " in specified directory",NULL,MB_ICONERROR|MB_OK); 26 MessageBox(NULL,"Failed to install " KINNAME " " VERSION " in specified directory",NULL,MB_ICONERROR|MB_OK);
27 return FALSE; 27 return FALSE;
28 } 28 }
29 29
30 if(!( 30 if(!(
31 INSTALLFILE("bigbro.ex_",path,"bigbro.exe") && 31 INSTALLFILE("bigbro.ex_",path,"bigbro.exe") &&
32 INSTALLFILE("bigbro.hl_",path,"bigbro.hlp") && 32 INSTALLFILE("bigbro.hl_",path,"bigbro.hlp") &&
33 INSTALLFILE("bigbro.cn_",path,"bigbro.cnt") 33 INSTALLFILE("bigbro.cn_",path,"bigbro.cnt")
34 )){ 34 )){
35 MessageBox(NULL,"Failed to install " KINNAME " " VERSION " in specified directory",NULL,MB_ICONERROR|MB_OK); 35 MessageBox(NULL,"Failed to install " KINNAME " " VERSION " in specified directory",NULL,MB_ICONERROR|MB_OK);
36 return FALSE; 36 return FALSE;
37 } 37 }
38 ADDMENU("Accessories\\Klever Co.",KINNAME,path,"bigbro.exe"); 38 ADDMENU("Klever Group",KINNAME,path,"bigbro.exe");
39 39
40 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.",KINSHORT "Path",path); 40 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",KINSHORT "Path",path);
41 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.","KINPath",path); 41 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path);
42 42
43FILE* inf=CREATE_INF_FILE(path,KINSHORT ".INF"); 43FILE* inf=CREATE_INF_FILE(path,KINSHORT ".INF");
44 if(!inf){ 44 if(!inf){
45 MessageBox(NULL,"Failed to install " KINNAME " " VERSION,NULL,MB_ICONERROR|MB_OK); 45 MessageBox(NULL,"Failed to install " KINNAME " " VERSION,NULL,MB_ICONERROR|MB_OK);
46 return FALSE; 46 return FALSE;
47 } 47 }
48 INF_FILE_HEADER(inf); 48 INF_FILE_HEADER(inf);
49 INF_FILE_SECTION(inf,"Uninstall"); 49 INF_FILE_SECTION(inf,"Uninstall");
50 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n"); 50 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n");
51 INF_FILE_SECTION(inf,"kFiles"); 51 INF_FILE_SECTION(inf,"kFiles");
52 INF_REMOVE_ROOT(inf,KINSHORT "Files",path); 52 INF_REMOVE_ROOT(inf,KINSHORT "Files",path);
53 INF_REMOVE_FILE(inf,KINSHORT "Files","bigbro.exe"); 53 INF_REMOVE_FILE(inf,KINSHORT "Files","bigbro.exe");
54 INF_REMOVE_HELP_FILE(inf,KINSHORT "Files","bigbro"); 54 INF_REMOVE_HELP_FILE(inf,KINSHORT "Files","bigbro");
55 INF_REMOVE_FILE(inf,KINSHORT "Files","bigbro.inf"); 55 INF_REMOVE_FILE(inf,KINSHORT "Files","bigbro.inf");
56 INF_FILE_SECTION(inf,"kReg"); 56 INF_FILE_SECTION(inf,"kReg");
57 INF_UNINSTALL_REG(inf,KINSHORT); 57 INF_UNINSTALL_REG(inf,KINSHORT);
58 INF_FILE_SECTION(inf,"kMenu"); 58 INF_FILE_SECTION(inf,"kMenu");
59 INF_MENU_GROUP(inf,1,"Accessories\\Klever Co."); 59 INF_MENU_GROUP(inf,1,"Klever Group");
60 INF_MENU_ITEM(inf,1,KINNAME); 60 INF_MENU_ITEM(inf,1,KINNAME);
61 fclose(inf); 61 fclose(inf);
62 62
63 REG_UNINSTALL_COMMAND(KINSHORT,"Klever " KINNAME " " VERSION,shortPath,KINSHORT".INF","Uninstall"); 63 REG_UNINSTALL_COMMAND(KINSHORT,"Klever " KINNAME " " VERSION,shortPath,KINSHORT".INF","Uninstall");
64 64
65 MessageBox(NULL,KINNAME" " VERSION " installed successfully, you may now run it from Programs/Accessories/Klever Co. menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); 65 MessageBox(NULL,KINNAME" " VERSION " 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 66
67 return TRUE; 67 return TRUE;
68} 68}
diff --git a/install/install.rc b/install/install.rc
index 12740e5..958704a 100644
--- a/install/install.rc
+++ b/install/install.rc
@@ -130,49 +130,49 @@ IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico
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,0,0
135 PRODUCTVERSION 1,5,0,0 135 PRODUCTVERSION 1,5,0,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: Big Brother, network monitoring tool\0" 151 VALUE "FileDescription", "INSTALL: Big Brother, network monitoring tool\0"
152 VALUE "FileVersion", "1, 5, 0, 0\0" 152 VALUE "FileVersion", "1, 5, 0, 0\0"
153 VALUE "InternalName", "INSTALL\0" 153 VALUE "InternalName", "INSTALL\0"
154 VALUE "LegalCopyright", "Copyright © 1996, 2002 Klever Group (http://www.klever.net/)\0" 154 VALUE "LegalCopyright", "Copyright © 1996-2004 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", "Big Brother\0" 157 VALUE "ProductName", "Big Brother\0"
158 VALUE "ProductVersion", "1, 5, 0, 0\0" 158 VALUE "ProductVersion", "1, 5, 0, 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/////////////////////////////////////////////////////////////////////////////
171 171
172 172
173 173
174#ifndef APSTUDIO_INVOKED 174#ifndef APSTUDIO_INVOKED
175///////////////////////////////////////////////////////////////////////////// 175/////////////////////////////////////////////////////////////////////////////
176// 176//
177// Generated from the TEXTINCLUDE 3 resource. 177// Generated from the TEXTINCLUDE 3 resource.
178// 178//