mhorowitz
Posts: 12
Joined: Sat Jul 26, 2008 7:11 am

MSVCR90.DLL missing after install

When I create an installer and use it on my dev machine, it works great. When I install it on a more vanilla machine, the app fails to run (with the nice vague error message "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem".).

I eventually figured out that the msvcr90.dll and msvcp90.dll files and their manifest were missing. It looks like I should be able to use the side-by-side assembly from the professional version, but this is greyed out in the freeware. I can solve this by copying the files into my installer manually, but this isn't a very clean solution. Do I have any other options?

Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: MSVCR90.DLL missing after install

Hi,

Please note that these files are part of the C++ Runtime which is required to run C++ applications. A solution would be to add a C++ redistributable as a prerequisite to your package. Please note that Advanced Installer has predefined prerequisites for multiple C++ redistributable versions.

Another solution would be to include the C++ Runtime merge modules in your package (they are installed with Visual Studio). Unfortunately both features can be used only in Professional, Java Application and Enterprise projects.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
einar
Posts: 8
Joined: Fri Aug 14, 2009 5:03 pm

Re: MSVCR90.DLL missing after install

Which version of Advanced installer do I need to include a Visual C++ Runtime as a prerequisite?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: MSVCR90.DLL missing after install

Hello,

This feature is supported in Professional, Java Application and Enterprise projects.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
einar
Posts: 8
Joined: Fri Aug 14, 2009 5:03 pm

Re: MSVCR90.DLL missing after install

I actually ment which version number of Advanced Installer (for example 6.1)
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: MSVCR90.DLL missing after install

Hello,

The Prerequisites feature has been around since version 4.1 of Advanced Installer.
The Visual C++ 2005 redistributable predefined prerequisite has been available since version 6.4 of Advanced Installer.
Both VC++ 2005 SP1 and VC++ 2008 redistributable predefined prerequisites have been available since version 6.5

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
rahat123
Posts: 1
Joined: Wed Nov 16, 2011 12:22 pm

Re: MSVCR90.DLL missing after install

After C++ install.. still facing this error... any other solution..?
Last edited by rahat123 on Thu Nov 17, 2011 5:59 pm, edited 3 times in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: MSVCR90.DLL missing after install

Hello and welcome Advanced Installer forums,

Can you please expand on the problem specifying the OS architecture and other relevant information? Does the issue manifest on several similar machines?

Also, can you please attach a verbose log of the failing installation?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”