said: 
>In 
><20020731022850.YQYR11089.mtiwmhc22.worldnet.att.net@mailhost.worldnet.att.net>, 
>on 07/30/02  
>   at 06:29 PM, jack.huffman@worldnet.att.net said: 
>>I am running v. 1.76b, and must install full version 1.80 before 
>>installing the latest beta version, 1.94a. 
>>My memory says that I just unzip the zip file containing v 1.80 in the 
>>folder containing ZTB 1.76b, reset the configuration parameters, then 
>>unzip the zip file for v 1.94a in the same folder and reset the 
>>configuration parameters again. 
>>Is my memory correct? 
>Yes, except for the beta version: 
>  ZTreeBold - Version 1.94a.2 
>I've been trying to keep Kim busy. :-)  Just install v1.94a.  I doubt 
>you'll find the defects fixed by v1.94a.2. 
>Steven 
Steven, 
Thanks for confirming my memory and for pushing Kim Henkel. 
Your reply and Jordan Fox's recommendation that I reinstall Ezirc over the 
existing copy to get a new icon with the missing file and other properties 
set me to thinking. 
I understand that some programs are self contained, i.e. the ini file is 
in the folder with the program files and no entries except the desktop 
object appear in os2.ini and/or os2sys.ini.  But why doesn't unzipping ZTB 
 v. 1.80 from an os/2 window create a second icon in my Utilities folder  
where there was a ZTB icon before, in some other folder, or on the 
desktop? 
After unzipping v 1.80 in the directory that previously held 1.76b, there 
were 4 new  files and 4 files they obviously replaced based on the names 
(history.txt/history.doc) and dates of the files.  Obviously I deleted the 
old ones.  But could I have deleted all the files in the directory 
containing 1.76b, unzipped v. 1.80 in a another directory, and copied the 
latter files into the empty directory?   Or would deleting ztb.exe have 
resulted in the destruction of the icon I have somewhere and shadow I have 
in Warp Center? 
In the case of EZirc, I have a directory containing all of the necessary 
files.  (I know this is true because I have gotten to the last two 
Wednesday night sessions from the command line and used the software.)  
There is an EZirc sub-directory in my Connections directory.  It contains 
the EZirc help file but no icon for the program itself. 
EZirc installation is via a REXX script, setup.cmd.  It apparently unpacks 
a zip file containing all of the files, so the replace, etc. option for 
each unzipped file provides control over what files are overwritten.  Will 
running the install program simply add the program icon to the existing 
EZIrc folder or the desktop?  Or will it create another EZirc folder 
containing the program icon and the help file?  Why? 
The portion of setup.cmd before the procedures section looks like this--if 
you don't have access to the program. 
/*    Setup script for EZirc 
  Creates folder and various other objects 
  Adjust paths in INI and scripts for INSTALL path. 
*/ 
Call Init 
Setup: 
call getkeypress 
if proceed = "QUIT" then signal end 
if proceed = "NO" then signal setup 
Lets_Go: 
say '     * Please wait while EZirc is installed to 'dir 
say ' ' 
/* Check that destination exists, if not make it. */ 
call Directory_Make 
/* Define Files to setup on the desktop */ 
docs = dir"\html\EZIRC.HTM" 
exename = dir'\EZIRC.EXE' 
say '     Unpacking Distribution Package to 'dir 
'@unzip install -d 'dir' > nul' 
say '     Customizing the INI' 
call ModifyINI 
say '     Customizing paths in scripts.' 
call ModifyScripts 
say '     Creating WPS objects' 
call CreateObjects 
call SysOpenObject "","DEFAULT","TRUE" 
End: 
say '     ALL DONE!' 
return 
/* ===================================================== */ 
/*               procedures below here.                  */ 
/* ===================================================== */ 
The part of the procedure (again if you don't have the script) that seems 
to relate to creating the folder and objects in it is: 
ProcessFile: 
call loadfile 
call SearchnReplace 
Call savefile 
return 
CreateObjects: 
    If  SysCreateObject("WPFolder","EZirc for Os/2 
","","OBJECTID=") then 
    do 
          If SysCreateObject("WPProgram", "EZirc", 
"","EXENAME="exename";STARTUPDIR="dir";PROGTYPE=PM")  Then 
          do 
               Say '     Folder and program objects have been created' 
               url1 = 'file:///'docs 
               rc = SysCreateObject( 'WPUrl', 'EZirc Manual', 
'', 'OBJECTID=;URL='url1';', 'replace' ) 
          end 
          Else 
             Say '     * Could not create program object' 
    End 
    Else 
       Say '     * Could not create folder ' 
Jack 
----------------------------------------------------------- 
jack.huffman@worldnet.att.net 
----------------------------------------------------------- 
===================================================== 
To unsubscribe from this list, send an email message 
to "steward@scoug.com". In the body of the message, 
put the command "unsubscribe scoug-help". 
For problems, contact the list owner at 
"rollin@scoug.com". 
===================================================== 
<< Previous Message << 
 >> Next Message >>
Return to [ 02 | 
August | 
2002 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.