Jump to content
  • Advertisement
Sign in to follow this  
Ninja2008

Deploying C++ DirectX 9 games from XP to 7

This topic is 2470 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi

I used VC++ 2008 and DX9 to create a simple 2D game on WinXP, then, I used the "new project->setup project" to create a depolyment project for the game, a setup file resulted of this process that installed successfully on my winXP machine...

When installing it on Win7 machine this message appears:
"The application has failed to start because its side-by-side configuration is incorrect, please see the application event log or use the command line sxstrace.exe tool for more details"

anyone can help me with this?

Thanks in advance..

Share this post


Link to post
Share on other sites
Advertisement
One thing to try is installing the VS2008 C++ Redistributable on the Win7 machine; I remember fixing something similar that way a couple years ago.

If that works, you'll need to bundle that with your installer.

Share this post


Link to post
Share on other sites
Thanks for the quick response : )

I saw that both 2005 and 2008 C++ Redist. versions are installed on the Win7 Machine so I think this is not the problem..

Thanks again...any other suggestion...I am googling but not being able to find anything to solve this..

Share this post


Link to post
Share on other sites
The Win7 machine is equipped with fully functional DirectX 11 (run-time library only)..

do you mean I must distribute the dx9 redistributable version?? this one http://www.freewarefiles.com/DirectX9.0c-Redistributable_program_516.html
it's 95 MB, that would be big for a game of 5 megabytes...

Thanks buddy..

Share this post


Link to post
Share on other sites
Hidden

The Win7 machine is equipped with fully functional DirectX 11 (run-time library only)..

do you mean I must distribute the dx9 redistributable version?? this one http://www.freewaref...rogram_516.html
it's 95 MB, that would be big for a game of 5 megabytes...

Thanks buddy..


The Dx9 redistributable is actually 33mb. Still excessive for a 5mb game, but them's the breaks.

Share this post


Link to post
Windows 7 by default does not include the most up to date version of DirectX 9. You'll either need to build against a downlevel SDK or instruct your users to upgrade their DirectX.

Share this post


Link to post
Share on other sites

The Win7 machine is equipped with fully functional DirectX 11 (run-time library only)..

do you mean I must distribute the dx9 redistributable version?? this one http://www.freewaref...rogram_516.html
it's 95 MB, that would be big for a game of 5 megabytes...

Thanks buddy..


depends, sometimes it is not needed.
one way it to bundle the webinstaller version with your app.
the other way is to:
copy the d3d redist folder that is in the dx sdk folder.
( optionally, dont know how good this would be on account of WOW64 ) delete the the x64 dlls if your app is only x86
delete the dlls your app dont need, XNA redist does this, a 'lite' version of the dx redist is installed.

that should work.
:) :) :)

Share this post


Link to post
Share on other sites
Hmmm that's so weird. Thanks.

I still think that setting up a 95 MB thing for a simple 2D game is just not appropriate, I miss the days of programming DOS games..

Thanks guys all of you for your efforts..

Share this post


Link to post
Share on other sites

Hmmm that's so weird. Thanks.

I still think that setting up a 95 MB thing for a simple 2D game is just not appropriate, I miss the days of programming DOS games..

Thanks guys all of you for your efforts..


then get the web installer for DX, its about 300k.
they will obviusly require an internet connection though.

or you could look into OpenGL, as far as i know it does not require any redists, other then what should be installed with your graphics drivers.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!