Re: side-by_side error on Vista
- From: "Ron Francis" <rfrancis@xxxxxxxxxxxx>
- Date: Wed, 24 Oct 2007 08:26:14 +0930
First of all, thank you all for responding.
Could you please tell me a more appropriate group this question should have
been directed too?
I've been playing with deploying the extra files using a setup project using
a merge module, but haven't tested it on Vista yet.
Installing this way looks a bit ugly because there are two setup files, but
would be ok if it works.
If it tries to install the files into the SXS directory on Vista, I would be
surprised if it does work without the user having to change there user
settings and reboot, but hopefully I'm wrong.
Just as a test, I tried manually adding the directories and files (before I
read about manifests and policies), but failed because that directory is
protected.
What I would prefer is to find out why my app is depending on these DLLs and
try not use them in the first place.
I figure that I should be able to do this with Dependency Walker, but I have
to work out what it's telling me.
Thanks again for your suggestions.
Regards,
Ron Francis
www.RonaldFrancis.com
"Sam Hobbs" <samuel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uDMRegbFIHA.1388@xxxxxxxxxxxxxxxxxxxxxxx
Microsoft recommens not using static libraries such as that.
You can use the Communities tab of the MSDN home page or the Communities
in Visual Studio (VS) 2005 to find forums and newsgroups.
You can use VS to create a setup project for your project. The VS
documentation has a lot to read but there is a lot to read about deploying
VS projects. One thing that is not emphasized is that when creating a
setup project there is a Setup Wizard that can make things very easy.
"Mk" <mksoft_@xxxxxxxxxxx> wrote in message
news:9B61F5A1-DEA7-4FC1-A65A-2D2873648851@xxxxxxxxxxxxxxxx
In the project settings, in C/C++ / CodeGeneration select non DLL
'runtimes library'
This fixed the problem for me
"Larry Futrell" <lfutrell@xxxxxxxxxxxxxxxxx> a écrit dans le message de
news:%23HmNbBbFIHA.3980@xxxxxxxxxxxxxxxxxxxxxxx
Ron Francis wrote:
Windows XP Professional
Visual Studio 2005
Platform SDK Jan 2006
DirectX 9.0c SDK Aug 2007
No MFC or ATL
I'm not sure if this is the most appropriate group for this question,
but
It's not, but I'll try to help anyway.
here goes:
I'm compiling an application on an XP machine and testing it on Vista.
As stated in the subject line, I'm getting a side-by-side configuration
error when trying to run to run it on Vista.
Vista's event viewer tells me the problem is
Dependent Assembly
Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"
could not be found
If I'm reading this correctly, (and I'm a bit of a novice) ...
Dependency Walker told me that the offending DLLs are MSVCR80.DLL
and/or
MSVCP80.DLL
It seems that Vista's versions are older versions than the ones I have
on
XP if the version numbers are in sequence.
I tried just copying the newer DLLs to the app's startup directory, but
it
looks like those days are gone.
I'm hoping that this is a common problem and some of you will know an
easy
solution?
On your XP machine, look in the directory where Visual Studio is
installed for the file redist.txt which will tell you what files you are
allowed to redistribute with your application. The file you probably
want is vcredist_x86.exe which you can find by searching subdirectories
of the Visual Studio directory (on my system it is in "C:\Program
Files\Microsoft Visual Studio
8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\vcredist_x86.exe". Run
that on the Vista system to install the runtime required by your
application.
--
Larry Futrell
.
- Follow-Ups:
- Re: side-by_side error on Vista
- From: Sam Hobbs
- Re: side-by_side error on Vista
- References:
- side-by_side error on Vista
- From: Ron Francis
- Re: side-by_side error on Vista
- From: Larry Futrell
- Re: side-by_side error on Vista
- From: Mk
- Re: side-by_side error on Vista
- From: Sam Hobbs
- side-by_side error on Vista
- Prev by Date: Re: removing red cross-button (vista)
- Next by Date: Re: removing red cross-button (vista)
- Previous by thread: Re: side-by_side error on Vista
- Next by thread: Re: side-by_side error on Vista
- Index(es):
Relevant Pages
|