[Python-checkins] python/dist/src/Tools/msi msi.py,1.7,1.8

loewis at users.sourceforge.net loewis at users.sourceforge.net
Wed Sep 8 18:09:17 CEST 2004


Update of /cvsroot/python/python/dist/src/Tools/msi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25037

Modified Files:
	msi.py 
Log Message:
Revert creation of launcher.exe.
Install python[w].exe on demand also as extpy[w].exe

Index: msi.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/msi/msi.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- msi.py	7 Sep 2004 15:39:29 -0000	1.7
+++ msi.py	8 Sep 2004 16:09:14 -0000	1.8
@@ -812,8 +812,10 @@
     root.add_file("PCBuild/python.exe")
     root.start_component("pythonw.exe", keyfile="pythonw.exe")
     root.add_file("PCBuild/pythonw.exe")
-    root.start_component("launcher.exe", feature=ext_feature, keyfile="launcher.exe")
-    root.add_file("PCBuild/launcher.exe")
+    root.start_component("extpy.exe", feature=ext_feature, keyfile="extpy.exe")
+    root.add_file("extpy.exe", src="PCBuild/python.exe")
+    root.start_component("extpyw.exe", feature=ext_feature, keyfile="extpyw.exe")
+    root.add_file("extpyw.exe", src="PCBuild/pythonw.exe")
 
     # msidbComponentAttributesSharedDllRefCount = 8, see "Component Table"
     dlldir = PyDirectory(db, cab, root, srcdir, "DLLDIR", ".")
@@ -1017,16 +1019,16 @@
     pat3 = r"Software\Classes\%sPython.%sFile"
     # Advertised extensions
     add_data(db, "Extension",
-            [("py", "launcher.exe", "Python.File", None, ext_feature.id),
-            ("pyw", "launcher.exe", "Python.NoConFile", None, ext_feature.id),
-            ("pyc", "launcher.exe", "Python.CompiledFile", None, ext_feature.id),
-            ("pyo", "launcher.exe", "Python.CompiledFile", None, ext_feature.id)])
+            [("py", "extpy.exe", "Python.File", None, ext_feature.id),
+            ("pyw", "extpyw.exe", "Python.NoConFile", None, ext_feature.id),
+            ("pyc", "extpy.exe", "Python.CompiledFile", None, ext_feature.id),
+            ("pyo", "extpy.exe", "Python.CompiledFile", None, ext_feature.id)])
     # add_data(db, "MIME") XXX
     add_data(db, "Verb",
-            [("py", "open", 1, None, r'-console "%1"'),
+            [("py", "open", 1, None, r'"%1"'),
             ("pyw", "open", 1, None, r'"%1"'),
-            ("pyc", "open", 1, None, r'-console "%1"'),
-            ("pyo", "open", 1, None, r'-console "%1"')])
+            ("pyc", "open", 1, None, r'"%1"'),
+            ("pyo", "open", 1, None, r'"%1"')])
     add_data(db, "ProgId",
             [("Python.File", None, None, "Python File", "python_icon.exe", 0),
              ("Python.NoConFile", None, None, "Python File (no console)", "python_icon.exe", 0),



More information about the Python-checkins mailing list