tags:

views:

121

answers:

1

I've got a clickonce app deployed that many machines can install just fine - except one. That one also happens to be an offsite machine that I don't have direct access to. When the user clicks the "install" button, he gets the xml page instead of the app installing.

I've found that invalid mime types on the server can cause this, but that's not the case and again: 30 or so machines install it just fine.

I've also found that some browsers won't work with clickonce (ff: without a plugin, and chrome requires the setup.exe to be download and started) but the machine in question is using IE (though I'm not 100% on the version).

For the time being, I can just point the user to the address and instead of publish.htm I'll have them use the setup.exe but this obviously isn't intuitive for everyday users.

What else could cause this?

+1  A: 

This user likely doesn't have the version of the .NET Framework installed that supports ClickOnce. If they do, they likely need to run a repair on their installation... the .NET Framework installs the proper mimetype handlers for IE for this and if it's not installed properly you will just get the manifest XML trying to download, rather than the click once helper launching.

You can have the user go to http://www.smallestdotnet.com and it will say what version of the framework he/she has and how to upgrade to the latest version.

Anderson Imes