Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ClickOnce .appref-ms more than a link to .application file?

I have a ClickOnce environment like this:

\\Fileserver\ClickOnceApps\App1.application

C:\Documents and Settings\user\Start Menu\Programs\publisher\app1.appref-ms

My understanding is the .apppref-ms file is a glorified link to the app.application file. Does it do anything else?

like image 642
Solracnapod Avatar asked Nov 11 '08 15:11

Solracnapod


People also ask

What is ClickOnce application reference Appref MS?

What is an APPREF-MS file? Application reference file used by ClickOnce, a Microsoft platform used to deploy and run remote Web applications; contains a local or remote link to an application; commonly used to enable links from the Windows Start Menu.

Where are ClickOnce apps installed?

Unlike usual applications installed to the Program Files folder or a user-defined folder, ClickOnce applications are installed into the user profile, to a subfolder with an obfuscated name.

How do you find the target of an application reference?

All you have to do is open Task Manager, click the Processes tab, find 'Github.exe', right click, Open File Location. Voila!

What is an application reference?

References are people who can talk about your work experience, work habits, character and skills. You should choose your references carefully. As part of the job search process, you may be asked to provide the names of people whom a potential employer can contact to find out more about you.


1 Answers

If you open the appref-ms file in a text editor you'll see it contains the Url for the application, culture, processor architecture and key used to sign the application, so yes, it's just a link.

The difference between those "Application Reference" files and shortcuts (.lnk) is that the application reference points to the original application Url and not the location of the exe on disk, when you run the appref-ms file the system knows how to find the copy of the program on the local disk and run it from there without accessing the Url (this is not accurate and depends on settings in the ClickOnce manifest, but its a close approximation).

like image 115
Nir Avatar answered Sep 20 '22 17:09

Nir