From 67c6a9832ddc1494822837936b629f638f37dae0 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 17 Nov 2009 22:03:08 +0000 Subject: Solved problem when debug and release runtimes have not the same versions installed. --- tools/genruntimemanifest.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/genruntimemanifest.py b/tools/genruntimemanifest.py index 3ab6b89e7..ba0352525 100644 --- a/tools/genruntimemanifest.py +++ b/tools/genruntimemanifest.py @@ -17,9 +17,13 @@ Template=r""" import glob,re,sys -Files=glob.glob(r"c:\windows\winsxs\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.*") +if len(sys.argv)==3 and sys.argv[2]=="1": + Files=glob.glob(r"c:\windows\winsxs\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.*") + SearchRe=re.compile(r"c:\\windows\\winsxs\\x86_Microsoft\.VC90\.DebugCRT_1fc8b3b9a1e18e3b_9\.0\.([0-9]+)\.([0-9]+)_",re.I) +else: + Files=glob.glob(r"c:\windows\winsxs\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.*") + SearchRe=re.compile(r"c:\\windows\\winsxs\\x86_Microsoft\.VC90\.CRT_1fc8b3b9a1e18e3b_9\.0\.([0-9]+)\.([0-9]+)_",re.I) -SearchRe=re.compile(r"c:\\windows\\winsxs\\x86_Microsoft\.VC90\.CRT_1fc8b3b9a1e18e3b_9\.0\.([0-9]+)\.([0-9]+)_",re.I) MajorVersion=0 MinorVersion=0 -- cgit v1.2.3