Hi�/p>
ClickOnce Shortcuts Are Different
ClickOnce creates a shortcut in a user’s Start menu Programs when a user installs a ClickOnce application, like DotNetLauncher. This shortcut is only created when the developer that published the ClickOnce application indicated that the ClickOnce application should be available offline. The user uses this shortcut to launch the ClickOnce application when they are not connected to the publish location.
If you closely examine the created shortcut you’ll see that it is quite different from a regular Windows shortcut. That’s because it’s not a .lnk file. It is actually something known as an Application Reference and it has an extension of .appref-ms. These Application References are sometimes referred to as ClickOnce shortcuts.
You’ll find the default installation location for a ClickOnce shortcut in the user’s Start menu Program list under
PublisherName>ProductName.AppRef-MS
- PublisherName is the folder that is created in the user’s programs list.
- ProductName.AppRef-MS is the filename of the ClickOnce shortcut that is created.
Both PublisherName and ProductName are based on what was entered in the textboxes of the same names provided in the Publish Options dialog box. You can access the Publish Options dialog box from the Publish page of the Project Properties screen in Visual Studio 2005. I’ll discuss the Publish Options dialog box in more detail later in this article.
http://www.code-magazine.com/article.aspx?quickid=0703072&page=3
WIth Regards