Skip to content

Commit b2a22f4

Browse files
committed
Magic strings in both Python and the Wise installer define the registry key
to be used in Windows. They got out of synch. Repaired that, and added comments to each one pointing at the other.
1 parent 8e68eb6 commit b2a22f4

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

PC/python_nt.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
/* Across releases, change:
1212
* MS_DLL_ID if the minor version number changes.
1313
* PYTHON_DLL_NAME ditto.
14+
* MS_DLL_ID must match PY_VERSION in the Windows install script.
1415
*/
1516
#define MS_DLL_ID "2.1"
1617

PCbuild/python20.wse

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,12 @@ item: Set Variable
7070
Variable=GROUP
7171
Value=Python 2.1
7272
end
73+
item: Remark
74+
Text=PY_VERSION should be major.minor only; used to create the registry key; must match MS_DLL_ID in python_nt.rc
75+
end
7376
item: Set Variable
7477
Variable=PY_VERSION
75-
Value=2.1b1
78+
Value=2.1
7679
end
7780
item: Set Variable
7881
Variable=MAINDIR

0 commit comments

Comments
 (0)