Answered by:
Outlook cleint C++ Runtime error

Question
-
Hi,
When trying to install the CRM 4.0 Outlook client. i got the following error:" The installation of the Microsoft Visual C++ Runtime failed."
Here's the log file
Code Snippet16:14:39| Info| === Setup bootstrap logging started 7/17/2008 4:14:39 PM ===
16:14:39| Info| Bootstrap version: 4.0.7333.3.
16:14:39| Info| User: ibrahimf.
16:14:39| Info| CommandLine: {"G:\Client\SetupClient.exe" }
16:14:49| Info| IsInstallerInstalled=1
16:14:49| Info| Windows Installer found is 4.0
16:14:49| Info| IsIeInstalled=1
16:14:51| Info| Installer path for Microsoft Visual C++ Runtime set to G:\Redist\i386\VcRedist\vcredist_x86.exe
16:14:52| Info| .NET version found is 3.0.4506.648
16:14:52| Info| IsDotNetInstalled=1
16:15:00| Info| IsDrWatsonInstalled=1
16:15:00| Info| Installer path for Microsoft Visual C++ Runtime set to G:\Redist\i386\VcRedist\vcredist_x86.exe
16:15:01| Info| MSXML found is 6.20.1076
16:15:01| Info| IsMsXmlInstalled=1
16:15:01| Info| .NET version found is 3.0.4506.648
16:15:01| Info| IsDotNetInstalled=1
16:15:01| Info| IsSqlExprInstalled=0
16:15:38| Info| Installer path for Microsoft SQL Server 2005 Express Edition (CRM) set to G:\Redist\i386\SQLEXPR\SQLEXPR.EXE
16:15:38| Info| IsReportViewerControlInstalled=0
16:15:40| Info| Installer path for Microsoft SQL Reporting Service Report Viewer Control set to G:\Redist\i386\ReportViewer\ReportViewer.exe
16:15:43| Info| Installing Microsoft Visual C++ Runtime
16:15:43| Error| The installation of the Microsoft Visual C++ Runtime failed.(error = 6) (checkbase.cpp:CCheckBase::Action:354).Any idea what could be the reason?
Thanks
Thursday, July 17, 2008 1:27 PM
Answers
-
I found the solution.
The installation files couldn't be accessed from the installation DVD so i copied them on the laptop and ran the installation again; it went perfectly
Monday, July 21, 2008 10:48 AM
All replies
-
This sounds like a permission error or setup's inability to overwrite files becauase they're being used.
I'd run Process Explorer and then start the install again. When the error occurs, stop Process Explorer from capturing process details. Then, find the timestamp for the error in installing the C++ runtime in the setup log and find that same time in the Process Explorer list. That should help to reveal what the setup application was trying to do when the error occurred.
-Tim
Monday, July 21, 2008 6:53 AM -
This was an odd one but really it's a very common problem in the developer space.
I even had a client that ran into this error when they did not have an Internet connection.
Remember that when you install CRM 4.0 and it does not see some prereqs it goes to the mother ship and downloads them for installation .
We also see this in a VPC image or a VM that is a host only virtual Nic setting
See Phi Richardson's blog on this subject for a bit more info.
http://www.philiprichardson.org/blog/post/Installing-CRM-40-without-Internet-Access.aspx
Monday, July 21, 2008 7:27 AMModerator -
I found the solution.
The installation files couldn't be accessed from the installation DVD so i copied them on the laptop and ran the installation again; it went perfectly
Monday, July 21, 2008 10:48 AM