Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a2e90e

Browse files
committed
Merged revisions 66516 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r66516 | martin.v.loewis | 2008-09-19 21:20:03 +0200 (Fr, 19 Sep 2008) | 1 line Use AMD64 version of CRT in just-for-me installations for Win64 installers. ........
1 parent df014bf commit 8a2e90e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Tools/msi/msi.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,11 @@ def add_features(db):
843843

844844
def extract_msvcr90():
845845
# Find the redistributable files
846-
dir = os.path.join(os.environ['VS90COMNTOOLS'], r"..\..\VC\redist\x86\Microsoft.VC90.CRT")
846+
if msilib.Win64:
847+
arch = "amd64"
848+
else:
849+
arch = "x86"
850+
dir = os.path.join(os.environ['VS90COMNTOOLS'], r"..\..\VC\redist\%s\Microsoft.VC90.CRT" % arch)
847851

848852
result = []
849853
installer = msilib.MakeInstaller()

0 commit comments

Comments
 (0)