5
\$\begingroup\$

I want to know how would I distribute my XNA such that it won't distribute as an installer/setup files? I just want a zip of files such that when the user can run instantly after extracting into a folder. I am making a small prototype of some functionalities, and I would like my co-workers to visually see it so that we can communicate better. However, this must means I must frequently release my projects (as I update it frequently), so I want to know a way to produce easy-to-launch distribution.

I tried to turn Build option in Visual Studio to Release, and try copy and zip all the files inside Release folder. However, when I zip it and send to my coworkers, they said nothing comes up after they open the exe.

\$\endgroup\$
1
  • \$\begingroup\$ Look at ClickOnce it creates easy installer that can be updated via web, so its basically one click \$\endgroup\$
    – Kikaimaru
    Commented May 15, 2012 at 17:11

1 Answer 1

5
\$\begingroup\$

Your co-workers need to have the .Net Framework 3.5 and the XNA Framework 4.0 installed. I don't think there's an easy way around that. Get them to install these first, then you can distribute the exes in a zip file with no problems.

\$\endgroup\$
6
  • \$\begingroup\$ They said they have both 3.5 and 4.0, so I think the problem is there may be more dependent files that I didn't include in the zip. All I put into my zip is the exe and Content folder (which is where all my resources are). However, some of the resources are custom files (import into XNA but only set it to Copy Always with no compiling) \$\endgroup\$
    – user1542
    Commented May 15, 2012 at 15:52
  • 2
    \$\begingroup\$ They have both the .Net Framework AND the XNA Framework? (3.5 and 4.0 respectively) \$\endgroup\$ Commented May 15, 2012 at 15:54
  • \$\begingroup\$ XNA Framework too? I think they miss that one, so where can they download that? \$\endgroup\$
    – user1542
    Commented May 15, 2012 at 16:10
  • \$\begingroup\$ @user1542 microsoft.com/en-us/download/details.aspx?id=20914 \$\endgroup\$ Commented May 15, 2012 at 16:12
  • \$\begingroup\$ The link was also in my original answer, if you read carefully. \$\endgroup\$ Commented May 15, 2012 at 16:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .