Convert from Wise version 5.0 to 8.1. Gotta hand it to 'em! 8.1 imported

the old script without any complaints, didn't demand any manual changes,
and built a working installer from it that acts very much like the old one.
It did add a few script items, and changed one, so checking it in now
before I break everything again.
This commit is contained in:
Tim Peters 2001-07-29 00:48:54 +00:00
parent 70195da3ff
commit 50e278ecfc

View file

@ -1,6 +1,6 @@
Document Type: WSE Document Type: WSE
item: Global item: Global
Version=5.0 Version=8.12
Title=Python 2.2 alpha 1 Title=Python 2.2 alpha 1
Flags=00010100 Flags=00010100
Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
@ -17,6 +17,7 @@ item: Global
Patch Threshold=85 Patch Threshold=85
Patch Memory=4000 Patch Memory=4000
EXE Filename=Python-2.2a1.exe EXE Filename=Python-2.2a1.exe
Crystal Format=10111100101100000010001001001001
Variable Name1=_SYS_ Variable Name1=_SYS_
Variable Description1=System directory (where to find MSVCRT.DLL) Variable Description1=System directory (where to find MSVCRT.DLL)
Variable Default1=C:\Windows\System Variable Default1=C:\Windows\System
@ -25,7 +26,7 @@ item: Global
Variable Flags1=00000010 Variable Flags1=00000010
Variable Name2=_WISE_ Variable Name2=_WISE_
Variable Description2=WISE root directory Variable Description2=WISE root directory
Variable Default2=C:\Wise Variable Default2=C:\PROGRAM FILES\WISE INSTALLMASTER 8.1
Variable Flags2=00001001 Variable Flags2=00001001
Variable Name3=_SRC_ Variable Name3=_SRC_
Variable Description3=Python source directory Variable Description3=Python source directory
@ -1134,64 +1135,79 @@ item: Add Text to INSTALL.LOG
Text=File Tree: %MAINDIR%\Lib\*.* Text=File Tree: %MAINDIR%\Lib\*.*
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=.py Key=.py
New Value=Python.File New Value=Python.File
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=.py Key=.py
New Value=text/plain New Value=text/plain
Value Name=Content Type Value Name=Content Type
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Python.File Key=Python.File
New Value=Python File New Value=Python File
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Python.File\shell\open\command Key=Python.File\shell\open\command
New Value=%MAINDIR%\python.exe "%%1" %%* New Value=%MAINDIR%\python.exe "%%1" %%*
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Python.File\DefaultIcon Key=Python.File\DefaultIcon
New Value=%MAINDIR%\Py.ico New Value=%MAINDIR%\Py.ico
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=.pyw Key=.pyw
New Value=Python.NoConFile New Value=Python.NoConFile
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=.pyw Key=.pyw
New Value=text/plain New Value=text/plain
Value Name=Content Type Value Name=Content Type
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Python.NoConFile Key=Python.NoConFile
New Value=Python File (no console) New Value=Python File (no console)
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Python.NoConFile\shell\open\command Key=Python.NoConFile\shell\open\command
New Value=%MAINDIR%\pythonw.exe "%%1" %%* New Value=%MAINDIR%\pythonw.exe "%%1" %%*
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Python.NoConFile\DefaultIcon Key=Python.NoConFile\DefaultIcon
New Value=%MAINDIR%\Py.ico New Value=%MAINDIR%\Py.ico
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=.pyc Key=.pyc
New Value=Python.CompiledFile New Value=Python.CompiledFile
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=.pyo Key=.pyo
New Value=Python.CompiledFile New Value=Python.CompiledFile
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Python.CompiledFile Key=Python.CompiledFile
New Value=Compiled Python File New Value=Compiled Python File
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Python.CompiledFile\shell\open\command Key=Python.CompiledFile\shell\open\command
New Value=%MAINDIR%\python.exe "%%1" %%* New Value=%MAINDIR%\python.exe "%%1" %%*
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Python.CompiledFile\DefaultIcon Key=Python.CompiledFile\DefaultIcon
New Value=%MAINDIR%\pyc.ico New Value=%MAINDIR%\pyc.ico
end end
@ -1202,29 +1218,35 @@ item: Check Configuration
Flags=10111111 Flags=10111111
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\CurrentVersion Key=Software\Python\PythonCore\CurrentVersion
Root=130 Root=130
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\InstallPath Key=Software\Python\PythonCore\%PY_VERSION%\InstallPath
New Value=%MAINDIR% New Value=%MAINDIR%
Root=2 Root=2
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\InstallPath\InstallGroup Key=Software\Python\PythonCore\%PY_VERSION%\InstallPath\InstallGroup
New Value=%GROUP% New Value=%GROUP%
Root=2 Root=2
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\PythonPath Key=Software\Python\PythonCore\%PY_VERSION%\PythonPath
New Value=%MAINDIR%\Lib\plat-win;%MAINDIR%\Lib;%MAINDIR%\DLLs;%MAINDIR%\Lib\lib-tk New Value=%MAINDIR%\Lib\plat-win;%MAINDIR%\Lib;%MAINDIR%\DLLs;%MAINDIR%\Lib\lib-tk
Root=2 Root=2
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\Modules Key=Software\Python\PythonCore\%PY_VERSION%\Modules
Root=2 Root=2
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Microsoft\Windows\CurrentVersion\App Paths\Python.exe Key=Software\Microsoft\Windows\CurrentVersion\App Paths\Python.exe
New Value=%MAINDIR%\Python.exe New Value=%MAINDIR%\Python.exe
Root=2 Root=2
@ -1232,29 +1254,35 @@ end
item: Else Statement item: Else Statement
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\CurrentVersion Key=Software\Python\PythonCore\CurrentVersion
Root=129 Root=129
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\InstallPath Key=Software\Python\PythonCore\%PY_VERSION%\InstallPath
New Value=%MAINDIR% New Value=%MAINDIR%
Root=1 Root=1
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\InstallPath\InstallGroup Key=Software\Python\PythonCore\%PY_VERSION%\InstallPath\InstallGroup
New Value=%GROUP% New Value=%GROUP%
Root=1 Root=1
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\PythonPath Key=Software\Python\PythonCore\%PY_VERSION%\PythonPath
New Value=%MAINDIR%\Lib\plat-win;%MAINDIR%\Lib;%MAINDIR%\DLLs;%MAINDIR%\Lib\lib-tk New Value=%MAINDIR%\Lib\plat-win;%MAINDIR%\Lib;%MAINDIR%\DLLs;%MAINDIR%\Lib\lib-tk
Root=1 Root=1
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\Modules Key=Software\Python\PythonCore\%PY_VERSION%\Modules
Root=1 Root=1
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Microsoft\Windows\CurrentVersion\App Paths\Python.exe Key=Software\Microsoft\Windows\CurrentVersion\App Paths\Python.exe
New Value=%MAINDIR%\Python.exe New Value=%MAINDIR%\Python.exe
Root=1 Root=1
@ -1275,6 +1303,7 @@ item: Check Configuration
Flags=10111111 Flags=10111111
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\Help\Main Python Documentation Key=Software\Python\PythonCore\%PY_VERSION%\Help\Main Python Documentation
New Value=%MAINDIR%\Doc\index.html New Value=%MAINDIR%\Doc\index.html
Root=2 Root=2
@ -1282,6 +1311,7 @@ end
item: Else Statement item: Else Statement
end end
item: Edit Registry item: Edit Registry
Total Keys=1
Key=Software\Python\PythonCore\%PY_VERSION%\Help\Main Python Documentation Key=Software\Python\PythonCore\%PY_VERSION%\Help\Main Python Documentation
New Value=%MAINDIR%\Doc\index.html New Value=%MAINDIR%\Doc\index.html
Root=1 Root=1