How to find ClickOnce Application Directory

21. July 2014 09:18


ClickOnce applications store their data in an obscure directory (i.e. C:\Users\username\AppData\Local\Apps\2.0\QH85L3CK.1O0\P6HV1J4X.59N\west..tion_945506851464d64d_0003.0002_df3408a05edbe3cf). Sometimes you want to get to this directory to take a look at a log file or check/test settings. There is an easy way to locate this directory when the application is running.

Open Task Manager

Under the Applications tab, right click the application and select go to process (or just locate the process under the Process tab if you know what it is).

Right click the process name and choose Open file location.


Like magic, you’ve found the obscure directory!

Auto Launch ClickOnce App From Web Page

16. June 2014 14:19


Recently ran into a situation where a web page was launching a ClickOnce application automatically (no interaction from the user). This worked fine on a machine running IE8, but not IE9 and greater. It would appear to download the manifest but never actually started the application without user intervention. Some research turned up a MSDN article (see the section on Activating ClickOnce Applications Through Browser Scripting) which indicates the “Automatic prompting for file downloads” under Security/Downloads needs to be enabled. Checked on the IE8 machine and sure enough it was enabled. Went to the IE9 machine, and there is no such setting! After some more researching I found a registry key to change on IE9 and greater to enable the “Automatic prompting for file downloads”:

hkcu\Software\Microsoft\Windows\CurrentVersion\internet Settings\Zones (zone 2 is trusted sites which is relevant for my companies intranet environment).

The key 2200 is Downloads: Automatic prompting for file downloads 0=enable, 3 = disable.


It seemed a reboot was necessary to pick up this change, after which all seemed better.

About the author

I'm a .NET developer, a husband and a father of three beautiful girls.

Month List