
;***************************************************************************
;* XTreeGold for Windows installation Script                             *
;* FOR VERSION 3.3 OF SYMANTEC INSTALL FOR WINDOWS                        *
;***************************************************************************

[InstallVersion]
3.1

[process]

;//////////////////////////////
;// SetProduct
;//////////////////////////////

switch01=TRUE   ;XTreeGold for Windows 4.0
;switch01=FALSE ;PCTW File Manager 3.0


;//////////////////////////////
;// Background Bitmaps
;//////////////////////////////


#if(switch01)
    Bitmaps(Pix_XTG)
#else
    Bitmaps(Pix_FM)
#endif


;//////////////////////////////
;// Initialization            
;//////////////////////////////

SetActiveCopy(XTGWinCopy, install.inf)

Backup(supp3dll)        ;copy custom dll to Windows dir

#if(switch01)
    VersionSearch(Version_XTG)
#else
    VersionSearch(Version_FM)
#endif

GetPrevVerSize()

Switch69=FALSE
Switch69=CallProcEx(DisableVSafe)

;switch03 = VerifyIni(Cps3EntryExists)

switch99=TRUE


;//////////////////////////////
;// Drive Selection
;//////////////////////////////

:drivesel
TargetDrive()

switch03 = Exists(WNCPS1)
switch04 = Exists(WNCPS2)

switch05 = FALSE        ;Flat installation

#if(switch03)
    switch05 = TRUE     ;Use Subdir's
#endif

#if(switch04)
    switch05 = TRUE     ;Use subdir's
#endif
                

#if(switch05)    
    ResetTarget(SetDataDirSub)
    ResetTarget(SetLangDirSub)
    ResetTarget(SetSystemDirSub)
#else
    ResetTarget(SetDataDirFlat)
    ResetTarget(SetLangDirFlat)
    ResetTarget(SetSystemDirFlat)
#endif

;//////////////////////////////
;// Disk Space Checking
;//////////////////////////////

:checkspace
switch95 = FALSE
switch96 = FALSE

switch99 = CheckDiskSpace(TARGET)

#ifnot(switch99)                                        ;not enough space
    DiskSpaceError(NoSpace)         ;ask user what to do  -  see [NoSpace]
#endif

#if(switch95)
    goto(drivesel)          ;change install directory
#endif


;//////////////////////////////
;// Verify Overwrite of Previous
;//////////////////////////////

switch31 = Exists(WNCPS1)
switch32 = Exists(WNCPS2)
switch33 = Exists(WNCPS3)

#ifnot(switch31)
    #ifnot(switch32)
        #ifnot(switch33)
            goto(begincopy)
        #endif
    #endif
#endif

switch34 = MessageYesNo(OverwritePrevious)
#ifnot(switch34)
    goto(drivesel)                  ;change install directory
#endif


;//////////////////////////////
;// Copy the files
;//////////////////////////////

:begincopy
CreateDirectory(DataDir)
CreateDirectory(LangDir)
CreateDirectory(SystemDir)

Delete(AVFiles)
DisableUtils()
copy()
EnableUtils()

;//////////////////////////////
;// Add CPS3 entry to win.ini
;//////////////////////////////

UpdateIni(Cps3Entry)


;//////////////////////////////
;// Modify wnfm.ini
;//////////////////////////////

switch10 = Exists(wnfm_ini)

#if(switch10)                                   ;wnfm.ini already present
    UpdateIni(UpdateFileComp)       ;add new File Companions info to old wnfm.ini
#else
    backup(wnfmtmp)                       ;copy wnfm.tmp to wnfm.ini
    UpdateIni(CpsSection)           ;Create [cps] section of wnfm.ini
#endif

;// Add Viewer entries to wnfm.ini
switch15 = IsOptionSelected(ViewerFormats)
#if(switch15)
    UpdateIni(UpdateViewerFormats)
#endif

switch16 = IsOptionSelected(Graphics)
#if(switch16)
    UpdateIni(UpdateGraphics)
#endif

switch17 = IsOptionSelected(Database)
#if(switch17)
    UpdateIni(UpdateDatabase)
#endif

switch18 = IsOptionSelected(Spreadsheet)
#if(switch18)
    UpdateIni(UpdateSpreadsheet)
#endif

switch19 = IsOptionSelected(TextViewers)
#if(switch19)
    UpdateIni(UpdateTextViewers)
#endif

switch20 = IsOptionSelected(MiscViewers)
#if(switch20)
    UpdateIni(UpdateMiscViewers)
#endif

;// Set wnfm mode
#if(switch01)
    UpdateIni(xtgmode)
#else
    UpdateIni(fmmode)
#endif


;//////////////////////////////
;// ReplaceOldFSV2
;//////////////////////////////

switch69=CallProcEx(ReplaceFSV2)


;//////////////////////////////
;// Create program groups
;//////////////////////////////

#if(switch01)
    Groups(Groups_XTG)
#else
    Groups(Groups_FM)
#endif


;//////////////////////////////
;// Load File Companions?
;//////////////////////////////

RemoveFromLoad(RemoveFC)

switch40 = MessageYesNo(LoadFC_YesNo)
#if(switch40)
    UpdateIni(AddFCtoLoadLine)
#endif


;//////////////////////////////
;// VXD's for 32bit file access
;//////////////////////////////

switch51 = Exists(vfat)
#if(switch51)
    AddToIni(vfathlp)
#endif


;//////////////////////////////
;// Associate .ZIP w/wnfm.exe
;//////////////////////////////

UpdateIni(AddZipToExt)


;//////////////////////////////
;// Clean Up
;//////////////////////////////

Switch69=CallProcEx(EnableVSafe)
delete(Leftovers)


;//////////////////////////////
;// Say goodbye
;//////////////////////////////

switch13 = IsRebootRequested()    ;have startup files changed?

#if(switch13)
    #if(switch01)
        EndNoRestart(byereboot_XTG)
    #else
        EndNoRestart(byereboot_FM)
    #endif
#else
    #if(switch01)
        End(bye_XTG)
    #else
        End(bye_FM)
    #endif
#endif


end()


;***************************************************************************
;* SubProc Executed When Install Takes Over As Shell
;***************************************************************************

[ShellSubProc]
Delete(AVFiles)
switch86 = VerifyIni(PCTWDesktopIsShell)
Return


;***************************************************************************
;* Dialog Info                                                             *
;***************************************************************************

[Version_XTG]
caption = "Searching for Compatible Product"
text1   = "Searching for a previous installation"
text2   = "of a compatible Central Point product."
appname = "wncps3.dll"
apppath = C:\XTGWIN

[Version_FM]
caption = "Searching for Compatible Product"
text1   = "Searching for a previous installation"
text2   = "of a compatible Central Point product."
appname = "wncps3.dll"
apppath = C:\CPS

[XTGWinCopy:CopyDialog]
caption = "Copying files..."
posx = 0
posy = 0

[TargetDrive]
caption = "Select Installation Directory"
defpath = C:\CPS
text    = "Please select the directory to which you wish to install this product."
reqspace= "Approximate disk space required:"

[NoSpace]
caption = "Insufficient Disk Space"
text    = idstext
radio1  = "&Change Drive"
radio2  = "C&ontinue Installation"
descrip1= "Choose this option to select another drive with sufficient disk space."
descrip2= "Choose this option to proceed with installation without regard to avaialble disk space.  WARNING: This option may result in an incomplete installation."
AllowContinue= 0

[idstext]
"There is insufficent disk space on the"
"current target drive (%c:).  The drive"
"has %u KB of space available, but the"
"installation will require approximately"
"%u KB.  Please choose one of the options"
"below or exit installation and delete"
"files to free more space."


;***************************************************************************
;* Message Text                                                            *
;***************************************************************************

[cancel]
caption = "Exit Install?"
text    = "Are you sure that you want to exit?"

[cancelshell]
caption = "Exit Install?"
"You have chosen to cancel the Install"
"program. In order to reset the Windows"
"environment, Install will also close"
"Windows. Are you sure you want to exit?"

[FileCopy]
copycaption             = "Installing Files"
errorcaption    = "Error Copying Files"
insertcaption   = "Insert Diskette"
Message                 = MessageText

[bye_XTG]
caption = "Installation Complete"
"XTreeGold for Windows has been"
"successfully installed."
" "
"Please select one of the exit options below."

[byereboot_XTG]
caption = "Installation Complete"
"XTreeGold for Windows has been"
"successfully installed."
" "
"Please select one of the exit options"
"below. Rebooting is recommended so that"
"changes made to your startup files can"
"take effect."

[bye_FM]
caption = "Installation Complete"
"PC Tools for Windows File Manager 3.0"
"has been successfully installed."
" "
"Please select one of the exit options below."

[byereboot_XTG]
caption = "Installation Complete"
"PC Tools for Windows File Manager 3.0"
"has been successfully installed."
" "
"Please select one of the exit options"
"below. Rebooting is recommended so that"
"changes made to your startup files can"
"take effect."

[WindowsVersion]
3.10
"This product requires"
"Windows 3.1 or greater."

[NotImplemented]
caption = "Feature Not Implemented"
"This feature has not yet been implemented."

[OverwritePrevious]
caption = "Overwrite Previous Files?"
"Install has detected previous versions"
"of files used by this product in the"
"directory you have chosen. Do you wish"
"to overwrite them with the new versions?"

[LoadFC_YesNo]
caption = "Automatically Load File Companions?"
"File Companions add file management"
"capabilities to your applications'"
"Open and Save dialogs. Do you wish to"
"have them automatically loaded each time"
"you start Windows?"


;***************************************************************************
;* System.ini Additions                                                    *
;***************************************************************************

[vfathlp]
IniName = system.ini
SectionName = 386enh
device = vfathlp.386
device = cp32sup.386


;***************************************************************************
;* System.ini Deletions                                                    *
;***************************************************************************


;***************************************************************************
;* Win.ini Additions                                                       *
;***************************************************************************

[Cps3Entry]
IniName = win.ini
SectionName = CPS
cps3 = %s\wnfm.ini, TARGET2

[AddFCtoLoadLine]
IniName= win.ini
SectionName = windows
load = %s\wnfc.exe, TARGET, append

[AddZipToExt]
IniName = win.ini
SectionName = extensions
zip = "%s\wnfm.exe ^.zip", TARGET


;***************************************************************************
;* Win.ini Deletions                                                       *
;***************************************************************************

[RemoveFC]
wnfc.exe


;***************************************************************************
;* wnfm.ini Modifications                                                  *
;***************************************************************************

[UpdateFileComp]
IniName = %s\wnfm.ini, TARGET2
SectionName = FileCompanions
"&Copy File"="WNAPCPY.EXE %file% /DEFD=%dir% /TOP /MI-"
"&Move File"="WNAPMOV.EXE %file% /DEFD=%dir% /TOP /MI-"
"&Rename File"="WNAPREN.EXE %file% /DEFD=%dir% /TOP /MI-"
"&Delete File"="WNAPDEL.EXE %file% /DEFD=%dir% /TOP /MI-"
"C&ompress File"="WNAPCMP.EXE %file% /DEFD=%dir% /TOP /MI-"
"&Expand File"="WNAPEXP.EXE %file% /DEFD=%dir% /TOP /MI-"
"&View File"="WNFV.EXE %file% /DEFD=%dir% /TOP"
"Cre&ate Directory"="WNAPMKD.EXE /DEFD=%dir% /TOP /MI-"
"&Format Disk"="WNAPFMT.EXE %drive% /TOP /MI-"
"&SmartFind"="WNFM /SF %dir%"
"C&lose File Companions"=dummy.exe
SectionName = FileCompanionDlgs
CommonDlgOpen="COMMDLG.DLL,,,FileOpenDlgProc,,,,,,,1152,1088,1121"
CommonDlgSave="COMMDLG.DLL,,,FileSaveDlgProc,,,,,,,1152,1088,1121"
FileDlgsBrowse2=",,,,CPS_FileList2,112,CPS_DirTree2,109,,,105,106,100"
FileDlgsBrowse3=",,,,CPS3_FileList,112,CPS3_DirTree,109,,,105,106,100"
MSExcel5=",bosa_sdm_XL,,,EDTBX,4864,,,,,4864,,"
MSWord6=",bosa_sdm_Microsoft Word 6.0,,,OpusFedt,1818,,,,,1818,,"
AmiPro="AMIPROUI.DLL,,,,static,50,,,,,60,50,"
QuattroProFile=",QPWDialogWdw,File,,,,,,,,,,"
QuattroProWS=",QPWDialogWdw,Workspace,,,,,,,,,,"

[UpdateViewerFormats]
IniName = %s\wnfm.ini, TARGET2
SectionName = "ScreenCapture3.FormatLibs"
WNTLDTH3.dll="Dithering Transformation Library"
SectionName = "Viewer3.ClipFormatLibs"
wnfl2bm3.dll="Vector-to-DIB conversion library"
SectionName = "Viewer3.FormatLibs"
WNTLDTH3.dll="Dithering Transformation Library"
wnfl2bm3.dll="Vector-to-DIB conversion library"

[UpdateTextViewers]
IniName = %s\wnfm.ini, TARGET2
SectionName = "Viewer3.ClipFormatLibs"
wnfltxt3.dll="TXT,DOC,BAT,INI,RTF: Plain text"
wnflrtf3.dll="RTF: Rich Text Format"
SectionName = "Viewer3.FormatLibs"
wnflfon3.dll="FON,FOT,TTF: Font Viewer"
wnflrtf3.dll="RTF: Rich Text Format"
wnflwri3.dll="WRI: Windows Write"
wnflwfw3.dll="DOC,DOX,SAM,TXT,WP: Formatted text viewers hub"
wnfltxt3.dll="TXT,DOC,BAT,INI,RTF: Plain text"

[UpdateMiscViewers]
IniName = %s\wnfm.ini, TARGET2
SectionName = "Viewer3.FormatLibs"
wnfldsk3.dll="DSK: PC Tools DiskCopy Image File"
wnflzip3.dll="ZIP,ARC,PAK,ZOO,LZH,EXE: Archive formats"
wnflexe3.dll="EXE,DLL,CPL,RSL,DRV,386: Executable file viewer"
wnflwav3.dll="WAV: Waveform Audio File Format"
wnflhex3.dll="Hex file viewer"

[UpdateGraphics]
IniName = %s\wnfm.ini, TARGET2
SectionName = "ScreenCapture3.FormatLibs"
wnflbmp3.dll="BMP,DIB,RLE: Windows 2 & 3, OS/2 Bitmap"
wnflgif3.dll="GIF: Compuserve Graphics Interchange Format"
wnfltif3.dll="TIF: Tagged Image File Format"
SectionName = "Viewer3.ClipFormatLibs"
wnflbmp3.dll="BMP,DIB,RLE: Windows 2 & 3, OS/2 Bitmap"
SectionName = "Viewer3.FormatLibs"
wnflbmp3.dll="BMP,DIB,RLE: Windows 2 & 3, OS/2 Bitmap"
wnflcdr3.dll="CDR: Corel Draw 2.x, 3.0"
wnflcgm3.dll="CGM,GMF: Computer Graphics Metafile"
wnflhgr3.dll="CH3,SY3: Harvard Graphics Chart"
wnfldrw3.dll="DRW: Micrografx Drawing"
wnfldxf3.dll="DXF: Autodesk Image"
wnfleps3.dll="EPS: Encapsulated PostScript"
wnflgif3.dll="GIF: Compuserve Graphics Interchange Format"
wnflicl3.dll="ICL,NIL: Windows 3.x Icon Library"
wnflico3.dll="ICO: Windows 3.x Icon"
wnflimg3.dll="IMG: GEM Bitmap"
wnfljpg3.dll="JPG,JFF: JPEG/JFIF"
wnflmac3.dll="MAC: MacPaint"
wnflmsp3.dll="MSP: Microsoft Paint"
wnflpcx3.dll="PCX,PCC: PC Paintbrush"
wnflpic3.dll="PIC: Lotus Picture"
wnfltif3.dll="TIF: Tagged Image File Format"
wnflwmf3.dll="WMF: Windows Metafile"
wnflwpg3.dll="WPG: WordPerfect Graphics"
wnfldwg3.dll="DWG: AutoCAD Drawing"

[UpdateDatabase]
IniName = %s\wnfm.ini, TARGET2
SectionName = "Viewer3.FormatLibs"
wnflpdx3.dll="DB:  Paradox Database"
wnfldbf3.dll="DBF: dBase II, III, IV"

[UpdateSpreadsheet]
IniName = %s\wnfm.ini, TARGET2
SectionName = "Viewer3.ClipFormatLibs"
wnflcsv3.dll="CSV,DLM: Comma Separated Value"
SectionName = "Viewer3.FormatLibs"
wnflcsv3.dll="CSV,DLM: Comma Separated Value"
wnflqpw3.dll="WB1: Quattro Pro for Windows"
wnflwk33.dll="WK3: Lotus 1-2-3 rls. 3"
wnflwks3.dll="WKS,WK1: Lotus 1-2-3 rls. 1a & rls. 2"
wnflqp3.dll="WKQ,WQ1: Quattro Pro for DOS"
wnflxls3.dll="XLS,XLC,XLM: Microsoft Excel v. 2, 3, 4"

[CpsSection]
IniName = %s\wnfm.ini, TARGET2
SectionName = CPS
BaseDir = %s,TARGET
DataDir = %s,TARGET2
LanguageDir = %s,TARGET3
SystemDir = %s,TARGET4

[xtgmode]
IniName = %s\wnfm.ini, TARGET2
SectionName = "FMGold.Settings"
XTGold = 1
SectionName = "FMGold.ViewTabs.Default"
Misc = "3,1,404,a00b,5004,36,0,0,0,0,0,0,0"

[fmmode]
IniName = %s\wnfm.ini, TARGET2
SectionName = "FMGold.Settings"
XTGold = 0


;***************************************************************************
;* Ini Verifications                                                       *
;***************************************************************************

[Cps3EntryExists]
IniName = win.ini
SectionName = cps
cps3 = *

[PCTWDesktopIsShell]
IniName = system.siw
SectionName = boot
shell = *wndt*


;***************************************************************************
;* File Exist verifications
;***************************************************************************

[wncps1]
wncps1.dll, TARGET

[wncps2]
wncps2.dll, TARGET

[wncps3]
wncps3.dll, TARGET

[wnfm_ini]
wnfm.ini, TARGET2

[vfat]
vfat.386, SYSTEM

[pipeline_ini]
pipeline.ini, TARGET2


;***************************************************************************
;* Delete Files                                                            *
;***************************************************************************

[Leftovers]
supp3.dll,              WINDOWS
wnfm.tmp,     TARGET2
smartchk.cps,   TARGET
chklist.cps,    TARGET
smartchk.cps,   TARGET2
chklist.cps,    TARGET2
smartchk.cps,   TARGET3
chklist.cps,    TARGET3
smartchk.cps,   TARGET4
chklist.cps,    TARGET4
smartchk.cps,   SYSTEM
chklist.cps,    SYSTEM
smartchk.cps,   WINDOWS
chklist.cps,    WINDOWS
setup.exe,      SYSTEM

[AVFiles]
smartchk.cps,   TARGET
chklist.cps,    TARGET
smartchk.cps,   TARGET2
chklist.cps,    TARGET2
smartchk.cps,   TARGET3
chklist.cps,    TARGET3
smartchk.cps,   TARGET4
chklist.cps,    TARGET4
smartchk.cps,   SYSTEM
chklist.cps,    SYSTEM
smartchk.cps,   WINDOWS
chklist.cps,    WINDOWS


;***************************************************************************
;* External function calls                                                 *
;***************************************************************************

[ReplaceFSV2]
dll=supp3.dll
function=supp_ReplaceOldFsv

[DisableVSafe]
dll=supp3.dll
function=supp_DisableVSafe

[EnableVSafe]
dll=supp3.dll
function=supp_EnableVSafe


;***************************************************************************
;* Misc install functions                                                  *
;***************************************************************************

[Pix_XTG]
color = %s\bigred.rle
color = %s\xtgpic.rle
color = %s\xtg.rle, 1, 1
color = %s\cpslogo.rle, -1, 1

[Pix_FM]
color = %s\bigred.rle
color = %s\fm.rle, 1, 1
color = %s\cpslogo.rle, -1, 1

[SetDataDirSub]
Reset   = TARGET2
Location= %s, TARGET

[SetLangDirSub]
Reset   = TARGET3
Location= %s\english, TARGET

[SetSystemDirSub]
Reset   = TARGET4
Location= %s\system, TARGET

[SetDataDirFlat]
Reset   = TARGET2
Location= %s, TARGET

[SetLangDirFlat]
Reset   = TARGET3
Location= %s, TARGET

[SetSystemDirFlat]
Reset   = TARGET4
Location= %s, TARGET

[DataDir]
%s ,TARGET2

[LangDIr]
%s, TARGET3

[SystemDir]
%s, TARGET4


;***************************************************************************
;* File backup                                                             *
;***************************************************************************

[supp3dll]
supp3.dll, supp3.dll, SOURCE, WINDOWS

[wnfmtmp]
wnfm.tmp, wnfm.ini, TARGET2, TARGET2


;***************************************************************************
;* Config.sys mods                                                         *
;***************************************************************************


;***************************************************************************
;* Autoexec Mods                                                           *
;***************************************************************************


;***************************************************************************
;* SetShell section                                                        *
;***************************************************************************

[SetShell]
WinIniName = win.ini
SystemIniName = system.ini
Message = MessageBox.SetShellMessage
SysSectionName = boot
WinSectionName = windows
shell = %s\setup.exe
load =
run =
SetShellIfLoaded=
Backup = Backup.SetShellSave
Restore= Backup.SetShellRestore
Active = yes
IfActiveList=LoadedList
SubProcess=ShellSubProc

[SetShellSave]
win.ini, win.siw, WINDOWS, WINDOWS
system.ini, system.siw, WINDOWS, WINDOWS

[SetShellRestore]
system.siw, system.ini, WINDOWS, WINDOWS
win.siw, win.ini, WINDOWS, WINDOWS 

[LoadedList]
wncps1.dll
wncps2.dll
wncps3.dll

[SetShellMessage]
caption = "Install Program"
"Welcome to Install.  You are currently"
"running programs that may need to be"
"overwritten during installation.  Please
"select OK to allow Install to restart"
"Windows and continue the installation."
"Press Cancel if you wish to exit Install."


;***************************************************************************
;* Groups                                                                  *
;***************************************************************************

[Groups_XTG]
"XTreeGold for Windows 4.0", xtgwin4.grp

[XTreeGold for Windows 4.0]
"Read Me",                      readme.wri,             RequiredFiles
"XTreeGold",                    wnfm.exe,               FileManager, 1,, wnfm.exe, TARGET
"File Companions",              wnfc.exe,               FileCompanions
"File Viewer",                  wnfv.exe,               ViewerApp
"File Compare",                 wnapcom.exe,            FileApplets
"Synchronize Directories",      wnapsyn.exe,            FileApplets
"SmartFind",                    "wnfm.exe /SF",         FileManager, 2,, wnfm.exe, TARGET
"Uninstall XTreeGold for Windows 4.0",    "setup.exe /u",RequiredFiles, 1,, instbin.exe, TARGET

[Groups_FM]
"PCTW File Manager 3.0", pctwfm3.grp

[PCTW File Manager 3.0]
"Read Me",                      readme.wri,             RequiredFiles
"File Manager",                 wnfm.exe,               FileManager
"File Companions",              wnfc.exe,               FileCompanions
"File Viewer",                  wnfv.exe,               ViewerApp
"File Compare",                 wnapcom.exe,            FileApplets
"Synchronize Directories",      wnapsyn.exe,            FileApplets
"SmartFind",                    "wnfm.exe /SF",         FileManager, 2,, wnfm.exe, TARGET
"Uninstall PCTW File Manager 3.0",    "setup.exe /u",RequiredFiles, 1,, instbin.exe, TARGET


;***************************************************************************
;* Copy                                                                    *
;***************************************************************************

[XTGWinCopy]
;SelectionType.ComponentName,   "SelectionDlgText",                             Size,   Required?,      FilesButton?,   ShowItem?

CopyMain.RequiredFiles,                 "Required Files - %ldK",                        0,              Y,      N,      Y

CopyMain.FileManager,                   "File Manager Gold - %ldK",                     0,              N,      N,      Y

CopyMain.OtherStuff,                    "Other Stuff - %ldK",                           0,              N,      Y,      Y
CopySub.ViewerApp,              "File Viewer Application - %ldK",                       0
CopySub.FileCompanions,         "File Companions - %ldK",                       0
CopySub.FileApplets,            "File Accesories - %ldK",                       0

CopyMain.ViewerFormats,         "File Viewers - %ldK",                          0,              N,      Y,      Y
CopySub.Graphics,               "Graphics Viewers - %ldK",                      0
CopySub.TextViewers,            "Text Viewers - %ldK",                          0
CopySub.Spreadsheet,            "Spreadsheet Viewers - %ldK",                           0
CopySub.Database,               "Database Viewers - %ldK",                      0
CopySub.MiscViewers,            "Misc Viewers - %ldK",                          0
