Jump to content
  • Advertisement
Sign in to follow this  
Shashwat

XNA Game Deployment

This topic is 2775 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

I'm using XNA 3.0 C# VS 2008.

I want to run my XNA game on a system not having XNA, DotNet, and Internet connection.
How to create a setup of my project so that it automatically installs the required XNA and DotNet files without downloading from the internet?

Someone told me to use 'Publish' option.
But it requires internet.

Please suggest me a solution.
Thank you!

Share this post


Link to post
Share on other sites
Advertisement
1. Create an installer for your project. A self-extracting .zip archive would suffice, but there are tools out there (NSIS, WiX) that allow you to add an uninstall option, start menu entries and target directory selection.

2. Once you have that installer, add the .NET and XNA redistributables to the installer using a bootstrapper like dotNetInstaller. Some installers allow you to integrate redistributable packages directly into the installer, in which case you might not even need a bootstrapper.

You'll get a single executable that installs .NET, XNA and your game/app/whatever on the target system.

Share this post


Link to post
Share on other sites
Is it necessary to create a self-extractor of my project?
Can't I include VS Setup project?

I've two projects (related, one is server other is client) which I want to merge into a single setup.

Whats the difference between dotNetInstaller and VS Setup project?

Please! Answer all!
Thanks...

Share this post


Link to post
Share on other sites
You might want to take a read through and adjust this nsis script that is prewritten to deploy an xna game plus the .net and xna runtimes. I plan to use the same scripts to deploy my own game once i am ready to release it on windows.

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!