Kaydet (Commit) 2dbabb28 authored tarafından Guido van Rossum's avatar Guido van Rossum

Installer for beta-2.

Use Program Files, register pythonw.exe to execute .pyw files.
üst 1058d2e8
Document Type: WSE Document Type: WSE
item: Global item: Global
Version=5.0 Version=5.0
Title=Python 1.5 Installation Title=Python 1.5 (beta 2) Installation
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
Japanese Font Name=MS Gothic Japanese Font Name=MS Gothic
...@@ -30,7 +30,7 @@ item: Global ...@@ -30,7 +30,7 @@ item: Global
Variable Flags4=00001000 Variable Flags4=00001000
Variable Name5=_SRC_ Variable Name5=_SRC_
Variable Description5=Root of Python Build Tree Variable Description5=Root of Python Build Tree
Variable Default5=C:\src\Python-1.5b1 Variable Default5=C:\src\Python-1.5b2
Variable Flags5=00001001 Variable Flags5=00001001
end end
item: Open/Close INSTALL.LOG item: Open/Close INSTALL.LOG
...@@ -55,7 +55,7 @@ item: Check Configuration ...@@ -55,7 +55,7 @@ item: Check Configuration
end end
item: Set Variable item: Set Variable
Variable=APPTITLE Variable=APPTITLE
Value=Python 1.5 Value=Python 1.5 (beta 2)
end end
item: Set Variable item: Set Variable
Variable=GROUP Variable=GROUP
...@@ -65,14 +65,14 @@ item: Set Variable ...@@ -65,14 +65,14 @@ item: Set Variable
Variable=DISABLED Variable=DISABLED
Value=! Value=!
end end
remarked item: Set Variable
Variable=MAINDIR
Value=Python
end
item: Set Variable item: Set Variable
Variable=PY_VERSION Variable=PY_VERSION
Value=1.5.0 Value=1.5.0
end end
item: Set Variable
Variable=MAINDIR
Value=Python
end
item: Check Configuration item: Check Configuration
Flags=10111011 Flags=10111011
end end
...@@ -83,25 +83,21 @@ item: Get Registry Key Value ...@@ -83,25 +83,21 @@ item: Get Registry Key Value
Value Name=ProgramFilesDir Value Name=ProgramFilesDir
Flags=00000100 Flags=00000100
end end
item: Set Variable
Variable=MAINDIR
Value=%PROGRAM_FILES%\%MAINDIR%
end
item: Set Variable item: Set Variable
Variable=EXPLORER Variable=EXPLORER
Value=1 Value=1
end end
item: End Block item: Else Statement
end
item: Remark
Text=Dont use "Program Files" for Python! (why not?)
end
item: Get Registry Key Value
Variable=MAINDIR
Key=SOFTWARE\Microsoft\Windows\CurrentVersion
Default=C:
Value Name=ProgramFilesDir
Flags=00000100
end end
item: Set Variable item: Set Variable
Variable=MAINDIR Variable=MAINDIR
Value=%MAINDIR%\Python Value=C:\%MAINDIR%
end
item: End Block
end end
item: Set Variable item: Set Variable
Variable=BACKUP Variable=BACKUP
...@@ -709,6 +705,11 @@ item: Install File ...@@ -709,6 +705,11 @@ item: Install File
Destination=%MAINDIR%\python.exe Destination=%MAINDIR%\python.exe
Flags=0000000000000010 Flags=0000000000000010
end end
item: Install File
Source=%_SRC_%\pcbuild\Release\pythonw.exe
Destination=%MAINDIR%\pythonw.exe
Flags=0000000000000010
end
item: Install File item: Install File
Source=%_SRC_%\pcbuild\Release\parser.dll Source=%_SRC_%\pcbuild\Release\parser.dll
Destination=%MAINDIR%\parser.pyd Destination=%MAINDIR%\parser.pyd
...@@ -902,6 +903,23 @@ item: Edit Registry ...@@ -902,6 +903,23 @@ item: Edit Registry
Key=Python.File\DefaultIcon Key=Python.File\DefaultIcon
New Value=%MAINDIR%\Py.ico New Value=%MAINDIR%\Py.ico
end end
item: Edit Registry
Key=.pyw
New Value=Python.NoConFile
end
item: Edit Registry
Key=Python.NoConFile
New Value=Python File (no console)
end
item: Edit Registry
Key=Python.NoConFile\shell\open\command
New Value=%MAINDIR%\pythonw.exe "%%1" %%*
New Value=
end
item: Edit Registry
Key=Python.NoConFile\DefaultIcon
New Value=%MAINDIR%\Py.ico
end
item: Edit Registry item: Edit Registry
Key=.pyc Key=.pyc
New Value=Python.CompiledFile New Value=Python.CompiledFile
...@@ -961,7 +979,7 @@ item: If/While Statement ...@@ -961,7 +979,7 @@ item: If/While Statement
end end
item: Edit Registry item: Edit Registry
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
end end
item: End Block item: End Block
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment