From db642c66a856a971a0c747825767501a790c5b5e Mon Sep 17 00:00:00 2001
From: Tim Peters <tim.peters@gmail.com>
Date: Sun, 29 Jul 2001 02:04:20 +0000
Subject: Woo hoo!  Relative paths!  This is, alas, partly braindead:  When the
 new "relative paths" option is enabled, 8.1 rewrites *every* path to be
 relative to PCbuild (the dir containing the .wse script), even absolute paths
 you type in by hand, paths to the Wise installation itself, and even paths to
 the Windows directories (sheesh).  Only way to stop it is to start a path
 with a variable reference, and we screwed ourselves before by not using the
 predefined %_WISE_% vrbl to point to the Wise installation.  Repaired that
 old, repeated and well-hidden mistake. Also: + Got rid of the %_SRC_% vrbl
 (such paths always relative to PCBuild now). + Changed the %_DOC_% vrbl to
 prompt for the location of the unzipped   HTML files (defaults to ..\html,
 cuz that's where I put them, but I   expect I'll change that later cuz I
 always hated mixing the generated   docs into the CVS tree ... Guido, if
 you're reading this, where did you   unpack the docs when building a Windows
 installer?  Happy to oblige.). + Stopped the generated installer from filling
 up the entire screen (got   rid of the massive blue background gradient --
 new option). + Added the helpful app publisher and app URL registry entries
 that Win2K   displays in its version of Add/Remove.

---
 PCbuild/python20.wse | 248 +++++++++++++++++++++++++++++----------------------
 1 file changed, 140 insertions(+), 108 deletions(-)

diff --git a/PCbuild/python20.wse b/PCbuild/python20.wse
index dbc6f6f..e0967e5 100644
--- a/PCbuild/python20.wse
+++ b/PCbuild/python20.wse
@@ -6,18 +6,21 @@ item: Global
   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
-  Start Gradient=0 0 255
-  End Gradient=0 0 0
-  Windows Flags=00000100000011010010110100001000
+  Start Gradient=0 255 0
+  End Gradient=0 128 0
+  Windows Flags=00000100000011010010010100001010
   Log Pathname=%MAINDIR%\INSTALL.LOG
   Message Font=MS Sans Serif
   Font Size=8
+  Pages Modified=00000000001101000000000000000010
+  Extra Pages=00000000000000000000000010110000
   Disk Filename=SETUP
   Patch Flags=0000000000000001
   Patch Threshold=85
   Patch Memory=4000
   EXE Filename=Python-2.2a1.exe
   Crystal Format=10111100101100000010001001001001
+  Step View=&Properties
   Variable Name1=_SYS_
   Variable Description1=System directory (where to find MSVCRT.DLL)
   Variable Default1=C:\Windows\System
@@ -28,21 +31,20 @@ item: Global
   Variable Description2=WISE root directory
   Variable Default2=C:\PROGRAM FILES\WISE INSTALLMASTER 8.1
   Variable Flags2=00001001
-  Variable Name3=_SRC_
-  Variable Description3=Python source directory
-  Variable Default3=C:\code\python\dist\src
-  Variable Flags3=00001001
-  Variable Name4=_DOC_
-  Variable Description4=HTML documentation tree directory
-  Variable Default4=C:\Code\python\dist\src\html
-  Variable Flags4=00001001
-  Variable Name5=_TCLMINOR_
-  Variable Description5=Tcl/Tk Minor Version (e.g. the "3" in "8.3.1")
-  Variable Default5=3
+  Variable Name3=_TCLMINOR_
+  Variable Description3=Tcl/Tk Minor Version (e.g. the "3" in "8.3.1")
+  Variable Default3=3
+  Variable Flags3=00001000
+  Variable Name4=_ALIASNAME_
+  Variable Flags4=00001000
+  Variable Name5=_ALIASPATH_
   Variable Flags5=00001000
-end
-remarked item: Open/Close INSTALL.LOG
-  Flags=00000001
+  Variable Name6=_ALIASTYPE_
+  Variable Flags6=00001000
+  Variable Name7=_DOC_
+  Variable Description7=The unpacked HTML doc directory.
+  Variable Default7=..\html
+  Variable Flags7=00000001
 end
 item: Check if File/Dir Exists
   Pathname=%SYS%
@@ -94,7 +96,8 @@ item: Get Registry Key Value
 end
 item: Set Variable
   Variable=MAINDIR
-  Value=%PROGRAM_FILES%\%MAINDIR%
+  Value=C:\%MAINDIR%
+  Flags=00001100
 end
 item: Set Variable
   Variable=COMPONENTS
@@ -103,7 +106,7 @@ end
 item: Wizard Block
   Direction Variable=DIRECTION
   Display Variable=DISPLAY
-  Bitmap Pathname=C:\Wise\DIALOGS\TEMPLATE\WIZARD.BMP
+  Bitmap Pathname=%_WISE_%\Dialogs\Template\Wizard.bmp
   X Position=9
   Y Position=10
   Filler Color=8421440
@@ -392,27 +395,35 @@ item: Custom Dialog Set
       Variable=COMPONENTS
       Create Flags=01010000000000010000000000000011
       Flags=0000000000000110
+      Text=Python interpreter and library
       Text=Python Utility Scripts
       Text=Python Help Files
       Text=Python test suite
-      Text=Python interpreter and library
       Text=Tcl/Tk support
       Text=
+      Text French=Python interpreter and library
       Text French=Python Utility Scripts
       Text French=Python Help Files
       Text French=Python test suite
+      Text French=Tcl/Tk support
       Text French=
+      Text German=Python interpreter and library
       Text German=Python Utility Scripts
       Text German=Python Help Files
       Text German=Python test suite
+      Text German=Tcl/Tk support
       Text German=
+      Text Spanish=Python interpreter and library
       Text Spanish=Python Utility Scripts
       Text Spanish=Python Help Files
       Text Spanish=Python test suite
+      Text Spanish=Tcl/Tk support
       Text Spanish=
+      Text Italian=Python interpreter and library
       Text Italian=Python Utility Scripts
       Text Italian=Python Help Files
       Text Italian=Python test suite
+      Text Italian=Tcl/Tk support
       Text Italian=
     end
     item: Static
@@ -644,21 +655,21 @@ item: Check Disk Space
 end
 item: If/While Statement
   Variable=COMPONENTS
-  Value=D
+  Value=A
   Flags=00001010
 end
 item: Install File
-  Source=%_SRC_%\LICENSE
+  Source=..\license
   Destination=%MAINDIR%\LICENSE.txt
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\README
+  Source=..\readme
   Destination=%MAINDIR%\README.txt
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Misc\NEWS
+  Source=..\misc\news
   Destination=%MAINDIR%\NEWS.txt
   Flags=0000000000000010
 end
@@ -666,17 +677,17 @@ item: Remark
   Text=*** Executables ***
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\python.exe
+  Source=.\python.exe
   Destination=%MAINDIR%\python.exe
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\pythonw.exe
+  Source=.\pythonw.exe
   Destination=%MAINDIR%\pythonw.exe
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\w9xpopen.exe
+  Source=.\w9xpopen.exe
   Destination=%MAINDIR%\w9xpopen.exe
   Flags=0000000000000010
 end
@@ -684,73 +695,73 @@ item: Remark
   Text=*** Extension module DLLs (.pyd); keep in synch with libs directory next ***
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_winreg.pyd
+  Source=.\_winreg.pyd
   Destination=%MAINDIR%\DLLs\_winreg.pyd
   Description=Extension modules
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_sre.pyd
+  Source=.\_sre.pyd
   Destination=%MAINDIR%\DLLs\_sre.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_symtable.pyd
+  Source=.\_symtable.pyd
   Destination=%MAINDIR%\DLLs\_symtable.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_testcapi.pyd
+  Source=.\_testcapi.pyd
   Destination=%MAINDIR%\DLLs\_testcapi.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_tkinter.pyd
+  Source=.\_tkinter.pyd
   Destination=%MAINDIR%\DLLs\_tkinter.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_socket.pyd
+  Source=.\_socket.pyd
   Destination=%MAINDIR%\DLLs\_socket.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\bsddb.pyd
+  Source=.\bsddb.pyd
   Destination=%MAINDIR%\DLLs\bsddb.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\mmap.pyd
+  Source=.\mmap.pyd
   Destination=%MAINDIR%\DLLs\mmap.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\parser.pyd
+  Source=.\parser.pyd
   Destination=%MAINDIR%\DLLs\parser.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\pyexpat.pyd
+  Source=.\pyexpat.pyd
   Destination=%MAINDIR%\DLLs\pyexpat.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\select.pyd
+  Source=.\select.pyd
   Destination=%MAINDIR%\DLLs\select.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\unicodedata.pyd
+  Source=.\unicodedata.pyd
   Destination=%MAINDIR%\DLLs\unicodedata.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\winsound.pyd
+  Source=.\winsound.pyd
   Destination=%MAINDIR%\DLLs\winsound.pyd
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\zlib.pyd
+  Source=.\zlib.pyd
   Destination=%MAINDIR%\DLLs\zlib.pyd
   Flags=0000000000000010
 end
@@ -758,79 +769,79 @@ item: Remark
   Text=*** Link libraries (.lib); keep in synch with DLLs above, except that the Python lib lives here ***
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_winreg.lib
+  Source=.\_winreg.lib
   Destination=%MAINDIR%\libs\_winreg.lib
   Description=Link library files
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_sre.lib
+  Source=.\_sre.lib
   Destination=%MAINDIR%\libs\_sre.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_symtable.lib
+  Source=.\_symtable.lib
   Destination=%MAINDIR%\libs\_symtable.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_testcapi.lib
+  Source=.\_testcapi.lib
   Destination=%MAINDIR%\libs\_testcapi.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_tkinter.lib
+  Source=.\_tkinter.lib
   Destination=%MAINDIR%\libs\_tkinter.lib
   Description=Extension modules
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\_socket.lib
+  Source=.\_socket.lib
   Destination=%MAINDIR%\libs\_socket.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\bsddb.lib
+  Source=.\bsddb.lib
   Destination=%MAINDIR%\libs\bsddb.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\mmap.lib
+  Source=.\mmap.lib
   Destination=%MAINDIR%\libs\mmap.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\parser.lib
+  Source=.\parser.lib
   Destination=%MAINDIR%\libs\parser.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\pyexpat.lib
+  Source=.\pyexpat.lib
   Destination=%MAINDIR%\libs\pyexpat.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\select.lib
+  Source=.\select.lib
   Destination=%MAINDIR%\libs\select.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\unicodedata.lib
+  Source=.\unicodedata.lib
   Destination=%MAINDIR%\libs\unicodedata.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\winsound.lib
+  Source=.\winsound.lib
   Destination=%MAINDIR%\libs\winsound.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\zlib.lib
+  Source=.\zlib.lib
   Destination=%MAINDIR%\libs\zlib.lib
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PCbuild\python22.lib
+  Source=.\python22.lib
   Destination=%MAINDIR%\libs\python22.lib
   Flags=0000000000000010
 end
@@ -838,7 +849,7 @@ item: Remark
   Text=*** More DLLs ***
 end
 item: Install File
-  Source=%_SRC_%\..\expat\Libs\expat.dll
+  Source=..\..\expat\libs\expat.dll
   Destination=%MAINDIR%\DLLs\expat.dll
   Description=Expat library
   Flags=0000000000000010
@@ -847,18 +858,18 @@ item: Remark
   Text=*** Main Python DLL ***
 end
 item: Install File
-  Source=%_SRC_%\pcbuild\python22.dll
+  Source=.\python22.dll
   Destination=%DLLDEST%\python22.dll
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Pc\*.ico
+  Source=..\pc\*.ico
   Destination=%MAINDIR%
   Description=Icons
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\*.py
+  Source=..\lib\*.py
   Destination=%MAINDIR%\Lib
   Description=Library Modules
   Flags=0000000000000010
@@ -870,43 +881,43 @@ item: Remark
   Text=plat-win became empty!
 end
 remarked item: Install File
-  Source=%_SRC_%\Lib\plat-win\*.py
+  Source=..\lib\plat-win\*.py
   Destination=%MAINDIR%\Lib\Plat-Win
   Description=Windows-specific library modules
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\lib-tk\*.py
+  Source=..\lib\lib-tk\*.py
   Destination=%MAINDIR%\Lib\lib-tk
   Description=Tkinter related library modules
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\encodings\*.py
+  Source=..\lib\encodings\*.py
   Destination=%MAINDIR%\Lib\encodings
   Description=Unicode encoding tables
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\distutils\*.py
+  Source=..\lib\distutils\*.py
   Destination=%MAINDIR%\Lib\distutils
   Description=Distribution utility modules
   Flags=0000000100000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\xml\*.py
+  Source=..\lib\xml\*.py
   Destination=%MAINDIR%\Lib\xml
   Description=XML support packages
   Flags=0000000100000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\lib-old\*.py
+  Source=..\lib\lib-old\*.py
   Destination=%MAINDIR%\Lib\lib-old
   Description=Obsolete modules
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\site-packages\README
+  Source=..\lib\site-packages\readme
   Destination=%MAINDIR%\Lib\site-packages\README.txt
   Description=Site packages
   Flags=0000000000000010
@@ -915,13 +926,13 @@ item: Remark
   Text=*** Other ***
 end
 item: Install File
-  Source=%_SRC_%\Include\*.h
+  Source=..\include\*.h
   Destination=%MAINDIR%\include
   Description=Header files
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\PC\pyconfig.h
+  Source=..\pc\pyconfig.h
   Destination=%MAINDIR%\include\pyconfig.h
   Description=Header files (pyconfig.h)
   Flags=0000000000000010
@@ -942,128 +953,128 @@ item: End Block
 end
 item: If/While Statement
   Variable=COMPONENTS
-  Value=A
+  Value=B
   Flags=00001010
 end
 item: Add Text to INSTALL.LOG
   Text=File Tree: %MAINDIR%\Tools\*.*
 end
 item: Install File
-  Source=%_SRC_%\Tools\scripts\*.py
+  Source=..\tools\scripts\*.py
   Destination=%MAINDIR%\Tools\Scripts
   Description=Utility Scripts
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\scripts\*.pyw
+  Source=..\tools\scripts\*.pyw
   Destination=%MAINDIR%\Tools\Scripts
   Description=Utility Scripts
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\scripts\*.doc
+  Source=..\tools\scripts\*.doc
   Destination=%MAINDIR%\Tools\Scripts
   Description=Utility Scripts
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\scripts\README
+  Source=..\tools\scripts\readme
   Destination=%MAINDIR%\Tools\Scripts\README.txt
   Description=Utility Scripts
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\webchecker\*.py
+  Source=..\tools\webchecker\*.py
   Destination=%MAINDIR%\Tools\webchecker
   Description=Web checker tool
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\webchecker\README
+  Source=..\tools\webchecker\readme
   Destination=%MAINDIR%\Tools\webchecker\README.txt
   Description=Web checker tool
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\versioncheck\*.py
+  Source=..\tools\versioncheck\*.py
   Destination=%MAINDIR%\Tools\versioncheck
   Description=Version checker tool
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\versioncheck\README
+  Source=..\tools\versioncheck\readme
   Destination=%MAINDIR%\Tools\versioncheck\README.txt
   Description=Version checker tool
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\idle\*.py
+  Source=..\tools\idle\*.py
   Destination=%MAINDIR%\Tools\idle
   Description=Integrated DeveLopment Environment for Python
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\idle\*.txt
+  Source=..\tools\idle\*.txt
   Destination=%MAINDIR%\Tools\idle
   Description=Integrated DeveLopment Environment for Python
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\idle\Icons\*
+  Source=..\tools\idle\icons\*
   Destination=%MAINDIR%\Tools\idle\Icons
   Description=Integrated DeveLopment Environment for Python
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\idle\idle.pyw
+  Source=..\tools\idle\idle.pyw
   Destination=%MAINDIR%\Tools\idle\idle.pyw
   Description=IDLE bootstrap script
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\compiler\*.py
+  Source=..\tools\compiler\*.py
   Destination=%MAINDIR%\Tools\compiler
   Description=Python compiler written in Python
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\compiler\compiler\*.py
+  Source=..\tools\compiler\compiler\*.py
   Destination=%MAINDIR%\Tools\compiler\compiler
   Description=Python compiler written in Python
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\compiler\compiler\*.txt
+  Source=..\tools\compiler\compiler\*.txt
   Destination=%MAINDIR%\Tools\compiler\compiler
   Description=Python compiler written in Python
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\pynche\*.py
+  Source=..\tools\pynche\*.py
   Destination=%MAINDIR%\Tools\pynche
   Description=pynche color editor
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\pynche\X\*.txt
+  Source=..\tools\pynche\x\*.txt
   Destination=%MAINDIR%\Tools\pynche\X
   Description=pynche color editor - X files
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\pynche\README
+  Source=..\tools\pynche\readme
   Destination=%MAINDIR%\Tools\pynche\README.txt
   Description=pynche color editor - README
   Flags=0000000100000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\pynche\pynche
+  Source=..\tools\pynche\pynche
   Destination=%MAINDIR%\Tools\pynche\pynche.py
   Description=pynche color editor - main
   Flags=0000000100000010
 end
 item: Install File
-  Source=%_SRC_%\Tools\pynche\pynche.pyw
+  Source=..\tools\pynche\pynche.pyw
   Destination=%MAINDIR%\Tools\pynche\pynche.pyw
   Description=pynche color editor - noconsole main
   Flags=0000000100000010
@@ -1072,7 +1083,7 @@ item: End Block
 end
 item: If/While Statement
   Variable=COMPONENTS
-  Value=B
+  Value=C
   Flags=00001010
 end
 item: Install File
@@ -1085,41 +1096,41 @@ item: End Block
 end
 item: If/While Statement
   Variable=COMPONENTS
-  Value=C
+  Value=D
   Flags=00001010
 end
 item: Install File
-  Source=%_SRC_%\Lib\test\audiotest.au
+  Source=..\lib\test\audiotest.au
   Destination=%MAINDIR%\Lib\test\audiotest.au
   Description=Python Test files
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\test\*.uue
+  Source=..\lib\test\*.uue
   Destination=%MAINDIR%\Lib\test
   Description=Python Test files
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\test\*.py
+  Source=..\lib\test\*.py
   Destination=%MAINDIR%\Lib\test
   Description=Python Test files
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\test\*.xml
+  Source=..\lib\test\*.xml
   Destination=%MAINDIR%\Lib\test
   Description=Python Test files
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\test\*.out
+  Source=..\lib\test\*.out
   Destination=%MAINDIR%\Lib\test
   Description=Python Test files
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\Lib\test\output\*.*
+  Source=..\lib\test\output\*.*
   Destination=%MAINDIR%\Lib\test\output
   Description=Python Test output files
   Flags=0000000000000010
@@ -1128,7 +1139,7 @@ item: End Block
 end
 item: If/While Statement
   Variable=COMPONENTS
-  Value=D
+  Value=A
   Flags=00001010
 end
 item: Add Text to INSTALL.LOG
@@ -1293,7 +1304,7 @@ item: End Block
 end
 item: If/While Statement
   Variable=COMPONENTS
-  Value=B
+  Value=C
   Flags=00001010
 end
 item: Remark
@@ -1326,11 +1337,11 @@ item: Set Variable
   Flags=00010100
 end
 item: Include Script
-  Pathname=C:\Wise\include\uninstal.wse
+  Pathname=%_WISE_%\include\uninstal.wse
 end
 item: If/While Statement
   Variable=COMPONENTS
-  Value=D
+  Value=A
   Flags=00001010
 end
 item: Get Registry Key Value
@@ -1365,7 +1376,7 @@ item: Create Shortcut
 end
 item: If/While Statement
   Variable=COMPONENTS
-  Value=B
+  Value=C
   Flags=00001010
 end
 item: Create Shortcut
@@ -1379,7 +1390,7 @@ item: End Block
 end
 item: If/While Statement
   Variable=COMPONENTS
-  Value=A
+  Value=B
   Flags=00001010
 end
 item: Create Shortcut
@@ -1418,29 +1429,50 @@ item: If/While Statement
   Flags=00001010
 end
 item: Install File
-  Source=%_SRC_%\..\tcl\bin\tcl8%_TCLMINOR_%.dll
+  Source=..\..\tcl\bin\tcl8%_tclminor_%.dll
   Destination=%MAINDIR%\DLLs\tcl8%_TCLMINOR_%.dll
   Description=Tcl/Tk binaries and libraries
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\..\tcl\bin\tk8%_TCLMINOR_%.dll
+  Source=..\..\tcl\bin\tk8%_tclminor_%.dll
   Destination=%MAINDIR%\DLLs\tk8%_TCLMINOR_%.dll
   Description=Tcl/Tk binaries and libraries
   Flags=0000000000000010
 end
 item: Install File
-  Source=%_SRC_%\..\tcl\lib\*.*
+  Source=..\..\tcl\lib\*.*
   Destination=%MAINDIR%\tcl
   Description=Tcl/Tk binaries and libraries
   Flags=0000000100000010
 end
 item: End Block
 end
+item: Edit Registry
+  Total Keys=3
+  item: Key
+    Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE%
+    New Value=http://www.python.org/
+    Value Name=HelpLink
+    Root=2
+  end
+  item: Key
+    Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE%
+    New Value=PythonLabs at Zope Corporation
+    Value Name=Publisher
+    Root=2
+  end
+  item: Key
+    Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE%
+    New Value=http://www.python.org/
+    Value Name=URLInfoAbout
+    Root=2
+  end
+end
 item: Wizard Block
   Direction Variable=DIRECTION
   Display Variable=DISPLAY
-  Bitmap Pathname=C:\Wise\DIALOGS\TEMPLATE\WIZARD.BMP
+  Bitmap Pathname=%_WISE_%\Dialogs\Template\Wizard.bmp
   X Position=9
   Y Position=10
   Filler Color=8421440
-- 
cgit v0.12

