Mercurial > cpython-lru_cache-weakref
diff PC/python15.wse @ 6753:e2e5bbfad1c8 legacy-trunk
Use registry key ProgramFilesDir as default MAINDIR
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 05 Dec 1997 06:32:47 +0000 |
| parents | d6d3e7cf897e |
| children | 9a57b410748d |
line wrap: on
line diff
--- a/PC/python15.wse Fri Dec 05 06:32:13 1997 +0000 +++ b/PC/python15.wse Fri Dec 05 06:32:47 1997 +0000 @@ -65,7 +65,7 @@ Variable=DISABLED Value=! end -item: Set Variable +remarked item: Set Variable Variable=MAINDIR Value=Python end @@ -92,9 +92,16 @@ 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 @@ 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 @@ 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
