File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ item: Set Variable
6565 Variable=DISABLED
6666 Value=!
6767end
68- item: Set Variable
68+ remarked item: Set Variable
6969 Variable=MAINDIR
7070 Value=Python
7171end
9292item: Remark
9393 Text=Dont use "Program Files" for Python! (why not?)
9494end
95+ item: Get Registry Key Value
96+ Variable=MAINDIR
97+ Key=SOFTWARE\Microsoft\Windows\CurrentVersion
98+ Default=C:
99+ Value Name=ProgramFilesDir
100+ Flags=00000100
101+ end
95102item: Set Variable
96103 Variable=MAINDIR
97- Value=C:\ %MAINDIR%
104+ Value=%MAINDIR%\Python
98105end
99106item: Set Variable
100107 Variable=BACKUP
@@ -830,6 +837,12 @@ item: Install File
830837 Description=Python Documentation (HTML)
831838 Flags=0000000000000010
832839end
840+ item: Install File
841+ Source=%_SRC_%\Doc\ref\*.html
842+ Destination=%MAINDIR%\Doc\ref
843+ Description=Python Documentation (HTML)
844+ Flags=0000000000000010
845+ end
833846item: End Block
834847end
835848item: If/While Statement
@@ -948,7 +961,7 @@ item: If/While Statement
948961end
949962item: Edit Registry
950963 Key=Software\Python\PythonCore\%PY_VERSION%\Help\Main Python Documentation
951- New Value=%MAINDIR%\doc\lib\ index.html
964+ New Value=%MAINDIR%\doc\index.html
952965 Root=2
953966end
954967item: End Block
You can’t perform that action at this time.
0 commit comments