Sign in to follow this  
Shashwat

XNA Game Deployment

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this