Here's the problem:
I have two applications. One of them is a clickonce application that I do not have access to, and the other one is a c# program I'm designing. I need a way to track down the application folder where the app is installed by either the .appref-ms
file in the start menu, or the token id/name found from within that file.
Is this possible? Is there a way to query the clickonce store for a list of applications and where they are installed to? Everything I have found refers to opening the process list and going to the process image location, but this is not possible if the program is not running.
Every ClickOnce application installed on a local computer has a data directory, stored in the user's Documents and Settings folder. Any file included in a ClickOnce application and marked as a "data" file is copied to this directory when an application is installed.
With a project selected in Solution Explorer, on the Project menu, click Properties. Click the Publish tab. Click the Updates button to open the Application Updates dialog box. In the Application Updates dialog box, make sure that the The application should check for updates check box is cleared.
From the user's point of view, ClickOnce applications can be launched in two ways: From a web page on the Internet, intranet or local computer. The web page includes a link to the application deployment manifest (. application), a click on which installs and launches the application on the user's computer.
A ClickOnce cache is a family of hidden directories under the Local Settings directory of the current user's Documents and Settings folder. This cache holds all the application's files, including the assemblies, configuration files, application and user settings, and data directory.
ClickOnce store data in Windows registry key:
HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment
Registry key with application list:
HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\StateManager\Applications
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With