Deploying a VS 2005 from VISTA to an XP target machine

A

Alex4orly

I have moved recently from my old XP machine to Windows Vista (Yes, I am
slow...). Runing now with Service Pack 2 and Visual Studio 2005, developing
in C++ (not managed).

When I recently had to make a change in my program, it works fine on my PC,
but when trying to run it on the client's machine it fails.

It comes up with "The application has failed to start because the
application configuration is incorrect. blah blah..."

I tried looking for the latest redistribution package, but the latest one I
can find for VS 2005 is dated sometime in 2007.

It seems I managed to isolate the problem to a specific VS 2005 patch called
"Security Update for Microsoft Visual Studio 2005 Service Pack 1 " - If I
install this, my resulting EXE no longer runs on an XP machine.

Any suggestions? PLEASE...

Cheers
Alex
 
B

Ben Voigt [C++ MVP]

Alex4orly said:
I have moved recently from my old XP machine to Windows Vista (Yes, I am
slow...). Runing now with Service Pack 2 and Visual Studio 2005,
developing
in C++ (not managed).

When I recently had to make a change in my program, it works fine on my
PC,
but when trying to run it on the client's machine it fails.

It comes up with "The application has failed to start because the
application configuration is incorrect. blah blah..."

I tried looking for the latest redistribution package, but the latest one
I
can find for VS 2005 is dated sometime in 2007.

It seems I managed to isolate the problem to a specific VS 2005 patch
called
"Security Update for Microsoft Visual Studio 2005 Service Pack 1 " - If I
install this, my resulting EXE no longer runs on an XP machine.

Any suggestions? PLEASE...

Simple way: Find the vcredist_x86.exe created by that patch (on your machine
with Visual Studio), copy it to the other machine and run it.
More complex way: Change to static linking or set the manifest to require
the version of the runtime library which is installed on XP (usually by
installing .NET from Windows Update).
Cheers
Alex


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4343 (20090817) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4343 (20090817) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top