*** win/tcl82plus.wse.orig	Sun Jan 16 17:43:06 2000
--- win/tcl82plus.wse	Sun Jan 16 17:43:52 2000
***************
*** 0 ****
--- 1,1089 ----
+ Document Type: WSE
+ item: Global
+   Version=6.0
+   Flags=00010100
+   Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+   Japanese Font Name=MS Gothic
+   Japanese Font Size=10
+   Progress Bar DLL=%_WISE_%\Progress\WIZ%_EXE_OS_TYPE_%.DLL
+   Start Gradient=0 0 255
+   End Gradient=0 0 0
+   Windows Flags=00000100000000010010110000011000
+   Log Pathname=%MAINDIR%\INSTALL.LOG
+   Message Font=MS Sans Serif
+   Font Size=8
+   Disk Filename=SETUP
+   Patch Flags=0000000000000001
+   Patch Threshold=85
+   Patch Memory=4000
+   FTP Cluster Size=20
+   Per-User Version ID=1
+   Dialogs Version=6
+   Variable Name1=_SYS_
+   Variable Default1=C:\WINNT\System32
+   Variable Flags1=00001000
+   Variable Name2=_WISE_
+   Variable Default2=C:\Program Files\Wise
+   Variable Flags2=00001000
+   Variable Name3=_ODBC16_
+   Variable Default3=C:\WINNT\System32
+   Variable Flags3=00001000
+   Variable Name4=_ODBC32_
+   Variable Default4=C:\PROGRA~1\Wise\Runtime\ODBC30
+   Variable Flags4=00001000
+ end
+ item: Open/Close INSTALL.LOG
+   Flags=00000001
+ end
+ item: Check if File/Dir Exists
+   Pathname=%SYS32%
+   Flags=10000100
+ end
+ item: Set Variable
+   Variable=SYS32
+   Value=%WIN%
+ end
+ item: End Block
+ end
+ item: Set Variable
+   Variable=APPTITLE
+   Value=Tcl/Tk 8.2.3 for Windows
+   Flags=10000000
+ end
+ item: Set Variable
+   Variable=GROUP
+   Value=Tcl
+   Flags=10000000
+ end
+ item: Set Variable
+   Variable=DISABLED
+   Value=!
+ end
+ item: Set Variable
+   Variable=MAINDIR
+   Value=Tcl
+   Flags=10000000
+ end
+ item: Check Configuration
+   Flags=10111011
+ end
+ item: Get Registry Key Value
+   Variable=COMMON
+   Key=SOFTWARE\Microsoft\Windows\CurrentVersion
+   Default=C:\Program Files\Common Files
+   Value Name=CommonFilesDir
+   Flags=00000100
+ end
+ item: Get Registry Key Value
+   Variable=PROGRAM_FILES
+   Key=SOFTWARE\Microsoft\Windows\CurrentVersion
+   Default=C:\Program Files
+   Value Name=ProgramFilesDir
+   Flags=00000100
+ end
+ item: Set Variable
+   Variable=MAINDIR
+   Value=%PROGRAM_FILES%\%MAINDIR%
+   Flags=00001100
+ end
+ item: Set Variable
+   Variable=EXPLORER
+   Value=1
+ end
+ item: Else Statement
+ end
+ item: Set Variable
+   Variable=MAINDIR
+   Value=C:\%MAINDIR%
+   Flags=00001100
+ end
+ item: End Block
+ end
+ item: Set Variable
+   Variable=BACKUP
+   Value=%MAINDIR%\BACKUP
+   Flags=10000000
+ end
+ item: Set Variable
+   Variable=DOBACKUP
+   Value=B
+   Flags=10000000
+ end
+ item: Set Variable
+   Variable=COMPONENTS
+   Value=AC
+   Flags=10000000
+ end
+ item: Set Variable
+   Variable=BRANDING
+   Value=0
+ end
+ item: If/While Statement
+   Variable=BRANDING
+   Value=1
+ end
+ item: Read INI Value
+   Variable=NAME
+   Pathname=%INST%\CUSTDATA.INI
+   Section=Registration
+   Item=Name
+ end
+ item: Read INI Value
+   Variable=COMPANY
+   Pathname=%INST%\CUSTDATA.INI
+   Section=Registration
+   Item=Company
+ end
+ item: If/While Statement
+   Variable=NAME
+ end
+ item: Set Variable
+   Variable=DOBRAND
+   Value=1
+ end
+ item: End Block
+ end
+ item: End Block
+ end
+ item: Display Graphic
+   Pathname=..\..\..\Tclplus.bmp
+   X Position=16384
+   Y Position=16384
+   Flags=0000000000000010
+ end
+ item: Wizard Block
+   Direction Variable=DIRECTION
+   Display Variable=DISPLAY
+   Bitmap Pathname=%_WISE_%\DIALOGS\TEMPLATE\WIZARD.BMP
+   X Position=9
+   Y Position=10
+   Filler Color=8421440
+   Dialog=Select Program Manager Group
+   Dialog=Select Backup Directory
+   Dialog=Display Registration Information
+   Dialog=Get Registration Information
+   Variable=EXPLORER
+   Variable=DOBACKUP
+   Variable=DOBRAND
+   Variable=DOBRAND
+   Value=1
+   Value=A
+   Value=1
+   Value=1
+   Compare=0
+   Compare=1
+   Compare=0
+   Compare=1
+   Flags=00000011
+ end
+ item: Custom Dialog Set
+   Name=Welcome
+   Display Variable=DISPLAY
+   item: Dialog
+     Title=Welcome
+     Width=280
+     Height=224
+     Font Name=Helv
+     Font Size=8
+     item: Push Button
+       Rectangle=172 185 214 199
+       Variable=DIRECTION
+       Value=N
+       Create Flags=01010000000000010000000000000001
+       Text=&Next >
+     end
+     item: Push Button
+       Rectangle=222 185 264 199
+       Action=3
+       Create Flags=01010000000000010000000000000000
+       Text=Cancel
+     end
+     item: Static
+       Rectangle=9 177 263 178
+       Action=3
+       Create Flags=01010000000000000000000000000111
+     end
+     item: Static
+       Rectangle=83 8 121 33
+       Action=2
+       Enabled Color=00000000000000001111111111111111
+       Create Flags=01010000000000000000000000001011
+       Pathname=%_WISE_%\dialogs\template\install.grf
+     end
+     item: Static
+       Rectangle=121 10 258 44
+       Enabled Color=00000000000000001111111111111111
+       Create Flags=01010000000000000000000000000000
+       Text=Welcome to %APPTITLE% Setup program. This program will install %APPTITLE% (with plus-, dash-, Img-, and elide- patch) on your computer.
+     end
+     item: Static
+       Rectangle=90 45 260 175
+       Enabled Color=00000000000000001111111111111111
+       Create Flags=01010000000000000000000000000000
+       Text=It is strongly recommended that you exit all Windows programs before running this Setup Program.
+       Text=
+       Text=Click Cancel to quit Setup and close any programs you have running.  Click Next to continue with the Setup program.
+       Text=
+       Text=This software is provided 'as-is', without any express or implied warranty.  In no event will the author(s) be held liable for any damages arising from the use of this software.
+       Text=
+       Text=Permission is granted to anyone to use this software for any purpose, including commercial applications, and redistribute it freely.
+     end
+   end
+ end
+ item: Custom Dialog Set
+   Name=Select Destination Directory
+   Display Variable=DISPLAY
+   item: Dialog
+     Title=Choose Destination Location
+     Width=280
+     Height=224
+     Font Name=Helv
+     Font Size=8
+     item: Push Button
+       Rectangle=172 185 214 199
+       Variable=DIRECTION
+       Value=N
+       Create Flags=01010000000000010000000000000001
+       Text=&Next >
+     end
+     item: Push Button
+       Rectangle=130 185 172 199
+       Variable=DIRECTION
+       Value=B
+       Create Flags=01010000000000010000000000000000
+       Flags=0000000000000001
+       Text=< &Back
+     end
+     item: Push Button
+       Rectangle=222 185 264 199
+       Action=3
+       Create Flags=01010000000000010000000000000000
+       Text=Cancel
+     end
+     item: Static
+       Rectangle=9 177 263 178
+       Action=3
+       Create Flags=01010000000000000000000000000111
+     end
+     item: Static
+       Rectangle=90 10 260 122
+       Create Flags=01010000000000000000000000000000
+       Text=Setup will install %APPTITLE% in the following folder.
+       Text=
+       Text=To install into a different folder, click Browse, and select another folder. 
+       Text=
+       Text=You can choose not to install %APPTITLE% by clicking Cancel to exit Setup.
+     end
+     item: Static
+       Rectangle=90 134 260 162
+       Action=1
+       Create Flags=01010000000000000000000000000111
+       Text=Destination Folder
+     end
+     item: Push Button
+       Rectangle=213 143 255 157
+       Variable=MAINDIR_SAVE
+       Value=%MAINDIR%
+       Destination Dialog=1
+       Action=2
+       Create Flags=01010000000000010000000000000000
+       Text=B&rowse...
+     end
+     item: Static
+       Rectangle=95 146 211 157
+       Destination Dialog=2
+       Create Flags=01010000000000000000000000000000
+       Text=%MAINDIR%
+     end
+   end
+   item: Dialog
+     Title=Select Destination Directory
+     Width=221
+     Height=173
+     Font Name=Helv
+     Font Size=8
+     item: Listbox
+       Rectangle=5 2 160 149
+       Variable=MAINDIR
+       Create Flags=01010000100000010000000101000000
+       Flags=0000110000100010
+       Text=%MAINDIR%
+     end
+     item: Push Button
+       Rectangle=167 6 212 21
+       Create Flags=01010000000000010000000000000001
+       Text=OK
+     end
+     item: Push Button
+       Rectangle=167 25 212 40
+       Variable=MAINDIR
+       Value=%MAINDIR_SAVE%
+       Create Flags=01010000000000010000000000000000
+       Flags=0000000000000001
+       Text=Cancel
+     end
+   end
+ end
+ item: Custom Dialog Set
+   Name=Select Components
+   Display Variable=DISPLAY
+   Flags=00000001
+   item: Dialog
+     Title=Select Components 
+     Width=280
+     Height=224
+     Font Name=Helv
+     Font Size=8
+     item: Push Button
+       Rectangle=172 185 214 199
+       Variable=DIRECTION
+       Value=N
+       Create Flags=01010000000000010000000000000001
+       Text=&Next >
+     end
+     item: Push Button
+       Rectangle=130 185 172 199
+       Variable=DIRECTION
+       Value=B
+       Create Flags=01010000000000010000000000000000
+       Text=< &Back
+     end
+     item: Push Button
+       Rectangle=222 185 264 199
+       Action=3
+       Create Flags=01010000000000010000000000000000
+       Text=Cancel
+     end
+     item: Static
+       Rectangle=9 177 263 178
+       Action=3
+       Create Flags=01010000000000000000000000000111
+     end
+     item: Static
+       Rectangle=205 156 253 166
+       Variable=COMPONENTS
+       Value=MAINDIR
+       Create Flags=01010000000000000000000000000010
+     end
+     item: Static
+       Rectangle=205 148 253 157
+       Variable=COMPONENTS
+       Create Flags=01010000000000000000000000000010
+     end
+     item: Static
+       Rectangle=95 147 184 158
+       Create Flags=01010000000000000000000000000000
+       Text=Disk Space Required:
+     end
+     item: Static
+       Rectangle=95 157 190 167
+       Create Flags=01010000000000000000000000000000
+       Text=Disk Space Remaining:
+     end
+     item: Static
+       Rectangle=90 138 264 168
+       Action=1
+       Create Flags=01010000000000000000000000000111
+     end
+     item: Static
+       Rectangle=90 8 260 41
+       Create Flags=01010000000000000000000000000000
+       Text=In the options list below, select the checkboxes for the options that you would like to have installed.  The disk space fields reflect the requirements of the options you have selected.
+     end
+     item: Listbox
+       Rectangle=90 42 263 133
+       Variable=COMPONENTS
+       Create Flags=01010000101000010000000101010001
+       Flags=0000010001000111
+       Text=Windows Help
+       Text=Demos
+       Text=Development headers & stub libraries
+       Text=Development libraries (VC++ 5.0, no stubs)
+       Text=Development libraries (gcc-2.95, no stubs)
+       Text=
+       Text French=Windows Help
+       Text French=Demos
+       Text French=Development headers & stub libraries
+       Text French=Development libraries (VC++ 5.0, no stubs)
+       Text French=Static libraries (VC++ 5.0, no stubs)
+       Text French=
+       Text German=Windows Help
+       Text German=Demos
+       Text German=Development headers & stub libraries
+       Text German=Development libraries (VC++ 5.0, no stubs)
+       Text German=Static libraries (VC++ 5.0, no stubs)
+       Text German=
+       Text Spanish=Windows Help
+       Text Spanish=Demos
+       Text Spanish=Development headers & stub libraries
+       Text Spanish=Development libraries (VC++ 5.0, no stubs)
+       Text Spanish=Static libraries (VC++ 5.0, no stubs)
+       Text Spanish=
+       Text Italian=Windows Help
+       Text Italian=Demos
+       Text Italian=Development headers & stub libraries
+       Text Italian=Development libraries (VC++ 5.0, no stubs)
+       Text Italian=Static libraries (VC++ 5.0, no stubs)
+       Text Italian=
+     end
+   end
+ end
+ item: Custom Dialog Set
+   Name=Select Program Manager Group
+   Display Variable=DISPLAY
+   item: Dialog
+     Title=Select Program Manager Group
+     Width=280
+     Height=224
+     Font Name=Helv
+     Font Size=8
+     item: Push Button
+       Rectangle=172 185 214 199
+       Variable=DIRECTION
+       Value=N
+       Create Flags=01010000000000010000000000000001
+       Text=&Next >
+     end
+     item: Push Button
+       Rectangle=130 185 172 199
+       Variable=DIRECTION
+       Value=B
+       Create Flags=01010000000000010000000000000000
+       Flags=0000000000000001
+       Text=< &Back
+     end
+     item: Push Button
+       Rectangle=222 185 264 199
+       Action=3
+       Create Flags=01010000000000010000000000000000
+       Text=Cancel
+     end
+     item: Static
+       Rectangle=9 177 263 178
+       Action=3
+       Create Flags=01010000000000000000000000000111
+     end
+     item: Static
+       Rectangle=90 10 260 38
+       Create Flags=01010000000000000000000000000000
+       Text=Enter the name of the Program Manager group to add %APPTITLE% icons to:
+     end
+     item: Combobox
+       Rectangle=90 42 260 148
+       Variable=GROUP
+       Create Flags=01010000001000010000001100000001
+       Flags=0000000000000001
+       Text=%GROUP%
+       Text=
+     end
+   end
+ end
+ item: Custom Dialog Set
+   Name=Start Installation
+   Display Variable=DISPLAY
+   item: Dialog
+     Title=Start Installation
+     Width=280
+     Height=224
+     Font Name=Helv
+     Font Size=8
+     item: Push Button
+       Rectangle=172 185 214 199
+       Variable=DIRECTION
+       Value=N
+       Create Flags=01010000000000010000000000000001
+       Text=&Next >
+     end
+     item: Push Button
+       Rectangle=130 185 172 199
+       Variable=DIRECTION
+       Value=B
+       Create Flags=01010000000000010000000000000000
+       Text=< &Back
+     end
+     item: Push Button
+       Rectangle=222 185 264 199
+       Action=3
+       Create Flags=01010000000000010000000000000000
+       Text=Cancel
+     end
+     item: Static
+       Rectangle=9 177 263 178
+       Action=3
+       Create Flags=01010000000000000000000000000111
+     end
+     item: Static
+       Rectangle=90 10 260 70
+       Create Flags=01010000000000000000000000000000
+       Text=You are now ready to install %APPTITLE%.
+       Text=
+       Text=Press the Next button to begin the installation or the Back button to reenter the installation information.
+     end
+   end
+ end
+ item: If/While Statement
+   Variable=DISPLAY
+   Value=Select Destination Directory
+ end
+ item: Set Variable
+   Variable=BACKUP
+   Value=%MAINDIR%\BACKUP
+ end
+ item: End Block
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=DOBACKUP
+   Value=A
+ end
+ item: Set Variable
+   Variable=BACKUPDIR
+   Value=%BACKUP%
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=BRANDING
+   Value=1
+ end
+ item: If/While Statement
+   Variable=DOBRAND
+   Value=1
+ end
+ item: Edit INI File
+   Pathname=%INST%\CUSTDATA.INI
+   Settings=[Registration]
+   Settings=NAME=%NAME%
+   Settings=COMPANY=%COMPANY%
+   Settings=
+ end
+ item: End Block
+ end
+ item: End Block
+ end
+ item: Open/Close INSTALL.LOG
+ end
+ item: Include Script
+   Pathname=C:\Program Files\Wise\INCLUDE\Uninstal.WSE
+ end
+ item: Check Disk Space
+   Component=COMPONENTS
+ end
+ item: Install File
+   Source=c:\Winnt\system32\Msvcrt.dll
+   Destination=%SYS32%\MSVCRT.DLL
+   Flags=0000001010000011
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=A
+   Flags=00001010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\doc\Tcl82.hlp
+   Destination=%MAINDIR%\doc\tcl82.hlp
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\doc\Tcl82.cnt
+   Destination=%MAINDIR%\doc\tcl82.cnt
+   Flags=0000000010000010
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=B
+   Flags=00001010
+ end
+ item: Install File
+   Source=..\library\demos\*.tcl
+   Destination=%MAINDIR%\lib\tk8.2\demos
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\browse
+   Destination=%MAINDIR%\lib\tk8.2\demos\browse.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\hello
+   Destination=%MAINDIR%\lib\tk8.2\demos\hello.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\images\*
+   Destination=%MAINDIR%\lib\tk8.2\demos\images
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\ixset
+   Destination=%MAINDIR%\lib\tk8.2\demos\ixset.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\license.terms
+   Destination=%MAINDIR%\lib\tk8.2\demos\license.terms
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\Readme
+   Destination=%MAINDIR%\lib\tk8.2\demos\Readme
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\rmt
+   Destination=%MAINDIR%\lib\tk8.2\demos\rmt.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\rolodex
+   Destination=%MAINDIR%\lib\tk8.2\demos\rolodex.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\square
+   Destination=%MAINDIR%\lib\tk8.2\demos\square.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\tclIndex
+   Destination=%MAINDIR%\lib\tk8.2\demos\tclIndex
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\tcolor
+   Destination=%MAINDIR%\lib\tk8.2\demos\tcolor.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\timer
+   Destination=%MAINDIR%\lib\tk8.2\demos\timer.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\demos\widget
+   Destination=%MAINDIR%\lib\tk8.2\demos\widget.tcl
+   Flags=0000000010000010
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=C
+   Flags=00001010
+ end
+ item: Install File
+   Source=..\generic\tk.h
+   Destination=%MAINDIR%\include\tk.h
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\generic\tcl.h
+   Destination=%MAINDIR%\include\tcl.h
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\Release\tclstub82.lib
+   Destination=%MAINDIR%\lib\tclstub82.lib
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\win\Release\tkstub82.lib
+   Destination=%MAINDIR%\lib\tkstub82.lib
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\libtclstub82.a
+   Destination=%MAINDIR%\lib\libtclstub82.a
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=libtkstub82.a
+   Destination=%MAINDIR%\lib\libtkstub82.a
+   Flags=0000000010000010
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=D
+   Flags=00001010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\Release\tcl82.lib
+   Destination=%MAINDIR%\lib\tcl82.lib
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\win\Release\tk82.lib
+   Destination=%MAINDIR%\lib\tk82.lib
+   Flags=0000000010000010
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=E
+   Flags=00001010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\libtcl82.a
+   Destination=%MAINDIR%\lib\libtcl82.a
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\win\libtk82.a
+   Destination=%MAINDIR%\lib\libtk82.a
+   Flags=0000000010000010
+ end
+ item: End Block
+ end
+ item: Install File
+   Source=..\win\Release\tk82.dll
+   Destination=%MAINDIR%\bin\TK82.DLL
+   Flags=0000000010000010
+ end
+ remarked item: Install File
+   Source=..\..\tcl8.2.3\win\Release\Tcl1682.dll
+   Destination=%MAINDIR%\bin\TCL1682.DLL
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\win\Release\wish82.exe
+   Destination=%MAINDIR%\bin\wish82.exe
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\Release\tclsh82.exe
+   Destination=%MAINDIR%\bin\tclsh82.exe
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\Release\tclpip82.dll
+   Destination=%MAINDIR%\bin\TCLPIP82.DLL
+   Flags=0000001010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\Release\tcl82.dll
+   Destination=%MAINDIR%\bin\TCL82.DLL
+   Flags=0000001010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\library\*.tcl
+   Destination=%MAINDIR%\lib\tcl8.2
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\library\http1.0\*.tcl
+   Destination=%MAINDIR%\lib\tcl8.2\http1.0
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\library\http2.1\*.tcl
+   Destination=%MAINDIR%\lib\tcl8.2\http2.1
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\library\msgcat1.0\*
+   Destination=%MAINDIR%\lib\tcl8.2\msgcat1.0
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\library\tcltest1.0\*.tcl
+   Destination=%MAINDIR%\lib\tcl8.2\tcltest1.0
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\library\encoding\*
+   Destination=%MAINDIR%\lib\tcl8.2\encoding
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\library\tclIndex
+   Destination=%MAINDIR%\lib\tcl8.2\tclIndex
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\library\license.terms
+   Destination=%MAINDIR%\lib\tcl8.2\license.terms
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\library\opt0.4\*.tcl
+   Destination=%MAINDIR%\lib\tcl8.2\opt0.4
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\Release\tclreg82.dll
+   Destination=%MAINDIR%\lib\tcl8.2\reg1.0\tclreg82.dll
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\pkgIndex.reg
+   Destination=%MAINDIR%\lib\tcl8.2\reg1.0\pkgIndex.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\Release\tcldde82.dll
+   Destination=%MAINDIR%\lib\tcl8.2\dde1.1\tcldde82.dll
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\..\tcl8.2.3\win\pkgIndex.dde
+   Destination=%MAINDIR%\lib\tcl8.2\dde1.1\pkgIndex.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\*.tcl
+   Destination=%MAINDIR%\lib\tk8.2
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=pkgIndex.tk
+   Destination=%MAINDIR%\lib\tk8.2\pkgIndex.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\focus.tcl
+   Destination=%MAINDIR%\lib\tk8.2\focus.tcl
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\images\*
+   Destination=%MAINDIR%\lib\tk8.2\images
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\license.terms
+   Destination=%MAINDIR%\lib\tk8.2\license.terms
+   Flags=0000000010000010
+ end
+ item: Install File
+   Source=..\library\tclIndex
+   Destination=%MAINDIR%\lib\tk8.2\tclIndex
+   Flags=0000000010000010
+ end
+ item: Set Variable
+   Variable=COMMON
+   Value=%COMMON%
+   Flags=00010100
+ end
+ item: Set Variable
+   Variable=MAINDIR
+   Value=%MAINDIR%
+   Flags=00010100
+ end
+ item: Check Configuration
+   Flags=10111011
+ end
+ item: Get Registry Key Value
+   Variable=STARTUPDIR
+   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
+   Default=%WIN%\Start Menu\Programs\StartUp
+   Value Name=StartUp
+   Flags=00000010
+ end
+ item: Get Registry Key Value
+   Variable=DESKTOPDIR
+   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
+   Default=%WIN%\Desktop
+   Value Name=Desktop
+   Flags=00000010
+ end
+ item: Get Registry Key Value
+   Variable=STARTMENUDIR
+   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
+   Default=%WIN%\Start Menu
+   Value Name=Start Menu
+   Flags=00000010
+ end
+ item: Get Registry Key Value
+   Variable=GROUPDIR
+   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
+   Default=%WIN%\Start Menu\Programs
+   Value Name=Programs
+   Flags=00000010
+ end
+ item: Get Registry Key Value
+   Variable=CSTARTUPDIR
+   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
+   Default=%STARTUPDIR%
+   Value Name=Common Startup
+   Flags=00000100
+ end
+ item: Get Registry Key Value
+   Variable=CDESKTOPDIR
+   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
+   Default=%DESKTOPDIR%
+   Value Name=Common Desktop
+   Flags=00000100
+ end
+ item: Get Registry Key Value
+   Variable=CSTARTMENUDIR
+   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
+   Default=%STARTMENUDIR%
+   Value Name=Common Start Menu
+   Flags=00000100
+ end
+ item: Get Registry Key Value
+   Variable=CGROUPDIR
+   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
+   Default=%GROUPDIR%
+   Value Name=Common Programs
+   Flags=00000100
+ end
+ item: Set Variable
+   Variable=CGROUP_SAVE
+   Value=%GROUP%
+ end
+ item: Set Variable
+   Variable=GROUP
+   Value=%GROUPDIR%\%GROUP%
+ end
+ item: Create Shortcut
+   Source=%MAINDIR%\bin\wish82.exe
+   Destination=%GROUP%\Wish.lnk
+   Icon Number=0
+ end
+ item: Create Shortcut
+   Source=%MAINDIR%\bin\tclsh82.exe
+   Destination=%GROUP%\Tclsh.lnk
+   Icon Number=0
+ end
+ item: Create Shortcut
+   Source=%MAINDIR%\doc\tcl82.hlp
+   Destination=%GROUP%\Tcl Help.lnk
+   Icon Number=0
+   Key Type=1536
+   Flags=00000001
+ end
+ item: Create Shortcut
+   Source=%MAINDIR%\lib\tk8.2\demos\widget.tcl
+   Destination=%GROUP%\Demos\Widget Tour.lnk
+   Icon Number=0
+   Key Type=1536
+   Flags=00000001
+ end
+ item: Else Statement
+ end
+ item: Add ProgMan Icon
+   Group=%GROUP%
+   Icon Name=Wish
+   Command Line=%MAINDIR%\bin\wish82.exe
+   Flags=01000000
+ end
+ item: Add ProgMan Icon
+   Group=%GROUP%
+   Icon Name=Tclsh
+   Command Line=%MAINDIR%\bin\tclsh82.exe
+   Flags=01000000
+ end
+ item: Add ProgMan Icon
+   Group=%GROUP%
+   Icon Name=Tcl Help
+   Command Line=%MAINDIR%\doc\tcl82.hlp
+   Flags=01000000
+ end
+ item: Add ProgMan Icon
+   Group=%GROUP%
+   Icon Name=Widget Tour
+   Command Line=%MAINDIR%\lib\tk8.2\demos\widget.tcl
+   Flags=01000000
+ end
+ item: End Block
+ end
+ item: Self-Register OCXs/DLLs
+   Description=Updating System Configuration, Please Wait...
+ end
+ item: Edit Registry
+   Total Keys=7
+   item: Key
+     Key=Software\Scriptics\Tcl\8.2
+     New Value=%MAINDIR%
+     Value Name=Root
+     Root=2
+   end
+   item: Key
+     Key=TclScript\DefaultIcon
+     New Value=%MAINDIR%\bin\tk82.dll,0
+     New Value=
+   end
+   item: Key
+     Key=.tcl
+     New Value=TclScript
+   end
+   item: Key
+     Key=TclScript
+     New Value=TclScript
+   end
+   item: Key
+     Key=TclScript\shell\open\command
+     New Value=%MAINDIR%\bin\wish82.exe "%%1"
+   end
+   item: Key
+     Key=TclScript\shell\edit
+     New Value=&Edit
+   end
+   item: Key
+     Key=TclScript\shell\edit\command
+     New Value=notepad "%%1"
+   end
+ end
+ item: Custom Dialog Set
+   Name=Finished
+   Display Variable=DISPLAY
+   item: Dialog
+     Title=Installation Complete
+     Width=280
+     Height=224
+     Font Name=Helv
+     Font Size=8
+     item: Push Button
+       Rectangle=170 185 212 199
+       Variable=DIRECTION
+       Value=N
+       Create Flags=01010000000000010000000000000001
+       Text=&Finish >
+     end
+     item: Push Button
+       Control Name=CANCEL
+       Rectangle=222 185 264 199
+       Action=3
+       Create Flags=01010000000000010000000000000000
+       Text=Cancel
+     end
+     item: Static
+       Rectangle=9 177 263 178
+       Action=3
+       Create Flags=01010000000000000000000000000111
+     end
+     item: Static
+       Rectangle=90 10 260 63
+       Enabled Color=00000000000000001111111111111111
+       Create Flags=01010000000000000000000000000000
+       Text=%APPTITLE% has been successfully installed.
+       Text=
+       Text=
+       Text=Press the Finish button to exit this installation.
+       Text=
+     end
+     item: Push Button
+       Control Name=BACK
+       Rectangle=128 185 170 199
+       Variable=DIRECTION
+       Value=B
+       Create Flags=01010000000000010000000000000000
+       Text=< &Back
+     end
+     item: Set Control Attribute
+       Control Name=BACK
+       Operation=1
+     end
+     item: Set Control Attribute
+       Control Name=CANCEL
+       Operation=1
+     end
+   end
+ end
