473,507 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application Configuration Error C++ VS2005

Tom
I have built a VS 2005 C++ application (ported from VC++ 2003).
It's a WinForm app. It runs OK on the development system,
but when I try to deploy it on any other system, all users gets
an error box, "Application configuration Error. Try re-installing the
application. (Deployed using an MSI setup project).

I downloaded Dependency Walker, and it says that 2 DLL's
are not found:

DWMAPI.DLL, EFSADU.DLL

on the development machine. Well, it's true, they're not on the
development machine. I tried installing the BETA SP1 for
VS2005 standard edition - made no difference. I built in both
DEBUG and RELEASE configuations, no difference.

What the heck are the DLL's and how to fix the problem?

-- Tom


Nov 15 '06 #1
7 4413
I have built a VS 2005 C++ application (ported from VC++ 2003).
It's a WinForm app. It runs OK on the development system,
but when I try to deploy it on any other system, all users gets
an error box, "Application configuration Error. Try re-installing the
application. (Deployed using an MSI setup project).

I downloaded Dependency Walker, and it says that 2 DLL's
are not found:

DWMAPI.DLL, EFSADU.DLL

on the development machine. Well, it's true, they're not on the
development machine. I tried installing the BETA SP1 for
VS2005 standard edition - made no difference. I built in both
DEBUG and RELEASE configuations, no difference.

What the heck are the DLL's and how to fix the problem?
Hi,

<from google>
DWMAPI.DLL is "Desktop Windows Manager" - the part of Windows Vista.

Do you perhaps have installed the VS plugins for writing .NET 3.0 apps?
I have also seen reports of this being caused by an IE7 (beta?) install.

Btw, that other computer does have the .NET2.0 framework installed, does it?

--
Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"

Nov 15 '06 #2
Tom
OK, getting closer. Porting a setup project from 2003 to 2005
does not get all the dependencies to come along. I had to delete
and then add back some files to get the dependency checker to
work.

It then added a dependency:
policy_8_0_Microsoft_VC80_CRT_x86.msm

So it wants me to add a merge module to include the VC8.0 runtime.

Question: there are two merge modules:

policy_8_0_Microsoft_VC80_CRT_x86.msm

and

Microsoft_VC80_CRT_x86.msm
Which one is the right one to include in the setup project?
-- Tom



"Bruno van Dooren [MVP VC++]" <br**********************@hotmail.comwrote
in message news:00**********************************@microsof t.com...
>I have built a VS 2005 C++ application (ported from VC++ 2003).
It's a WinForm app. It runs OK on the development system,
but when I try to deploy it on any other system, all users gets
an error box, "Application configuration Error. Try re-installing the
application. (Deployed using an MSI setup project).

I downloaded Dependency Walker, and it says that 2 DLL's
are not found:

DWMAPI.DLL, EFSADU.DLL

on the development machine. Well, it's true, they're not on the
development machine. I tried installing the BETA SP1 for
VS2005 standard edition - made no difference. I built in both
DEBUG and RELEASE configuations, no difference.

What the heck are the DLL's and how to fix the problem?

Hi,

<from google>
DWMAPI.DLL is "Desktop Windows Manager" - the part of Windows Vista.

Do you perhaps have installed the VS plugins for writing .NET 3.0 apps?
I have also seen reports of this being caused by an IE7 (beta?) install.

Btw, that other computer does have the .NET2.0 framework installed, does
it?

--
Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"

Nov 15 '06 #3
Question: there are two merge modules:
>
policy_8_0_Microsoft_VC80_CRT_x86.msm

and

Microsoft_VC80_CRT_x86.msm
Which one is the right one to include in the setup project?
I have not yet created installers with VS2005, but from what I can see:
both.
See here
http://blogs.msdn.com/aymans/archive...04/568466.aspx

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Nov 16 '06 #4
t
Thanks. The BLOG doesn't really go into the problem too clearly.
I deployed with just the one merge module: Microsoft_VC80_CRT_x86.msm
even though SETUP listed the dependency as:
policy_8_0_Microsoft_VC80_CRT_x86.msm

I noticed a couple of things:

1) porting a SETUP project from VS2003 to VS2005 does NOT correctly
establish
the dependencies. I had to manually delete then re-add each exe file to the
SETUP project;
that correctly re-established the dependencies
(policy_8_0_Microsoft_VC80_CRT_x86.msm
in my case).

2) Deploying with the Microsoft_VC80_CRT_x86.msm merge module alone was
sufficient
to get the application to work properly, there was no need to add the other
merge module.

3) Searching the web produces a lot of wrong information and incorrect
approaches
to the problem.

-- Tom


"Bruno van Dooren [MVP VC++]" <br**********************@hotmail.comwrote
in message news:uR*************@TK2MSFTNGP04.phx.gbl...
>Question: there are two merge modules:

policy_8_0_Microsoft_VC80_CRT_x86.msm

and

Microsoft_VC80_CRT_x86.msm
Which one is the right one to include in the setup project?

I have not yet created installers with VS2005, but from what I can see:
both.
See here
http://blogs.msdn.com/aymans/archive...04/568466.aspx

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"

Nov 28 '06 #5
1) porting a SETUP project from VS2003 to VS2005 does NOT correctly
establish
the dependencies. I had to manually delete then re-add each exe file to
the SETUP project;
that correctly re-established the dependencies
(policy_8_0_Microsoft_VC80_CRT_x86.msm
in my case).
Good to know.
2) Deploying with the Microsoft_VC80_CRT_x86.msm merge module alone was
sufficient
to get the application to work properly, there was no need to add the
other merge module.
That will depend on what your app uses. If you only use the CRT, then that
will suffice.
3) Searching the web produces a lot of wrong information and incorrect
approaches
to the problem.
Sad but true.
But I am glad your problem was solved.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Nov 28 '06 #6
t
Thanks for the answers.

Under what case(s) would it be also necessary to deploy the policy_VC80_CRT
merge module? Do you know if there is any documentation available about
this?

-- Tom

>
>2) Deploying with the Microsoft_VC80_CRT_x86.msm merge module alone was
sufficient
to get the application to work properly, there was no need to add the
other merge module.

That will depend on what your app uses. If you only use the CRT, then that
will suffice.


Dec 3 '06 #7
Under what case(s) would it be also necessary to deploy the
policy_VC80_CRT
merge module? Do you know if there is any documentation available about
this?
The main resource I use is MSDN, which has a section on redistributing
applications in the VC++ section.
Apart from that I use google when needed.
But I don't know any specific set of documentation which is complete.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Dec 3 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1365
by: carbon_dragon | last post by:
The application is a console app, though it does have a temporary windows form console, which is fairly complicated and which was developed in VS2003. I installed VS2005 on an XP OS and tried to...
3
11783
by: Gustavo L. Fabro | last post by:
Greetings! I'm testing VS 2005 Beta 2, and I've compiled a program that runs just fine on my computer (where VS is installed). I've tried to run this same program on another computer (after...
6
635
by: Javier Cortés Cortés | last post by:
i am getting this error when i am trying to access any file(with the ext. aspx) from my remote server. the error is : Server Error in '/' Application....
1
1871
by: Cristian | last post by:
Hi I have some trouble (on only one developer computer) with the application settings functions... I have posted to the Microsoft.Public.vstudio.setup group but they couldn't help me and asked...
8
2807
by: =?Utf-8?B?V2hpc2tleVJvbWVv?= | last post by:
I am trying to copy files and folders onto a production machine (Windows 2003 web edition -- we had to install the .NetFramework 2.0 on it). I wasn't even sure which files to copy for a ASP.NET...
5
1628
by: =?Utf-8?B?SGFpcmxpcERvZzU4?= | last post by:
I have a component that was developed in VS2003 that I need to debug in a VS2005 application. Basic steps are: Build the component for Debug in VS2003. Set the following VS2003 project...
4
1751
by: Author | last post by:
This is regarding VS2005-generated files. I've searched a little and found out that *.vshost.* files are VS2005 generated for debugging purpose and should not be published to the end user. ...
2
2236
by: Sun | last post by:
Hi guys, I have a problem which troubled me last two weeks. I create a web applicatoin using VS2005 to generate the powerpoint presentation. All works fine in my local machine but after I...
1
5206
by: Bhrionn | last post by:
Hello World, I am working on implementing a build for my companies application. The scenario implemeted is producing the error: ‘Class does not support automation or does not support expected...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7034
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.