473,545 Members | 2,073 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, "Applicatio n 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 4416
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, "Applicatio n 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************* *********@hotma il.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_Micr osoft_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_Micr osoft_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************ **********@hotm ail.comwrote
in message news:00******** *************** ***********@mic rosoft.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, "Applicatio n 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************* *********@hotma il.com
Remove only "_nos_pam"

Nov 15 '06 #3
Question: there are two merge modules:
>
policy_8_0_Micr osoft_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************* *********@hotma il.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_Micr osoft_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_Mic rosoft_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************ **********@hotm ail.comwrote
in message news:uR******** *****@TK2MSFTNG P04.phx.gbl...
>Question: there are two merge modules:

policy_8_0_Mic rosoft_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************* *********@hotma il.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_Mic rosoft_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************* *********@hotma il.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************* *********@hotma il.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
1367
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 see how much work it's going to be to convert over to 2005. I converted the app, tried to compile and resolved all the warnings. One had to be...
3
11789
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 having installed MS .NET Framework 2.0 Beta 2 on it, from...
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. ---------------------------------------------------------------------------- ---- Runtime Error Description: An application error occurred on the server. The current custom error settings...
1
1875
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 me to post in this forum. I paste both the messages I posted there.. --- Hi I have just installed VS2005 and the first thing I did was to try out...
8
2809
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 2.0 application. But I followed the steps I do for a 1.1 ASP.Net applications. I get the following error message when I try to run it. The...
5
1634
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 properties for the component: Project Configuration Properties Debugging Debug Mode = Program Project Configuration Properties Debugging Start Application...
4
1760
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. However, it's sorta hard to dig out any article about the MyApplication.application file. (Think about what you'll get if you search for "visual...
2
2238
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 publish the application to the server, I get the error: Error HRESULT E_FAIL has been returned from a call to a COM component. Configuration of my local...
1
5212
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 interface' when I try to run the RegFree COM interop application from a clients machine. The application works fine for all development machines when...
0
7405
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7659
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7760
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5975
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5334
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4949
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3455
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1887
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1019
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.