diff options
Diffstat (limited to 'Tools/msi')
-rw-r--r-- | Tools/msi/msi.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 8a8189e..f9aa30a 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -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() |