diff options
author | Guido van Rossum <guido@python.org> | 1997-12-05 06:32:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-12-05 06:32:47 (GMT) |
commit | 205eb72217c2a40266e9d4e02f718509a62e4ea4 (patch) | |
tree | 688976d956e15e7a80b5e450e9e6b45759cb84f1 /PC/python15.wse | |
parent | 6656d1f0418da78cf8711b480de2a67092f77bc2 (diff) | |
download | cpython-205eb72217c2a40266e9d4e02f718509a62e4ea4.zip cpython-205eb72217c2a40266e9d4e02f718509a62e4ea4.tar.gz cpython-205eb72217c2a40266e9d4e02f718509a62e4ea4.tar.bz2 |
Use registry key ProgramFilesDir as default MAINDIR
Diffstat (limited to 'PC/python15.wse')
-rw-r--r-- | PC/python15.wse | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/PC/python15.wse b/PC/python15.wse index 53cd826..fcdbc2a 100644 --- a/PC/python15.wse +++ b/PC/python15.wse @@ -65,7 +65,7 @@ item: Set Variable Variable=DISABLED Value=! end -item: Set Variable +remarked item: Set Variable Variable=MAINDIR Value=Python end @@ -92,9 +92,16 @@ 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 item: Set Variable Variable=MAINDIR - Value=C:\%MAINDIR% + Value=%MAINDIR%\Python end item: Set Variable Variable=BACKUP @@ -830,6 +837,12 @@ item: Install File Description=Python Documentation (HTML) Flags=0000000000000010 end +item: Install File + Source=%_SRC_%\Doc\ref\*.html + Destination=%MAINDIR%\Doc\ref + Description=Python Documentation (HTML) + Flags=0000000000000010 +end item: End Block end item: If/While Statement @@ -948,7 +961,7 @@ item: If/While Statement end item: Edit Registry Key=Software\Python\PythonCore\%PY_VERSION%\Help\Main Python Documentation - New Value=%MAINDIR%\doc\lib\index.html + New Value=%MAINDIR%\doc\index.html Root=2 end item: End Block |