Question

This issue has come up three times in our environment. After installing the ClickOnce application, I expected it to startup automatically (as I have it set to do after install completes), but it did not.

I try running the application from the shortcut, and it brings up the "Launching Application" dialog, but then immediately closes and the application is not started. It's acting as if another instance of the application is currently running (I have it set to only run one instance at a time).

This issue is profile-specific. Installing it on the same machine using a different profile runs just fine, but for whatever reason, no amount of uninstalling, reinstalling, and restarting the computer seems to fix a profile once it runs into this problem.

Our current fix for this is to completely delete the profile and "reload" it. I'd really like to know what the actually problem is though, being that we've run into it three times now.

Some other information that may be of use:

  1. This application was originally deployed using Windows Installer (MSI). I uninstalled the application from the Add/Remove Programs prior to installing the newer ClickOnce version.

  2. These users were previously part of local administrators group (while running the MSI version). Their privileges have since been lowered to "standard user".

Was it helpful?

Solution 2

I was able to fix those installations by creating a new certificate for the app. It appears this issue had to do with the certificate reaching its expiration date.

OTHER TIPS

Do you have any logging at startup that shows exactly what the application is doing, so you can tell where it's crashing?

The user doesn't have Kensington mouse software installed, do they? There is a known conflict there, the symptoms of which are exactly as you report -- the user clicks the shortcut to start the application, it updates, and then does nothing.

Instead of deleting the profile try this:

Log onto the PC as an admin

Delete/rename C:/Documents and Settings/(UserCorpID)/Local Settings/Application Data/Microsoft/Windows/UsrClass.dat file 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top