Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Click once doesn't launch installer
 

Click once doesn't launch installer

I am running into a couple client issues with a click-once (2005) application deployment. Some users are finding that when they click the Install button on the sitethe browser refreshes, but nothing happens. The version checker is not run. We have tried to install and uninstall the 2.0 framework making sure to do it as an Admin on their box. We have also tried checking for the Firefox issue and don't believe that is the cause either. The deployment works fine for most clients.

In addition, we had a situation yesterday where a client tried to run the application. In their case, the version checking/download worked, but when the application tried to launch it just disappeared.

I have tried searching the normal places, but have been relatively unsuccessful. I would appreciate it if any of you can offer other suggestions to pursue.

Jim

Jim Wooley  Thursday, October 30, 2008 5:41 PM

I don't think you answered any of my questions.

For the ones where they are having problem, is it always IE?

Do you have the MIME types defined on your server? Because if you don't, it will work with IE7 but not IE6.

.application --> application/x-ms-application
.manifest --> application/x-ms-application
.deploy --> application/octet stream

If you are deploying .Net 3.5:

.msp --> application/microsoftpatch
.msu --> application/microsoftupdate

If your application uses VSTO:

.vsto --> application/x-ms-vsto

Other than that, I would go through each and every screen in the IE setup and see what is different. My guess is that there is some security setting that differs per user.

RobinS.

GoldMail.com

RobinDotNet  Tuesday, November 04, 2008 6:57 AM

First, what do you mean "when they click the install button the browser refreshes" ?

Are you sure you are deploying a new version? Have you gone into the \apps\2.0\... folder structure to look at the actual files downloaded and checked to see if the new files are there?

For the client who ran it and it disappeared, are you certain that it's not a problem with the application crashing? I have seen this, where it installed it, but it crashed before the UI came up, and people think it's the installation, but it's the application. Do you have any logging in your application that would help figure this out? When they do this and run it again, what does it do?

RobinS.

GoldMail.com

RobinDotNet  Friday, October 31, 2008 4:06 AM

The app installs fine for most clients. I've tested it under all combinations of XP/Vista/Win 2000 with and without .Net pre-installed, both as a initial install and upgrade scenario and in most cases it works fine. For selected clients, when they click the install button, IE flashes and the page refreshes, but the installer doesn't start. We have yet to determine what the commonality is between these clients. The strange thing is that if we have them install firefox with the click once addin, we can get it to work. We would prefer to not have to foce them to install a competing browser.

Jim

Jim Wooley  Tuesday, November 04, 2008 5:26 AM

I don't think you answered any of my questions.

For the ones where they are having problem, is it always IE?

Do you have the MIME types defined on your server? Because if you don't, it will work with IE7 but not IE6.

.application --> application/x-ms-application
.manifest --> application/x-ms-application
.deploy --> application/octet stream

If you are deploying .Net 3.5:

.msp --> application/microsoftpatch
.msu --> application/microsoftupdate

If your application uses VSTO:

.vsto --> application/x-ms-vsto

Other than that, I would go through each and every screen in the IE setup and see what is different. My guess is that there is some security setting that differs per user.

RobinS.

GoldMail.com

RobinDotNet  Tuesday, November 04, 2008 6:57 AM
Jim, Did you ever get this sorted out? I am having this trouble with (very few of) my clients as well. I have had to rebuild their operating system to get it to work.
Jordan Lun  Thursday, July 16, 2009 6:46 AM

You can use google to search for other answers

Custom Search

More Threads

• Click Once - How to get version
• .NET framework 3.0 installed instead of 2.0
• Getting random sc-win32-status 64 errors in IIS 5.1 when downloading larger files.
• Deployment project version using an AssemblyInfo.cs file
• How to add my database to be includen on the setup?
• ClickOnce error while starting setup
• deploy .NET winforms control through webpage
• ClickOnce Server Error: access denied
• Deployment Project - Help Please
• Unusual Requirement using ClickOnce API