| WiX XNA Installer 3.0 |
|
|
| Written by Markus Ewald | |||
| Sunday, April 19 2009 18:42 | |||
|
This past week I've been working on my WiX XNA installer template again because I really wanted to integrate installer generation into my continuous integration builds. That way, I can hand test versions to friends without explaining in detail how to get it to run and it's one less worry I have when I release the game. After some FAQ reading and some questions on the XNA Forums, I had the certainty that XNA 3.0 can be deployed with .NET 2.0 only (if you change your project configurations to target .NET 2.0). This is good news because the .NET 3.5 installer is huge and, on a fresh system, I've had about a 1 in 10 success quote of the installer finishing without an error, so my trust in the .NET 3.5 installer is completely shattered.
Aaron Stebner also revealed to me how I can unpack (or, to be precise, how to create a administrative install of) the XNA 3.0 redistributable (see here). This allowed me to recompress the files, reducing the redistributable's size from 7.61 MiB to 5.5 MiB, including the DirectX runtime files, XNA Framework 3.0 and the Windows Installer custom action DLL to integrate the installation into my .msi file. I am thinking about leaving out the .NET Framework redistributable completely for several reasons:
When the installer detects that .NET is not installed, it will display a friendly page to the user, explaining (very short) what .NET is and that it doesn't slow down their computers, providing a hyperlink to where the user can download .NET. I think the explanation page is neccessary because there's still resistance in uninformed user circles, to which an indie game consumer can very well belong. FactsSo, in short, this is what the new installer experience will be like:
|

