How to distribute a PC-based XNA game?

I looked in the documentation about releasing a PC-specific game and all I got was XBox 360 distribution. I'm working on a PC game that has no need for the XBox 360, just to be clear. I'm curious in what runtime files I need? I'm sure it requires .NET 2.0, DirectX 9.0c, but are there some extra dlls that I need? Thanks in advanced.
[336 byte] By [redshock] at [2007-12-26]
# 1
Other than .Net 2.0 and DirectX 9.0c you will need to include the two xna dlls located here:

C:\Program Files\Microsoft XNA\XNA Game Studio Express\v1.0\References\Windows\x86
Microsoft.Xna.Framework.dll
Microsoft.Xna.Framework.Game.dll

KrisNye at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Framework...
# 2
Sounds good. Does XACT/XInput need their dlls included as well, or is that part of the two above?
redshock at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Framework...
# 3
You might want to use the XNA Framework runtime install instead - http://www.microsoft.com/downloads/details.aspx?FamilyId=EB14D73E-E6D8-4132-8032-3CB828DB5EFC&displaylang=en
JimPerry at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Framework...
# 4
Note that beta runtimes in general are not redistributable. You should probably wait until the final XNA is released, and then include the redistributable that comes with them.

For XInput and XACT, you can include those DLLs by using the redistributable installer from the DirectX SDK (make sure you get the same version as the XNA SDK is using!) If you assume that the user already has DX9.0c, you can include only the D3DX, XACT and XInput installers, to keep the size of your total installer small.

JonWatte at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Framework...
# 5

Its *VERY* likely that the XNA DLLs will not be redistributable. This is the model that the DirectX team and the .Net team has followed and since the assemblies are installed in the GAC its the correct behaviour. You end up with multiple copies of the assemblies and in the case of a security hole MS will not be able to find and patch them all. This is also why you should not use installer generation tools that 'look for' dependencies - it may find the XNA ones and add them but it won't then find the native DX files that they require.

So right now as of beta 2 you have 2 choices:

1. Create a custom installer that includes the following redists:
.Net 2.0: http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5
DirectX runtime files: http://www.microsoft.com/downloads/details.aspx?FamilyID=013c0f78-3c9b-44dc-b8be-46783bcac3cb
XNA runtime files: http://www.microsoft.com/downloads/details.aspx?FamilyId=EB14D73E-E6D8-4132-8032-3CB828DB5EFC

NOTE: read http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/Installing_DirectX_with_DirectSetup.asp to reduce the size of the DX setup files

-or-

2. Ask your users to run the following:
.Net 2.0 installer: http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5
DirectX web installer: http://www.microsoft.com/downloads/details.aspx?familyid=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3
XNA installer: http://www.microsoft.com/downloads/details.aspx?FamilyId=EB14D73E-E6D8-4132-8032-3CB828DB5EFC

NOTE 2 of these links are the same as the redists you include in your custom installer. The DirectX one is a special small web installer that detects what is already there and only downloads the missing bits

TheZMan at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Framework...
# 6
I'm new to Windows development, but would like to make an installer that installs .NET, DirectX and XNA as well as my game. How would I go about doing that?
Praxis at 2007-9-4 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Framework...