Martin
Martin

Reputation: 12403

Debugging Visual Studio Setup Project

I'm a few months into building a game and I decided to release something for people to have a play with so I could get some feedback. However I'm getting a lot of reports like this:

I got a problem with the setup, when is at 95% it suddenly goes to 0% and says installation cancelled

This has occurred on Windows XP and Windows 7.

This is a visual studio installer, with the primary output from the game and all the content added. I've made sure that all the referenced projects (except system and XNA ones) are set to "Copy local" in the game project. I've made sure that the installer has "Microsoft .net Framework 4 Client Profile (x86 and x64)", "Microsoft XNA Framework Redistributable 4.0" as prerequisites.

What could possibly cause this?

If it helps, here is the installer so you can try it yourself.

Upvotes: 0

Views: 1862

Answers (1)

Roger Lipscombe
Roger Lipscombe

Reputation: 91845

If you're having difficulty with an MSI installation, you can get an installer log:

msiexec /i foo.msi /L*v foo.log

The log file is quite verbose, and a bit hard to read, but should give you some pointers.

If you're not running the .msi directly (it's a bootstrapper, or a push deployment from something like ConfigMgr), you can turn on global MSI logging: http://support.microsoft.com/kb/314852 (turn it off when you're finished).

Upvotes: 1

Related Questions