author | Michael Krelin <hacker@klever.net> | 2004-07-11 04:21:31 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-11 04:21:31 (UTC) |
commit | 511a00c606959e61950a87ce3675745cdcf6e757 (patch) (unidiff) | |
tree | 6b36f3527f4b9791dd0bbc1b7d1bfceb5838c224 | |
parent | 5305ddd8332ebd905ebef3b8365fc0d736858a7a (diff) | |
download | dipstick-511a00c606959e61950a87ce3675745cdcf6e757.zip dipstick-511a00c606959e61950a87ce3675745cdcf6e757.tar.gz dipstick-511a00c606959e61950a87ce3675745cdcf6e757.tar.bz2 |
prepared for dipstick 3.0 release3.0
git-svn-id: http://svn.klever.net/kin/dipstick/trunk@4 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | AUTHORS | 3 | ||||
-rw-r--r-- | COPYING | 2 | ||||
-rw-r--r-- | README.RELEASE (renamed from README) | 0 | ||||
-rw-r--r-- | dipstick.rc | 14 | ||||
-rw-r--r-- | help/dipstick.rtf | 4 | ||||
-rw-r--r-- | help/dipstick.xml | 4 | ||||
-rw-r--r-- | install/install.cpp | 16 | ||||
-rw-r--r-- | install/install.rc | 2 |
8 files changed, 24 insertions, 21 deletions
@@ -0,0 +1,3 @@ | |||
1 | Klever dissected: | ||
2 | Michael 'hacker' Krelin <hacker@klever.net> | ||
3 | Leonid Ivanov <kamel@klever.net> | ||
@@ -1,19 +1,19 @@ | |||
1 | Copyright (c) 1996, 1997, 1998, 2002 Klever Group (http://www.klever.net/) | 1 | Copyright (c) 1996-2004 Klever Group (http://www.klever.net/) |
2 | 2 | ||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of |
4 | this software and associated documentation files (the "Software"), to deal in | 4 | this software and associated documentation files (the "Software"), to deal in |
5 | the Software without restriction, including without limitation the rights to | 5 | the Software without restriction, including without limitation the rights to |
6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
7 | of the Software, and to permit persons to whom the Software is furnished to do | 7 | of the Software, and to permit persons to whom the Software is furnished to do |
8 | so, subject to the following conditions: | 8 | so, subject to the following conditions: |
9 | 9 | ||
10 | The above copyright notice and this permission notice shall be included in all | 10 | The above copyright notice and this permission notice shall be included in all |
11 | copies or substantial portions of the Software. | 11 | copies or substantial portions of the Software. |
12 | 12 | ||
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
19 | SOFTWARE. | 19 | SOFTWARE. |
diff --git a/dipstick.rc b/dipstick.rc index 55b8d98..55f9fde 100644 --- a/dipstick.rc +++ b/dipstick.rc | |||
@@ -61,61 +61,61 @@ END | |||
61 | ///////////////////////////////////////////////////////////////////////////// | 61 | ///////////////////////////////////////////////////////////////////////////// |
62 | // | 62 | // |
63 | // Icon | 63 | // Icon |
64 | // | 64 | // |
65 | 65 | ||
66 | // Icon with lowest ID value placed first to ensure application icon | 66 | // Icon with lowest ID value placed first to ensure application icon |
67 | // remains consistent on all systems. | 67 | // remains consistent on all systems. |
68 | IDR_MAINFRAME ICON DISCARDABLE "res\\Dipstick.ico" | 68 | IDR_MAINFRAME ICON DISCARDABLE "res\\Dipstick.ico" |
69 | IDI_PINGING ICON DISCARDABLE "res\\pinging.ico" | 69 | IDI_PINGING ICON DISCARDABLE "res\\pinging.ico" |
70 | IDI_PENDING ICON DISCARDABLE "res\\pending.ico" | 70 | IDI_PENDING ICON DISCARDABLE "res\\pending.ico" |
71 | IDI_COMPLETED ICON DISCARDABLE "res\\complete.ico" | 71 | IDI_COMPLETED ICON DISCARDABLE "res\\complete.ico" |
72 | IDI_UNREACHABLE ICON DISCARDABLE "res\\unreach.ico" | 72 | IDI_UNREACHABLE ICON DISCARDABLE "res\\unreach.ico" |
73 | 73 | ||
74 | ///////////////////////////////////////////////////////////////////////////// | 74 | ///////////////////////////////////////////////////////////////////////////// |
75 | // | 75 | // |
76 | // Dialog | 76 | // Dialog |
77 | // | 77 | // |
78 | 78 | ||
79 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 213, 61 | 79 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 213, 61 |
80 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU | 80 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU |
81 | CAPTION "About Dipstick" | 81 | CAPTION "About Dipstick" |
82 | FONT 8, "MS Sans Serif" | 82 | FONT 8, "MS Sans Serif" |
83 | BEGIN | 83 | BEGIN |
84 | ICON IDR_MAINFRAME,IDC_STATIC,11,17,21,20 | 84 | ICON IDR_MAINFRAME,IDC_STATIC,11,17,21,20 |
85 | LTEXT "Dipstick, Version 3.00",IDC_STATIC,40,7,89,8, | 85 | LTEXT "Dipstick, Version 3.0",IDC_STATIC,40,7,89,8, |
86 | SS_NOPREFIX | 86 | SS_NOPREFIX |
87 | LTEXT "Copyright © 1996,1997,1998,2002 Klever Group", | 87 | LTEXT "Copyright © 1996-2004 Klever Group", |
88 | IDC_STATIC,40,25,166,8 | 88 | IDC_STATIC,40,25,166,8 |
89 | DEFPUSHBUTTON "OK",IDOK,174,7,32,14,WS_GROUP | 89 | DEFPUSHBUTTON "OK",IDOK,174,7,32,14,WS_GROUP |
90 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,40,40,91,14 | 90 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,40,40,91,14 |
91 | END | 91 | END |
92 | 92 | ||
93 | IDD_DIPSTICK_DIALOG DIALOGEX 0, 0, 419, 152 | 93 | IDD_DIPSTICK_DIALOG DIALOGEX 0, 0, 419, 152 |
94 | STYLE DS_3DLOOK | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | 94 | STYLE DS_3DLOOK | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME |
95 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | | 95 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | |
96 | WS_EX_APPWINDOW | 96 | WS_EX_APPWINDOW |
97 | CAPTION " Dipstick 3.00" | 97 | CAPTION " Dipstick 3.0" |
98 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 98 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
99 | BEGIN | 99 | BEGIN |
100 | CONTROL "List1",IDC_HOSTLIST,"SysListView32",LVS_REPORT | | 100 | CONTROL "List1",IDC_HOSTLIST,"SysListView32",LVS_REPORT | |
101 | LVS_SORTASCENDING | LVS_AUTOARRANGE | WS_BORDER | | 101 | LVS_SORTASCENDING | LVS_AUTOARRANGE | WS_BORDER | |
102 | WS_TABSTOP,8,8,349,136,WS_EX_CLIENTEDGE | 102 | WS_TABSTOP,8,8,349,136,WS_EX_CLIENTEDGE |
103 | PUSHBUTTON "&Manual Ping",IDC_MANUALPING,361,8,50,14 | 103 | PUSHBUTTON "&Manual Ping",IDC_MANUALPING,361,8,50,14 |
104 | PUSHBUTTON "&Reping",IDC_REPING,361,23,50,14,WS_DISABLED | 104 | PUSHBUTTON "&Reping",IDC_REPING,361,23,50,14,WS_DISABLED |
105 | PUSHBUTTON "Reping &All",IDC_REPINGALL,361,38,50,14,WS_DISABLED | 105 | PUSHBUTTON "Reping &All",IDC_REPINGALL,361,38,50,14,WS_DISABLED |
106 | PUSHBUTTON "R&emove",IDC_REMOVE,361,53,50,14,WS_DISABLED | 106 | PUSHBUTTON "R&emove",IDC_REMOVE,361,53,50,14,WS_DISABLED |
107 | PUSHBUTTON "Remove A&ll",IDC_CLEAR,361,68,50,14,WS_DISABLED | 107 | PUSHBUTTON "Remove A&ll",IDC_CLEAR,361,68,50,14,WS_DISABLED |
108 | PUSHBUTTON "&Help",ID_HELP,361,99,50,14 | 108 | PUSHBUTTON "&Help",ID_HELP,361,99,50,14 |
109 | PUSHBUTTON "&Options",IDC_OPTIONS,361,114,50,14 | 109 | PUSHBUTTON "&Options",IDC_OPTIONS,361,114,50,14 |
110 | PUSHBUTTON "E&xit Dipstick",IDC_EXIT,361,129,50,14 | 110 | PUSHBUTTON "E&xit Dipstick",IDC_EXIT,361,129,50,14 |
111 | PUSHBUTTON "",IDCANCEL,411,2,6,6,NOT WS_VISIBLE | WS_DISABLED | 111 | PUSHBUTTON "",IDCANCEL,411,2,6,6,NOT WS_VISIBLE | WS_DISABLED |
112 | PUSHBUTTON "Ad&vanced",IDC_ADVANCED,361,83,50,11 | 112 | PUSHBUTTON "Ad&vanced",IDC_ADVANCED,361,83,50,11 |
113 | END | 113 | END |
114 | 114 | ||
115 | IDD_DRAGPAD DIALOGEX 0, 0, 53, 33 | 115 | IDD_DRAGPAD DIALOGEX 0, 0, 53, 33 |
116 | STYLE DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | 116 | STYLE DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION |
117 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | 117 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP |
118 | CAPTION " Drag URL here" | 118 | CAPTION " Drag URL here" |
119 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 119 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
120 | BEGIN | 120 | BEGIN |
121 | CONTROL "Animate1",IDC_DNDTARGET,"SysAnimate32",WS_TABSTOP,0,0, | 121 | CONTROL "Animate1",IDC_DNDTARGET,"SysAnimate32",WS_TABSTOP,0,0, |
@@ -262,49 +262,49 @@ END | |||
262 | // Version | 262 | // Version |
263 | // | 263 | // |
264 | 264 | ||
265 | VS_VERSION_INFO VERSIONINFO | 265 | VS_VERSION_INFO VERSIONINFO |
266 | FILEVERSION 3,0,0,0 | 266 | FILEVERSION 3,0,0,0 |
267 | PRODUCTVERSION 3,0,0,0 | 267 | PRODUCTVERSION 3,0,0,0 |
268 | FILEFLAGSMASK 0x3fL | 268 | FILEFLAGSMASK 0x3fL |
269 | #ifdef _DEBUG | 269 | #ifdef _DEBUG |
270 | FILEFLAGS 0x9L | 270 | FILEFLAGS 0x9L |
271 | #else | 271 | #else |
272 | FILEFLAGS 0x8L | 272 | FILEFLAGS 0x8L |
273 | #endif | 273 | #endif |
274 | FILEOS 0x4L | 274 | FILEOS 0x4L |
275 | FILETYPE 0x1L | 275 | FILETYPE 0x1L |
276 | FILESUBTYPE 0x0L | 276 | FILESUBTYPE 0x0L |
277 | BEGIN | 277 | BEGIN |
278 | BLOCK "StringFileInfo" | 278 | BLOCK "StringFileInfo" |
279 | BEGIN | 279 | BEGIN |
280 | BLOCK "040904b0" | 280 | BLOCK "040904b0" |
281 | BEGIN | 281 | BEGIN |
282 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | 282 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" |
283 | VALUE "FileDescription", "Dipstick, mirror locator\0" | 283 | VALUE "FileDescription", "Dipstick, mirror locator\0" |
284 | VALUE "FileVersion", "3, 0, 0, 0\0" | 284 | VALUE "FileVersion", "3, 0, 0, 0\0" |
285 | VALUE "InternalName", "DIPSTICK\0" | 285 | VALUE "InternalName", "DIPSTICK\0" |
286 | VALUE "LegalCopyright", "Copyright © 1996, 1997, 1998, 2002 Klever Group (http://www.klever.net/)\0" | 286 | VALUE "LegalCopyright", "Copyright © 1996-2004 Klever Group (http://www.klever.net/)\0" |
287 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | 287 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" |
288 | VALUE "OriginalFilename", "DIPSTICK.EXE\0" | 288 | VALUE "OriginalFilename", "DIPSTICK.EXE\0" |
289 | VALUE "ProductName", "Dipstick\0" | 289 | VALUE "ProductName", "Dipstick\0" |
290 | VALUE "ProductVersion", "3, 0, 0, 0\0" | 290 | VALUE "ProductVersion", "3, 0, 0, 0\0" |
291 | END | 291 | END |
292 | END | 292 | END |
293 | BLOCK "VarFileInfo" | 293 | BLOCK "VarFileInfo" |
294 | BEGIN | 294 | BEGIN |
295 | VALUE "Translation", 0x409, 1200 | 295 | VALUE "Translation", 0x409, 1200 |
296 | END | 296 | END |
297 | END | 297 | END |
298 | 298 | ||
299 | #endif // !_MAC | 299 | #endif // !_MAC |
300 | 300 | ||
301 | 301 | ||
302 | ///////////////////////////////////////////////////////////////////////////// | 302 | ///////////////////////////////////////////////////////////////////////////// |
303 | // | 303 | // |
304 | // DESIGNINFO | 304 | // DESIGNINFO |
305 | // | 305 | // |
306 | 306 | ||
307 | #ifdef APSTUDIO_INVOKED | 307 | #ifdef APSTUDIO_INVOKED |
308 | GUIDELINES DESIGNINFO DISCARDABLE | 308 | GUIDELINES DESIGNINFO DISCARDABLE |
309 | BEGIN | 309 | BEGIN |
310 | IDD_ABOUTBOX, DIALOG | 310 | IDD_ABOUTBOX, DIALOG |
@@ -439,99 +439,99 @@ END | |||
439 | IDB_DIABACK BITMAP DISCARDABLE "shared-data/klever-background.bmp" | 439 | IDB_DIABACK BITMAP DISCARDABLE "shared-data/klever-background.bmp" |
440 | 440 | ||
441 | ///////////////////////////////////////////////////////////////////////////// | 441 | ///////////////////////////////////////////////////////////////////////////// |
442 | // | 442 | // |
443 | // WAVE | 443 | // WAVE |
444 | // | 444 | // |
445 | 445 | ||
446 | IDW_BESTURL WAVE DISCARDABLE "res\\best.wav" | 446 | IDW_BESTURL WAVE DISCARDABLE "res\\best.wav" |
447 | 447 | ||
448 | ///////////////////////////////////////////////////////////////////////////// | 448 | ///////////////////////////////////////////////////////////////////////////// |
449 | // | 449 | // |
450 | // String Table | 450 | // String Table |
451 | // | 451 | // |
452 | 452 | ||
453 | STRINGTABLE DISCARDABLE | 453 | STRINGTABLE DISCARDABLE |
454 | BEGIN | 454 | BEGIN |
455 | IDS_ABOUTBOX "&About Dipstick.." | 455 | IDS_ABOUTBOX "&About Dipstick.." |
456 | IDS_PS_FAILEDTOLOCK "Failed to gain access to internal resources. Please, report to Klever." | 456 | IDS_PS_FAILEDTOLOCK "Failed to gain access to internal resources. Please, report to Klever." |
457 | IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." | 457 | IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." |
458 | IDS_CSVEXT ".csv" | 458 | IDS_CSVEXT ".csv" |
459 | IDS_HN_BADURL "Bad URL" | 459 | IDS_HN_BADURL "Bad URL" |
460 | IDS_ABEST_CLEANUP "Remove all locations from list?" | 460 | IDS_ABEST_CLEANUP "Remove all locations from list?" |
461 | IDS_ABEST_NONEFOUND "No reachable locations were found." | 461 | IDS_ABEST_NONEFOUND "No reachable locations were found." |
462 | IDS_ABEST_TITLE " Dipstick - report" | 462 | IDS_ABEST_TITLE " Dipstick - report" |
463 | IDS_DRAGPAD_TITLE " Dipstick 3.00" | 463 | IDS_DRAGPAD_TITLE " Dipstick 3.0" |
464 | IDS_DRAGPAD_URLS " %d/%d URL(s)" | 464 | IDS_DRAGPAD_URLS " %d/%d URL(s)" |
465 | IDS_REGEX_HTMLURL "<A[^[:alpha:]][^>]*href[[:space:]]*=[[:space:]]*""?([^[:space:]>""]+)""?[^>]*>" | 465 | IDS_REGEX_HTMLURL "<A[^[:alpha:]][^>]*href[[:space:]]*=[[:space:]]*""?([^[:space:]>""]+)""?[^>]*>" |
466 | END | 466 | END |
467 | 467 | ||
468 | STRINGTABLE DISCARDABLE | 468 | STRINGTABLE DISCARDABLE |
469 | BEGIN | 469 | BEGIN |
470 | IDS_KLEVERNET_URL "http://www.klever.net/" | 470 | IDS_KLEVERNET_URL "http://www.klever.net/" |
471 | IDS_PS_INTERNALERROR "Internal Error. Please report to Klever." | 471 | IDS_PS_INTERNALERROR "Internal Error. Please report to Klever." |
472 | IDS_PS_NETUNREACHABLE "Destination network unreachable" | 472 | IDS_PS_NETUNREACHABLE "Destination network unreachable" |
473 | IDS_PS_HOSTUNREACHABLE "Destination host unreachable" | 473 | IDS_PS_HOSTUNREACHABLE "Destination host unreachable" |
474 | IDS_PS_PROTUNREACHABLE "Destination protocol unreachable" | 474 | IDS_PS_PROTUNREACHABLE "Destination protocol unreachable" |
475 | IDS_PS_PORTUNREACHABLE "Destination port unreachable" | 475 | IDS_PS_PORTUNREACHABLE "Destination port unreachable" |
476 | IDS_PS_NORESOURCES "No resources" | 476 | IDS_PS_NORESOURCES "No resources" |
477 | IDS_PS_HWERROR "Hardware error" | 477 | IDS_PS_HWERROR "Hardware error" |
478 | IDS_PS_BIGPACKET "Packet size is too big" | 478 | IDS_PS_BIGPACKET "Packet size is too big" |
479 | END | 479 | END |
480 | 480 | ||
481 | STRINGTABLE DISCARDABLE | 481 | STRINGTABLE DISCARDABLE |
482 | BEGIN | 482 | BEGIN |
483 | IDC_DNDTARGET "Dipstick 3.00, click the right mouse button to display main window, left mouse button for menu" | 483 | IDC_DNDTARGET "Dipstick 3.0, click the right mouse button to display main window, left mouse button for menu" |
484 | IDC_HOST "Host name as specified or resolved by Dipstick" | 484 | IDC_HOST "Host name as specified or resolved by Dipstick" |
485 | END | 485 | END |
486 | 486 | ||
487 | STRINGTABLE DISCARDABLE | 487 | STRINGTABLE DISCARDABLE |
488 | BEGIN | 488 | BEGIN |
489 | IDC_URLCAPTION "Universal Resource Locator (URL) associated with this location" | 489 | IDC_URLCAPTION "Universal Resource Locator (URL) associated with this location" |
490 | IDC_URL "Universal Resource Locator (URL) associated with this location" | 490 | IDC_URL "Universal Resource Locator (URL) associated with this location" |
491 | IDC_HOSTCAPTION "Host name as specified or resolved by Dipstick" | 491 | IDC_HOSTCAPTION "Host name as specified or resolved by Dipstick" |
492 | IDC_IPCAPTION "Host's IP address as specified or resolved by Dipstick" | 492 | IDC_IPCAPTION "Host's IP address as specified or resolved by Dipstick" |
493 | IDC_TIMESCAPTION "Minmum, maximum and average round trip time in milliseconds. The less the better." | 493 | IDC_TIMESCAPTION "Minmum, maximum and average round trip time in milliseconds. The less the better." |
494 | IDC_TIMES "Minmum, maximum and average round trip time in milliseconds. The less the better." | 494 | IDC_TIMES "Minmum, maximum and average round trip time in milliseconds. The less the better." |
495 | IDC_LOSSCAPTION "IP packets loss" | 495 | IDC_LOSSCAPTION "IP packets loss" |
496 | IDC_LOSS "IP packets loss" | 496 | IDC_LOSS "IP packets loss" |
497 | IDC_STATUSCAPTION "Last error occured during attempt to ping this location" | 497 | IDC_STATUSCAPTION "Last error occured during attempt to ping this location" |
498 | IDC_STATUS "Last error occured during attempt to ping this location" | 498 | IDC_STATUS "Last error occured during attempt to ping this location" |
499 | IDC_OPENURL "Open URL in your default browser" | 499 | IDC_OPENURL "Open URL in your default browser" |
500 | END | 500 | END |
501 | 501 | ||
502 | STRINGTABLE DISCARDABLE | 502 | STRINGTABLE DISCARDABLE |
503 | BEGIN | 503 | BEGIN |
504 | IDS_PS_TIMEOUT "Request timed out" | 504 | IDS_PS_TIMEOUT "Request timed out" |
505 | IDS_PS_BADROUTE "Bad route" | 505 | IDS_PS_BADROUTE "Bad route" |
506 | IDS_PS_TTLEXPTRANSIT "TTL expired in transit" | 506 | IDS_PS_TTLEXPTRANSIT "TTL expired in transit" |
507 | IDS_PS_TTLEXPREASM "TTL expired during reassembly" | 507 | IDS_PS_TTLEXPREASM "TTL expired during reassembly" |
508 | IDS_PS_IPARAMP "IP parameter problem" | 508 | IDS_PS_IPARAMP "IP parameter problem" |
509 | IDS_PS_SOURCEQUENCH "Source quench received" | 509 | IDS_PS_SOURCEQUENCH "Source quench received" |
510 | IDS_PS_BIGOPTION "Option is too big" | 510 | IDS_PS_BIGOPTION "Option is too big" |
511 | IDS_PS_BADDEST "Bad destination" | 511 | IDS_PS_BADDEST "Bad destination" |
512 | IDS_PS_UNKNOWNERROR "Unknown error" | 512 | IDS_PS_UNKNOWNERROR "Unknown error" |
513 | IDS_REGISTRYKEY "Klever Group, Inc." | 513 | IDS_REGISTRYKEY "Klever Group" |
514 | IDS_FMT_TIMES "%lu/%lu/%lu" | 514 | IDS_FMT_TIMES "%lu/%lu/%lu" |
515 | IDS_FMT_LOSS "%d%%" | 515 | IDS_FMT_LOSS "%d%%" |
516 | IDS_TIP_UNREACHABLE "This location seems to be unreachable" | 516 | IDS_TIP_UNREACHABLE "This location seems to be unreachable" |
517 | IDS_PS_FAILEDTORESOLVE "Unable to resolve host IP" | 517 | IDS_PS_FAILEDTORESOLVE "Unable to resolve host IP" |
518 | END | 518 | END |
519 | 519 | ||
520 | STRINGTABLE DISCARDABLE | 520 | STRINGTABLE DISCARDABLE |
521 | BEGIN | 521 | BEGIN |
522 | IDS_PS_UNABLETOICMP "Unable to initialize ICMP services" | 522 | IDS_PS_UNABLETOICMP "Unable to initialize ICMP services" |
523 | IDS_TIP_PENDING "This location is waiting for it's turn to get pinged" | 523 | IDS_TIP_PENDING "This location is waiting for it's turn to get pinged" |
524 | IDS_TIP_COMPLETE "Pinging of this location has been completed" | 524 | IDS_TIP_COMPLETE "Pinging of this location has been completed" |
525 | IDS_TIP_PROPSOK "Click OK if you're done with looking and want to dismiss this window" | 525 | IDS_TIP_PROPSOK "Click OK if you're done with looking and want to dismiss this window" |
526 | IDS_TIP_INTERVAL "Interval between ping requests in seconds" | 526 | IDS_TIP_INTERVAL "Interval between ping requests in seconds" |
527 | IDS_TIP_OPTIONSOK "Click OK to make changes permanent" | 527 | IDS_TIP_OPTIONSOK "Click OK to make changes permanent" |
528 | IDS_TIP_OPTIONSCANCEL "Click CANCEL to leave dialog without making any changes" | 528 | IDS_TIP_OPTIONSCANCEL "Click CANCEL to leave dialog without making any changes" |
529 | IDS_TIP_PINGING "This location is being pinged at the moment.." | 529 | IDS_TIP_PINGING "This location is being pinged at the moment.." |
530 | END | 530 | END |
531 | 531 | ||
532 | STRINGTABLE DISCARDABLE | 532 | STRINGTABLE DISCARDABLE |
533 | BEGIN | 533 | BEGIN |
534 | IDC_MSWORKAROUND "In case of REDIRed URL - test the innermost one" | 534 | IDC_MSWORKAROUND "In case of REDIRed URL - test the innermost one" |
535 | END | 535 | END |
536 | 536 | ||
537 | STRINGTABLE DISCARDABLE | 537 | STRINGTABLE DISCARDABLE |
diff --git a/help/dipstick.rtf b/help/dipstick.rtf index a37a39f..c91b3f4 100644 --- a/help/dipstick.rtf +++ b/help/dipstick.rtf | |||
@@ -1,58 +1,58 @@ | |||
1 | {\rtf1\ansi | 1 | {\rtf1\ansi |
2 | @{\footnote | 2 | @{\footnote |
3 | THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT. | 3 | THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT. |
4 | DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD | 4 | DO 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 Dipstick} | 14 | ${\footnote About Dipstick} |
15 | K{\footnote about} | 15 | K{\footnote about} |
16 | { \f1\fs18\b\sb120 About {\b Dipstick}} | 16 | { \f1\fs18\b\sb120 About {\b Dipstick}} |
17 | \par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b Dipstick} is our award-winning freeware that allows you to evaluate {\i mirror sites} to figure out which one has currently the least traffic. | 17 | \par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b Dipstick} is our award-winning freeware that allows you to evaluate {\i mirror sites} to figure out which one has currently the least traffic. |
18 | \par\sa120\sb120\qj\pard \f1\fs18\sb120 | 18 | \par\sa120\sb120\qj\pard \f1\fs18\sb120 |
19 | \par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}} | 19 | \par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}} |
20 | { | 20 | { |
21 | \par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1996, 1997, 1998, 2002 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")} | 21 | \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/")} |
22 | \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: | 22 | \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: |
23 | \par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | 23 | \par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |
24 | \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. | 24 | \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. |
25 | } | 25 | } |
26 | \par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")} | 26 | \par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")} |
27 | \par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")} | 27 | \par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")} |
28 | \page | 28 | \page |
29 | 29 | ||
30 | \pard\plain\keepn | 30 | \pard\plain\keepn |
31 | #{\footnote News} | 31 | #{\footnote News} |
32 | ${\footnote What's new} | 32 | ${\footnote What's new} |
33 | { \f1\fs18\b\sb120 What's New} | 33 | { \f1\fs18\b\sb120 What's New} |
34 | \par\pard\plain\f1\fs24\qc\cf2\b 3.00 - August 19st, 2002 | 34 | \par\pard\plain\f1\fs24\qc\cf2\b 3.0 - July 11th, 2004 |
35 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Change of {\uldb license}{\v About} and opening the source. | 35 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Change of {\uldb license}{\v About} and opening the source. |
36 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Minor cosmetic changes | 36 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Minor cosmetic changes |
37 | \par\pard\plain\f1\fs24\qc\cf2\b 2.52 - June 3rd, 1998 | 37 | \par\pard\plain\f1\fs24\qc\cf2\b 2.52 - June 3rd, 1998 |
38 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Now works properly with Winsock 2 for Windows95. Also may start working with non-Microsoft TCP/IP stacks. | 38 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Now works properly with Winsock 2 for Windows95. Also may start working with non-Microsoft TCP/IP stacks. |
39 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Fixed bug that caused GPF when removing all URLs after testing is over and you picked the URL of your choice. | 39 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Fixed bug that caused GPF when removing all URLs after testing is over and you picked the URL of your choice. |
40 | \par\pard\plain\f1\fs24\qc\cf2\b 2.5 - December 30th, 1997 | 40 | \par\pard\plain\f1\fs24\qc\cf2\b 2.5 - December 30th, 1997 |
41 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Ability to export/import sets of URLs. | 41 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Ability to export/import sets of URLs. |
42 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Copy URL menu command in the Main Window and button in the Best URL window. | 42 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Copy URL menu command in the Main Window and button in the Best URL window. |
43 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Multiple URLs dragging or pasting. Works only for MSIE4 browser. | 43 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Multiple URLs dragging or pasting. Works only for MSIE4 browser. |
44 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Annoying ToolTips removed. | 44 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Annoying ToolTips removed. |
45 | \par\pard\plain\f1\fs24\qc\cf2\b 2.00 - July 1st, 1997 | 45 | \par\pard\plain\f1\fs24\qc\cf2\b 2.00 - July 1st, 1997 |
46 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Drag'n'drop source added to the Best URL window. | 46 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Drag'n'drop source added to the Best URL window. |
47 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Completed/Total URLs counter added to {\b Dipstick} drag pad. | 47 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Completed/Total URLs counter added to {\b Dipstick} drag pad. |
48 | \par\pard\plain\fi0\li0\f1\fs18 \bullet You may now drag'n'drop URLs from main {\b Dipstick} dialog window. | 48 | \par\pard\plain\fi0\li0\f1\fs18 \bullet You may now drag'n'drop URLs from main {\b Dipstick} dialog window. |
49 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Added ability to paste URLs into {\b Dipstick} instead of dropping. | 49 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Added ability to paste URLs into {\b Dipstick} instead of dropping. |
50 | \par\pard\plain\fi0\li0\f1\fs18 \bullet New install program now lets you install {\b Dipstick} to the location of your choice. | 50 | \par\pard\plain\fi0\li0\f1\fs18 \bullet New install program now lets you install {\b Dipstick} to the location of your choice. |
51 | \par\pard\plain\f1\fs24\qc\cf2\b 1.01 - March 13th, 1997 | 51 | \par\pard\plain\f1\fs24\qc\cf2\b 1.01 - March 13th, 1997 |
52 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Resizable main {\b Dipstick} dialog window. | 52 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Resizable main {\b Dipstick} dialog window. |
53 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Come up with the best URL automatically. | 53 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Come up with the best URL automatically. |
54 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Workaround for redir.dll | 54 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Workaround for redir.dll |
55 | \par\pard\plain\fi0\li0\f1\fs18 \bullet No more {\b\cf6 MSIE} 3.0 requirement. | 55 | \par\pard\plain\fi0\li0\f1\fs18 \bullet No more {\b\cf6 MSIE} 3.0 requirement. |
56 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Remembers window positions and size as well as columns widths. | 56 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Remembers window positions and size as well as columns widths. |
57 | \par\pard\plain\fi0\li0\f1\fs18 \bullet When manually adding locations - you may specify the URL, not host name as it was before (I still wonder how it came to my mind) | 57 | \par\pard\plain\fi0\li0\f1\fs18 \bullet When manually adding locations - you may specify the URL, not host name as it was before (I still wonder how it came to my mind) |
58 | \page | 58 | \page |
diff --git a/help/dipstick.xml b/help/dipstick.xml index b6e0748..4754e47 100644 --- a/help/dipstick.xml +++ b/help/dipstick.xml | |||
@@ -1,37 +1,37 @@ | |||
1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
2 | <winhelp> | 2 | <winhelp> |
3 | <topic id="About" title="About Dipstick" keywords="about"> | 3 | <topic id="About" title="About Dipstick" keywords="about"> |
4 | <heading scroll="no">About <kin>Dipstick</kin></heading> | 4 | <heading scroll="no">About <kin>Dipstick</kin></heading> |
5 | <p><kin>Dipstick</kin> is our award-winning freeware that allows you to evaluate <term>mirror sites</term> to figure out which one has currently the least traffic.</p> | 5 | <p><kin>Dipstick</kin> is our award-winning freeware that allows you to evaluate <term>mirror sites</term> to figure out which one has currently the least traffic.</p> |
6 | <p/> | 6 | <p/> |
7 | <p><b><i>Enjoy!</i></b></p> | 7 | <p><b><i>Enjoy!</i></b></p> |
8 | <license years="1996, 1997, 1998, 2002"/> | 8 | <license years="1996-2004"/> |
9 | <credits/> | 9 | <credits/> |
10 | </topic> | 10 | </topic> |
11 | <topic id="News" title="What's new"> | 11 | <topic id="News" title="What's new"> |
12 | <heading scroll="no">What's New</heading> | 12 | <heading scroll="no">What's New</heading> |
13 | <newsfor version="3.00" date="August 19st, 2002"> | 13 | <newsfor version="3.0" date="July 11th, 2004"> |
14 | <ni>Change of <a href="#About">license</a> and opening the source.</ni> | 14 | <ni>Change of <a href="#About">license</a> and opening the source.</ni> |
15 | <ni>Minor cosmetic changes</ni> | 15 | <ni>Minor cosmetic changes</ni> |
16 | </newsfor> | 16 | </newsfor> |
17 | <newsfor version="2.52" date="June 3rd, 1998"> | 17 | <newsfor version="2.52" date="June 3rd, 1998"> |
18 | <ni>Now works properly with Winsock 2 for Windows95. Also may start working with non-Microsoft TCP/IP stacks.</ni> | 18 | <ni>Now works properly with Winsock 2 for Windows95. Also may start working with non-Microsoft TCP/IP stacks.</ni> |
19 | <ni>Fixed bug that caused GPF when removing all URLs after testing is over and you picked the URL of your choice.</ni> | 19 | <ni>Fixed bug that caused GPF when removing all URLs after testing is over and you picked the URL of your choice.</ni> |
20 | </newsfor> | 20 | </newsfor> |
21 | <newsfor version="2.5" date="December 30th, 1997"> | 21 | <newsfor version="2.5" date="December 30th, 1997"> |
22 | <ni>Ability to export/import sets of URLs.</ni> | 22 | <ni>Ability to export/import sets of URLs.</ni> |
23 | <ni>Copy URL menu command in the Main Window and button in the Best URL window.</ni> | 23 | <ni>Copy URL menu command in the Main Window and button in the Best URL window.</ni> |
24 | <ni>Multiple URLs dragging or pasting. Works only for MSIE4 browser.</ni> | 24 | <ni>Multiple URLs dragging or pasting. Works only for MSIE4 browser.</ni> |
25 | <ni>Annoying ToolTips removed.</ni> | 25 | <ni>Annoying ToolTips removed.</ni> |
26 | </newsfor> | 26 | </newsfor> |
27 | <newsfor version="2.00" date="July 1st, 1997"> | 27 | <newsfor version="2.00" date="July 1st, 1997"> |
28 | <ni>Drag'n'drop source added to the Best URL window.</ni> | 28 | <ni>Drag'n'drop source added to the Best URL window.</ni> |
29 | <ni>Completed/Total URLs counter added to <kin>Dipstick</kin> drag pad.</ni> | 29 | <ni>Completed/Total URLs counter added to <kin>Dipstick</kin> drag pad.</ni> |
30 | <ni>You may now drag'n'drop URLs from main <kin>Dipstick</kin> dialog window.</ni> | 30 | <ni>You may now drag'n'drop URLs from main <kin>Dipstick</kin> dialog window.</ni> |
31 | <ni>Added ability to paste URLs into <kin>Dipstick</kin> instead of dropping.</ni> | 31 | <ni>Added ability to paste URLs into <kin>Dipstick</kin> instead of dropping.</ni> |
32 | <ni>New install program now lets you install <kin>Dipstick</kin> to the location of your choice.</ni> | 32 | <ni>New install program now lets you install <kin>Dipstick</kin> to the location of your choice.</ni> |
33 | </newsfor> | 33 | </newsfor> |
34 | <newsfor version="1.01" date="March 13th, 1997"> | 34 | <newsfor version="1.01" date="March 13th, 1997"> |
35 | <ni>Resizable main <kin>Dipstick</kin> dialog window.</ni> | 35 | <ni>Resizable main <kin>Dipstick</kin> dialog window.</ni> |
36 | <ni>Come up with the best URL automatically.</ni> | 36 | <ni>Come up with the best URL automatically.</ni> |
37 | <ni>Workaround for redir.dll</ni> | 37 | <ni>Workaround for redir.dll</ni> |
diff --git a/install/install.cpp b/install/install.cpp index 995b78f..296f3a3 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 KINNAME "Dipstick" | 4 | #define KINNAME "Dipstick" |
5 | #define KINSHORT KINNAME | 5 | #define KINSHORT KINNAME |
6 | #define VERSION "3.00" | 6 | #define VERSION "3.0" |
7 | 7 | ||
8 | BOOL Install(void) | 8 | BOOL Install(void) |
9 | { | 9 | { |
10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.",KINSHORT "Path"); | 10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",KINSHORT "Path"); |
11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.","KINPath"); | 11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); |
12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); | 12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); |
13 | STRING path = REQUESTPATH(" " KINNAME " " VERSION,"\nEnter destination path:",qPath); | 13 | STRING 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 |
18 | STRING sysDir(_MAX_PATH); | 18 | STRING 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); |
24 | STRING shortPath = GET_SHORT_PATH(path); | 24 | STRING 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("dipstick.ex_",path,"dipstick.exe") && | 31 | INSTALLFILE("dipstick.ex_",path,"dipstick.exe") && |
32 | INSTALLFILE("dipstick.hl_",path,"dipstick.hlp") && | 32 | INSTALLFILE("dipstick.hl_",path,"dipstick.hlp") && |
33 | INSTALLFILE("dipstick.cn_",path,"dipstick.cnt") | 33 | INSTALLFILE("dipstick.cn_",path,"dipstick.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,"dipstick.exe"); | 38 | ADDMENU("Klever Group",KINNAME,path,"dipstick.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 | ||
43 | FILE* inf=CREATE_INF_FILE(path,KINSHORT ".INF"); | 43 | FILE* 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","dipstick.exe"); | 53 | INF_REMOVE_FILE(inf,KINSHORT "Files","dipstick.exe"); |
54 | INF_REMOVE_HELP_FILE(inf,KINSHORT "Files","dipstick"); | 54 | INF_REMOVE_HELP_FILE(inf,KINSHORT "Files","dipstick"); |
55 | INF_REMOVE_FILE(inf,KINSHORT "Files",KINSHORT ".INF"); | 55 | INF_REMOVE_FILE(inf,KINSHORT "Files",KINSHORT ".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 8c86414..016c554 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 | ||
133 | VS_VERSION_INFO VERSIONINFO | 133 | VS_VERSION_INFO VERSIONINFO |
134 | FILEVERSION 3,0,0,0 | 134 | FILEVERSION 3,0,0,0 |
135 | PRODUCTVERSION 3,0,0,0 | 135 | PRODUCTVERSION 3,0,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 |
145 | BEGIN | 145 | BEGIN |
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: Dipstick, mirror locator\0" | 151 | VALUE "FileDescription", "INSTALL: Dipstick, mirror locator\0" |
152 | VALUE "FileVersion", "3, 0, 0, 0\0" | 152 | VALUE "FileVersion", "3, 0, 0, 0\0" |
153 | VALUE "InternalName", "INSTALL\0" | 153 | VALUE "InternalName", "INSTALL\0" |
154 | VALUE "LegalCopyright", "Copyright © 1996, 1997, 1998, 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", "Dipstick\0" | 157 | VALUE "ProductName", "Dipstick\0" |
158 | VALUE "ProductVersion", "3, 0, 0, 0\0" | 158 | VALUE "ProductVersion", "3, 0, 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 |
165 | END | 165 | END |
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 | // |