PC Review


Reply
Thread Tools Rate Thread

ClickOnce Question - Remote location for the ClickOnce deployment

 
 
John Yung
Guest
Posts: n/a
 
      10th Jan 2006
All,

How can I retrieve the remote location for the ClickOnce deployment?

I tried the following code, but it does not work:
System.Deployment.Application.ApplicationDeployment ad =

System.Deployment.Application.ApplicationDeployment.CurrentDeployment;

MessageBox.Show(ad.ActivationUri.AbsoluteUri);

Please advice.

Thanks,

John Yung
 
Reply With Quote
 
 
 
 
hashimisayed@gmail.com
Guest
Posts: n/a
 
      12th Jan 2006
Hi,

You can use the UpdateLocation property on the ApplicationDeployment.
For example,

MessageBox.Show(ad.UpdateLocation.AbsoluteUri);

The above returns the path to the deployment manifest.

Thanks,


Sayed Y. Hashimi


http://www.sayedhashimi.com
Shameless Book Plug: Service-Oriented Smart Clients with .NET 2.0
http://www.amazon.com/exec/obidos/tg...3/qid=11263614...

 
Reply With Quote
 
hashimisayed@gmail.com
Guest
Posts: n/a
 
      12th Jan 2006
Hi,

You can use the UpdateLocation property on the ApplicationDeployment.
For example,

MessageBox.Show(ad.UpdateLocation.AbsoluteUri);

The above returns the path to the deployment manifest.

Thanks,


Sayed Y. Hashimi


http://www.sayedhashimi.com
Shameless Book Plug: Service-Oriented Smart Clients with .NET 2.0
http://www.amazon.com/exec/obidos/tg...3/qid=11263614...

 
Reply With Quote
 
John Yung
Guest
Posts: n/a
 
      13th Jan 2006
Thanks, that works.

JY

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> You can use the UpdateLocation property on the ApplicationDeployment.
> For example,
>
> MessageBox.Show(ad.UpdateLocation.AbsoluteUri);
>
> The above returns the path to the deployment manifest.
>
> Thanks,
>
>
> Sayed Y. Hashimi
>
>
> http://www.sayedhashimi.com
> Shameless Book Plug: Service-Oriented Smart Clients with .NET 2.0
> http://www.amazon.com/exec/obidos/tg...3/qid=11263614...
>



 
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
ClickOnce Deployment question R Microsoft C# .NET 1 28th Apr 2009 01:24 PM
ClickOnce 404 - no deployment files at the Update location T!M Microsoft Dot NET 0 17th Nov 2008 09:03 PM
ClickOnce deployment Question ESmith Microsoft Dot NET 0 12th Sep 2006 12:44 PM
ClickOnce Deployment Location Chuck P Microsoft Dot NET Framework Forms 1 29th Jun 2006 07:03 PM
ClickOnce Question - Remote location for the ClickOnce deployment John Yung Microsoft Dot NET Framework 3 13th Jan 2006 03:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:19 PM.