summaryrefslogtreecommitdiffstats
path: root/Tools/msi
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2012-09-29 11:08:41 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2012-09-29 11:08:41 (GMT)
commit77cc86f873cd88da0c6e114a895c8df322c1ac2b (patch)
treeeb8647fe37804ac5a58cc3ab01ccf9b348d732f3 /Tools/msi
parentd31234166f57f22862e714f19d24fa9024dccd45 (diff)
downloadcpython-77cc86f873cd88da0c6e114a895c8df322c1ac2b.zip
cpython-77cc86f873cd88da0c6e114a895c8df322c1ac2b.tar.gz
cpython-77cc86f873cd88da0c6e114a895c8df322c1ac2b.tar.bz2
Ajdust path to launcher for non-PGO-builds
Diffstat (limited to 'Tools/msi')
-rw-r--r--Tools/msi/msi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index d46270c..2057beb 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -977,6 +977,8 @@ def add_files(db):
launchersrc = PCBUILD
if launchersrc.lower() == 'pcbuild\\x64-pgo':
launchersrc = 'PCBuild\\win32-pgo'
+ if launchersrc.lower() == 'pcbuild\\amd64':
+ launchersrc = 'PCBuild'
launcher = os.path.join(srcdir, launchersrc, "py.exe")
launcherdir.start_component("launcher", flags = 8+256, keyfile="py.exe")
launcherdir.add_file(launcher,