Use AMD64 version of CRT in just-for-me installations for Win64 installers.

This commit is contained in:
Martin v. Löwis 2008-09-19 19:20:03 +00:00
parent 175d00784d
commit e1d9dca794
1 changed files with 5 additions and 1 deletions

View File

@ -843,7 +843,11 @@ def add_features(db):
def extract_msvcr90():
# Find the redistributable files
dir = os.path.join(os.environ['VS90COMNTOOLS'], r"..\..\VC\redist\x86\Microsoft.VC90.CRT")
if msilib.Win64:
arch = "amd64"
else:
arch = "x86"
dir = os.path.join(os.environ['VS90COMNTOOLS'], r"..\..\VC\redist\%s\Microsoft.VC90.CRT" % arch)
result = []
installer = msilib.MakeInstaller()