Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Advice on how to debug a installation problem.
 

Advice on how to debug a installation problem.

Hi,

Gota bit of a problem here with ClickOnce and I'm at a loss on how to approach finding a solution. Hope someone can help.

An application is deployed to 7 machines. 6 work fine, 1 doesn't. The application just isn't displayed. It flashes up and then disappears, no exceptions.

Here are my thoughts and action:


Ok maybe the installation was faulty so do a reinstall. Still doesn't work.

Ok maybe the framework didn't install right, re-installed, re-installed the application. Still doesn't work.

Maybe there is a missing framework versionm or service pack. Installed up to .NET 3.5. Still doesn't work.

Ok run a small test .NET application. That worked. (Argh)

OkXCopythe application on to the machine and run.It worked. ( ? )

It's the only machine in the 7 that doesn't have local admin rights. (aaaaaha!)
OK installed on another machine with no admin rights.
The application installs over ClickOnce and runs ok (damit).





So basically it's just not installing on this one machine. Now I don't expect anyone to know why but what I am wondering is does anyone have any advice on how to determine what has gone wrong? Is there an installation log? Is there anything I can do to help track down what is going on with the ClickOnce deployment on this machine?

Thanks....
www.dsmyth.net | www.dsmyth.net/wiki
Derek Smyth  Friday, May 29, 2009 11:18 AM
Hi Derek,

Visit the following link to get information on how to troubleshoot ClickOnce deployment:
http://msdn.microsoft.com/en-us/library/fb94w1t5.aspx

Hope this helps.

Sincerely,
Linda Liu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
  • Marked As Answer byDerek Smyth Wednesday, June 10, 2009 8:22 AM
  •  
Linda Liu  Wednesday, June 10, 2009 8:13 AM

Hi Derek,

When installing a ClickOnce application on a client machine, the user doesn't need to have the local admin rights.

Perhaps the current user's ClickOnce cache on the problematic machine is corrupt. Please have a try deleting the ClickOnce cache of the current user on the problematic machine to see if the problem can be fixed.

If you're using Windows XP, the ClickOnce cache is like below:
c:\Documents and Settings\username\Local Settings\Apps\2.0

If you're using Windows Vista, the ClickOnce cache is as follows:
c:\users\username\AppData\Local\Apps\2.0

Hope this helps.

Sincerely,
Linda Liu


Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
Linda Liu  Friday, June 05, 2009 7:53 AM
Hi Derek,

Visit the following link to get information on how to troubleshoot ClickOnce deployment:
http://msdn.microsoft.com/en-us/library/fb94w1t5.aspx

Hope this helps.

Sincerely,
Linda Liu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
  • Marked As Answer byDerek Smyth Wednesday, June 10, 2009 8:22 AM
  •  
Linda Liu  Wednesday, June 10, 2009 8:13 AM
Hi Linda Liu,

Thanks very much for replying. The link will hopefully prove very useful. Thanks also for coming back to the original post with the link. I appreciate your help. Now starts the investigation. :)

All the best,
Derek
www.dsmyth.net | www.dsmyth.net/wiki
Derek Smyth  Wednesday, June 10, 2009 8:22 AM

You can use google to search for other answers

Custom Search

More Threads

• Deployment - Multiple Sites (ex: QA/Production)
• Program Icon Question
• how to add the outlook express addin into the project file?
• Extending ClickOnce Deployment/Client Proxy?
• Automate the deployment of my database after a user has installed my application
• Error during build setup project, if lage file added
• Bundling Java with MSI installer?
• How to give the user an option to install a third party software in the installation project!
• Click Once Vista disable Virtualization
• Help! Windows Installer