ClickOnce application installed path

Filed in ClickOnce Leave a comment

The path of the ClickOnce installed application is sort of hidden. Below is the sample path;

C:\Documents and Settings\USERNAME\Local Settings\Apps\2.0\OZNAN8K7.K0W\P7TP6M3R.WZ4\AppDllName…..WEREWC.334

USERNAME: Is the logged user name.

The second last and third last folder name differ from machine to machine but sort of garbage name.

AppDllName…..WEREWC.334: Last folder name start from application dll name then “…” and then again some garbage.

Restoring a previous version of ClickOnce deployed application

Filed in ClickOnce Leave a comment

This is a very common scenario that you need to restore the older version of release and your application is deployed via ClickOnce method. Below are the some links which I found found very useful in order to resolve this issue.

http://geekswithblogs.net/gpro/archive/2008/10/30/clickonce-restore-previous-version.aspx

http://www.codeproject.com/KB/dotnet/Restore_Application.aspx

http://www.infoq.com/articles/ClickOnce-Versioning

Enforce user to update the newly deployed ClickOnce release

Filed in ClickOnce Leave a comment

Problem:

There are some time where you would like the user to forcely update the release which is deployed via ClickOnce.

Solution:

Right Click Project > Properties > Publish Tab > Click Updates… buttons > Check the option (Specify a minimum required version for this application) to the latest version. With this option when user open the application it will automatically update the specified version.

Unable to install or run application. The application requires that assembly Microsoft.Practices.EnterpriseLibrary.Data Version 3.1.0.0 to be installed in Golbal Assembly Cache (GAC) first. ClickOnce

Filed in ClickOnce Comments Off

Problem:

Unable to install or run application. The application requires that assembly Microsoft.Practices.EnterpriseLibrary.Data Version 3.1.0.0 to be installed in Golbal Assembly Cache (GAC) first. ClickOnce

Solution:

Right Click Project > Properties > Publish Tab > Click Application Files… buttons > Set the Publish Status of problem dlls to (Include) or (Include Auto) whatever is available.

TOP