PC Review


Reply
Thread Tools Rate Thread

How does clickonce find the local application?

 
 
Yash Ganthe
Guest
Posts: n/a
 
      5th Dec 2009
Hi,

The shortcut file created by clickonce deployment having an
extension .appref-ms only has a link that looks like:
http://127.0.0.1/ClickOnceDemo/Click...mo.application,
Culture=neutral, PublicKeyToken=27d66f1bda5f165d,
processorArchitecture=msil

The file http://127.0.0.1/ClickOnceDemo/Click...mo.application has
the name and version number of the executable assembly.

When ClickOnce application is invoked, the framework compares the
version of the locally installed app against the version in the
deployment manifest.
My question is, how does the framework know the location of the
installed app to be able to compare its version number, or even to
start the app?
Is this maintained in a registry setting?


Thanks,
Yash
 
Reply With Quote
 
 
 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      7th Dec 2009
Yash Ganthe <(E-Mail Removed)> wrote in news:6efb9def-64d8-4230-9cae-
(E-Mail Removed):

> My question is, how does the framework know the location of the
> installed app to be able to compare its version number, or even to
> start the app?


It is installed under the user's folders in a predictable location
determined when the click once app is created. I don't have specifics on
the schema, but you can easily install an app and find its folder.
Change the name of the folder and you get a new install instead of an
update.

I don't believe anything is installed in the registry, but I have not
examined that to be sure.

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How does clickonce find the local application? Yash Ganthe Microsoft Dot NET Framework 1 7th Dec 2009 05:50 PM
ClickOnce application and Application Assembly Path CraigH Microsoft Dot NET Framework Forms 1 11th Feb 2009 10:49 AM
ClickOnce application and Application Assembly Path CraigH Microsoft Dot NET Framework Forms 0 4th Feb 2009 03:02 PM
Clickonce deployment to local drive JzP Microsoft Dot NET Framework 1 30th Jul 2007 11:43 PM
Application.Restart on ClickOnce Deployed Application =?Utf-8?B?TmVpbEc=?= Microsoft Dot NET Framework Forms 0 5th May 2006 01:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:54 PM.