OPEN-61 Adding locations that VC redistributable package installs files.
Review Request #259 - Created April 8, 2011 and submitted
Ima Mechanique | Reviewers | ||
viewer | |||
OPEN-61 | |||
None | viewer-development |
The VC redistributable package installs its files (msvcr100.dll, msvcp100.dll, msvcr100d.dll, msvcp100d.dll, etc.) to the WINDOWS\System32 directory (and WINDOWS\SysWOW64, if it is a 64-bit version). Adding these locations to the list of places to look when attempting to copy the files to build-vc100\sharedlibs. On 64 bit windows the 32-bit file versions go to SySWOW64, so this is listed first to prevent the 64-bit versions being used. If any one knows how it could use %systemroot% instead of the environment variable WINDIR I'd appreciate the info ;-)
Ran 'autobuild build' without manually copying the redistributable files or adding the configure switch to point at their location.
Review request changed
Updated (April 8, 2011, 7:43 a.m.)
-
The VC redistributable package installs its files (msvcr100.dll, msvcp100.dll, etc.) to the WINDOWS\System32 directory (and WINDOWS\SysWOW64, if it is a 64-bit version). Adding these locations to the list of places to look when attempting to copy the files to build-vc100\sharedlibs. On 64 bit windows the 32-bit file versions go to SySWOW64, so this is listed first to prevent the 64-bit versions being used.
The VC redistributable package installs its files (msvcr100.dll, msvcp100.dll, msvcr100d.dll, msvcp100d.dll, etc.) to the WINDOWS\System32 directory (and WINDOWS\SysWOW64, if it is a 64-bit version). Adding these locations to the list of places to look when attempting to copy the files to build-vc100\sharedlibs. On 64 bit windows the 32-bit file versions go to SySWOW64, so this is listed first to prevent the 64-bit versions being used.
Review request changed
Updated (April 8, 2011, 7:47 a.m.)
-
The VC redistributable package installs its files (msvcr100.dll, msvcp100.dll, msvcr100d.dll, msvcp100d.dll, etc.) to the WINDOWS\System32 directory (and WINDOWS\SysWOW64, if it is a 64-bit version). Adding these locations to the list of places to look when attempting to copy the files to build-vc100\sharedlibs. On 64 bit windows the 32-bit file versions go to SySWOW64, so this is listed first to prevent the 64-bit versions being used.
The VC redistributable package installs its files (msvcr100.dll, msvcp100.dll, msvcr100d.dll, msvcp100d.dll, etc.) to the WINDOWS\System32 directory (and WINDOWS\SysWOW64, if it is a 64-bit version). Adding these locations to the list of places to look when attempting to copy the files to build-vc100\sharedlibs. On 64 bit windows the 32-bit file versions go to SySWOW64, so this is listed first to prevent the 64-bit versions being used. If any one knows how it could use %systemroot% instead of the environment variable WINDIR I'd appreciate the info ;-)
Review request changed
Updated (April 9, 2011, 6:27 p.m.)
-
- added Diff r2
Changed the search to use a registry lookup for the %SystemRoot% instead of the environment variable WINDIR. Also added warning messages if the files are not located.
Review request changed
Updated (April 21, 2011, 2:18 p.m.)
-
- added Diff r3
updated diff
Seems to have worked for me on Windows 7 64-bit. Thanks!
Works Great!
Other reviews