summaryrefslogtreecommitdiffstats
path: root/Tools/msi/msi.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-01 13:52:57 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-01 13:52:57 (GMT)
commit7e28e495a407cea99ca950c7c9c768abb226a685 (patch)
tree2a448f0e120c4bbb5351b60d847678f3c151bcca /Tools/msi/msi.py
parente604eb9a3572a3000cafc2f00d813ab21a58ea92 (diff)
downloadcpython-7e28e495a407cea99ca950c7c9c768abb226a685.zip
cpython-7e28e495a407cea99ca950c7c9c768abb226a685.tar.gz
cpython-7e28e495a407cea99ca950c7c9c768abb226a685.tar.bz2
Added new wininst files to msi.py and adjusted some paths
Diffstat (limited to 'Tools/msi/msi.py')
-rw-r--r--Tools/msi/msi.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 31fe246..a0ededd 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -28,7 +28,7 @@ have_tcl = True
sqlite_dir = "../sqlite-source-3.3.4"
# path to PCbuild directory
PCBUILD="PC\\VS7.1"
-#PCBUILD="PCbuild9"
+#PCBUILD="PCbuild"
# msvcrt version
MSVCR = "71"
#MSVCR = "90"
@@ -334,7 +334,7 @@ def add_ui(db):
if not os.path.exists(srcdir+r"\PC\python_icon.exe"):
raise "Run icons.mak in PC directory"
add_data(db, "Binary",
- [("PythonWin", msilib.Binary(r"%s\%s\installer.bmp" % (srcdir, PCBUILD))), # 152x328 pixels
+ [("PythonWin", msilib.Binary(r"%s\PCbuild\installer.bmp" % srcdir)), # 152x328 pixels
("py.ico",msilib.Binary(srcdir+r"\PC\py.ico")),
])
add_data(db, "Icon",
@@ -989,8 +989,10 @@ def add_files(db):
lib.glob("*.gif")
lib.add_file("idle.icns")
if dir=="command" and parent.physical=="distutils":
- lib.add_file("wininst-6.exe")
+ lib.add_file("wininst-6.0.exe")
lib.add_file("wininst-7.1.exe")
+ lib.add_file("wininst-8.0.exe")
+ lib.add_file("wininst-9.0.exe")
if dir=="setuptools":
lib.add_file("cli.exe")
lib.add_file("gui.exe")
@@ -1008,8 +1010,8 @@ def add_files(db):
# Add DLLs
default_feature.set_current()
lib = PyDirectory(db, cab, root, srcdir + "/" + PCBUILD, "DLLs", "DLLS|DLLs")
- lib.add_file("py.ico", src="../PC/py.ico")
- lib.add_file("pyc.ico", src="../PC/pyc.ico")
+ lib.add_file("py.ico", src=srcdir+"/PC/py.ico")
+ lib.add_file("pyc.ico", src=srcdir"/PC/pyc.ico")
dlls = []
tclfiles = []
for f in extensions: