1 parent 175d007 commit e1d9dcaCopy full SHA for e1d9dca
1 file changed
Tools/msi/msi.py
@@ -843,7 +843,11 @@ def add_features(db):
843
844
def extract_msvcr90():
845
# Find the redistributable files
846
- dir = os.path.join(os.environ['VS90COMNTOOLS'], r"..\..\VC\redist\x86\Microsoft.VC90.CRT")
+ 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)
851
852
result = []
853
installer = msilib.MakeInstaller()
0 commit comments