From 85db104505da201e682f87ec925fe4d7521bd3cd Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 18 May 2010 15:07:37 +0000 Subject: [PATCH] .uppweb git-svn-id: svn://ultimatepp.org/upp/trunk@2406 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlLib/srcdoc.tpp/Updater$en-us.tpp | 147 ++++++++------------ 1 file changed, 57 insertions(+), 90 deletions(-) diff --git a/uppsrc/CtrlLib/srcdoc.tpp/Updater$en-us.tpp b/uppsrc/CtrlLib/srcdoc.tpp/Updater$en-us.tpp index 440ebee99..ed4ab45ed 100644 --- a/uppsrc/CtrlLib/srcdoc.tpp/Updater$en-us.tpp +++ b/uppsrc/CtrlLib/srcdoc.tpp/Updater$en-us.tpp @@ -1,90 +1,57 @@ -TITLE("About Updater") -COMPRESSED -120,156,133,85,219,110,219,70,20,252,149,133,229,182,137,43, -43,123,229,46,197,151,4,78,80,4,72,157,160,110,208,7, -193,136,86,212,202,34,76,145,10,151,178,236,164,205,183,119, -14,73,249,214,135,90,208,141,218,115,102,206,204,28,122,38, -217,241,49,31,243,17,255,159,191,233,219,176,242,187,178,189, -156,149,210,185,172,176,92,103,94,216,236,99,154,253,248,241, -99,146,166,50,163,86,2,173,4,215,74,72,33,52,231,90, -90,97,82,158,26,39,28,87,86,75,99,185,153,110,125,227, -55,151,51,239,84,118,242,71,130,42,57,54,35,37,148,224, -34,145,26,167,184,226,82,11,105,132,115,90,88,227,84,154, -36,211,220,111,219,162,174,46,103,11,170,67,149,66,21,183, -46,209,2,53,218,72,101,141,70,173,214,66,224,179,48,54, -177,118,218,22,109,25,46,103,5,145,94,136,196,102,94,75, -34,125,70,108,245,56,25,129,165,180,104,161,165,78,180,114, -82,9,39,101,146,42,157,106,208,23,114,90,180,1,100,23, -40,163,82,42,51,0,214,70,11,5,93,180,53,10,199,44, -222,53,79,133,4,186,227,198,0,56,220,30,196,34,157,168, -46,1,156,180,134,78,59,237,132,178,78,106,153,72,16,224, -22,195,18,186,153,46,67,204,81,167,164,200,90,80,202,206, -94,155,76,160,216,142,237,72,242,148,203,196,166,0,4,89, -12,174,210,84,40,7,64,45,12,23,106,154,215,75,12,187, -144,134,171,12,53,14,110,36,104,220,73,99,18,1,190,82, -57,32,90,161,20,94,141,118,118,26,3,249,209,214,205,229, -236,228,245,11,62,225,19,105,204,75,226,155,162,220,41,173, -148,78,82,45,184,2,10,122,104,146,43,225,112,84,24,233, -166,11,31,1,217,106,210,246,140,18,64,105,130,252,202,25, -5,228,4,47,112,22,227,41,40,35,83,237,148,114,124,154, -151,62,198,71,242,156,208,136,66,140,133,24,89,82,213,40, -169,83,146,70,73,200,43,19,147,10,232,107,18,205,229,180, -9,95,119,69,19,54,161,130,192,5,2,146,29,204,25,194, -8,46,125,24,229,88,72,196,209,36,9,39,181,12,50,33, -149,129,220,92,56,13,70,120,192,224,118,200,99,23,143,46, -23,66,141,133,26,165,82,43,48,73,181,134,0,104,32,82, -33,4,119,120,96,50,200,210,37,67,12,217,122,28,43,161, -199,66,143,44,130,12,159,82,77,240,169,34,249,36,212,151, -9,55,176,65,246,229,146,68,151,199,144,93,72,71,207,151, -84,111,198,2,11,1,134,194,24,140,173,32,180,116,24,221, -64,121,213,133,92,88,55,61,15,251,248,214,183,97,72,203, -201,217,113,31,51,145,140,69,50,226,84,111,92,10,251,132, -38,249,148,214,169,76,149,50,50,53,42,225,144,49,246,251, -76,197,180,83,221,62,222,55,177,99,97,177,94,24,213,24, -12,223,149,97,112,43,136,138,116,105,66,34,12,77,230,167, -101,81,17,15,228,34,235,163,112,114,246,171,16,150,26,57, -108,139,115,9,87,41,180,128,4,220,32,230,184,35,56,248, -12,155,37,118,128,110,9,249,181,191,10,243,211,97,95,191, -127,249,231,167,119,231,167,159,47,216,44,202,140,189,89,212, -187,150,125,222,46,49,110,243,243,229,44,242,236,240,109,18, -110,3,243,213,146,53,161,196,247,37,59,107,155,242,67,177, -96,13,74,192,42,178,220,87,44,250,27,156,98,101,221,178, -122,197,54,190,168,90,60,125,149,7,150,215,177,141,108,191, -14,21,91,134,109,89,223,21,213,21,171,194,158,249,237,182, -44,114,79,55,29,118,19,154,136,247,200,124,203,74,223,92, -161,172,44,16,192,249,47,145,197,98,25,38,3,169,225,237, -207,117,96,184,234,35,43,34,107,215,69,156,50,184,117,232, -66,23,183,165,207,65,182,173,241,115,0,92,187,175,155,107, -182,108,138,155,48,97,127,17,153,93,12,13,139,173,111,192, -14,29,192,61,247,229,99,82,99,86,180,44,95,135,252,58, -62,52,192,98,228,216,229,59,182,170,155,161,245,61,238,132, -189,95,209,181,38,16,3,95,221,141,159,204,56,96,237,122, -93,59,77,195,109,209,198,201,65,106,86,163,209,190,65,110, -33,234,174,105,48,255,253,72,251,162,93,119,88,117,117,176, -99,232,87,180,19,118,94,183,1,200,16,175,167,132,201,137, -223,1,170,32,147,48,239,146,45,64,220,231,109,127,182,179, -22,238,85,228,218,1,26,253,98,40,87,207,4,191,8,225, -96,252,171,158,109,7,176,12,176,185,140,207,14,159,215,251, -142,199,106,87,85,119,12,219,223,246,54,1,146,20,69,92, -122,98,44,220,192,135,77,221,116,220,171,1,153,205,79,233, -24,42,58,198,112,112,56,13,65,217,170,40,33,78,81,145, -176,15,102,76,216,197,225,84,159,215,161,83,113,80,187,27, -252,145,23,19,246,193,199,22,244,111,66,89,111,233,78,199, -214,8,211,21,137,219,145,138,53,116,106,198,61,233,143,141, -207,203,67,34,1,14,225,203,178,247,20,8,243,163,1,99, -126,52,156,7,189,78,228,77,240,213,48,247,67,242,235,93, -115,104,8,66,253,246,44,2,91,18,52,72,230,245,182,59, -134,184,13,195,66,128,30,57,62,74,31,52,34,5,134,57, -41,15,243,163,175,147,162,42,230,71,93,217,24,11,87,228, -107,134,255,30,24,185,44,169,113,183,146,36,30,156,219,244, -244,125,183,247,255,9,247,51,63,223,221,250,205,22,124,1, -74,187,70,67,175,97,113,172,55,129,182,157,38,34,50,191, -125,126,63,255,242,230,211,167,249,151,223,223,188,63,199,62, -213,88,156,178,184,14,211,71,237,108,246,236,220,112,113,254, -125,248,112,250,247,5,70,234,51,246,226,101,198,94,189,98, -15,23,6,59,227,19,179,87,69,3,47,73,131,150,246,250, -65,151,251,142,67,183,249,81,30,231,167,249,183,73,204,97, -86,223,123,232,155,127,11,80,43,110,67,89,146,250,221,214, -247,119,194,167,13,202,250,170,158,44,54,219,231,229,245,102, -75,241,164,159,201,48,24,218,133,23,73,104,194,182,198,154, -62,85,180,127,83,236,242,95,43,18,2,111, \ No newline at end of file +topic "About Updater"; +[2 $$0,0#00000000000000000000000000000000:Default] +[l288;i704;a17;O9;~~~.992;2 $$1,0#10431211400427159095818037425705:param] +[a83;*R6 $$2,5#31310162474203024125188417583966:caption] +[b83;*2 $$3,5#07864147445237544204411237157677:title] +[i288;b167;a42;O9;C2 $$4,6#40027414424643823182269349404212:item] +[b42;a42;2 $$5,5#45413000475342174754091244180557:text] +[l288;a17;2 $$6,6#27521748481378242620020725143825:desc] +[l321;t246;C@5;1 $$7,7#20902679421464641399138805415013:code] +[b2503;2 $$8,0#65142375456100023862071332075487:separator] +[*@(0.0.255)2 $$9,0#83433469410354161042741608181528:base] +[t4167;C2 $$10,0#37138531426314131251341829483380:class] +[l288;a17;*1 $$11,11#70004532496200323422659154056402:requirement] +[i417;b42;a42;O9;~~~.416;2 $$12,12#10566046415157235020018451313112:tparam] +[b167;C2 $$13,13#92430459443460461911108080531343:item1] +[i288;a42;O9;C2 $$14,14#77422149456609303542238260500223:item2] +[*@2$(0.128.128)2 $$15,15#34511555403152284025741354420178:NewsDate] +[l321;*C$7;2 $$16,16#03451589433145915344929335295360:result] +[l321;b83;a83;*C$7;2 $$17,17#07531550463529505371228428965313:result`-line] +[l160;t4167;*C+117 $$18,5#88603949442205825958800053222425:package`-title] +[{_}%EN-US +[s2; About Updater&] +[s0; Updater.exe and related CtrlLib routines can save a lot of maintainance +costs when deploying new application versions at large client`'s +side.&] +[s0; &] +[s0; The ideas is this: New version is placed to the network drive. +When user starts his local application, it checks network directory +for the new version. If there is any, application starts updater +and exits. Updater overwrites current version with new one and +restarts it. Note that the need for updater is caused by fact +that .exe cannot overwrite itself.&] +[s0; &] +[s0; See CtrlLib/Update for details.&] +[s0; &] +[s0; Now the funny part is that it can update even more than itself +`- it is used to update any files in app directory. So updater.exe +itself is updated by application. Last development has gone even +so far, that Oracle client installation is `"updated`", that +in fact means that deploying our Oracle apps can be done by copying +two files to clients directory `- app itself and `"q.ini`" file, +which basically contains information about network directory +in UPDATE`=[/ path ]entry.&] +[s0; &] +[s0; Example `- this is how some of our app GUI`_APP`_MAIN looks +like:&] +[s0; &] +[s7; GUI`_APP`_MAIN&] +[s7; `{&] +[s7; -|SelfUpdate(); // SelfUpdate updates updater.exe first and then +app itself&] +[s7; -|UpdateFile(`"cs`-cz.scd`"); // Update czech spelling checker&] +[s7; -|UpdateFile(`"logo.bmp`"); // Update company logo to be used +in reports&] +[s0; &] +[s0; &] +[s0; ] \ No newline at end of file