Hi,
So far we were using No Touch Deployment (Framework 1.1) to run the
application.
Using No Touch Deployment when we run command Application.ExecutablePath it
gives the full url from where the application executed. Like
http://ServerName/CompanyName/Application.exe.
Now we are trying to use ClickOnce Deployment Technology. Everything works
great.
But, when we run the command Application.ExecutablePath or
Application.StatupPath it gives local temp directory path.(where it
installed the application).
My question is how do I get the full url or the server name from where it
downloaded the files.
Thanks in advance,
Rob
Andrej - 15 Oct 2005 17:16 GMT
You can check the ApplicationDeployment.CurrentDeployment.UpdateLocation
property.
You'll find ApplicationDeployment class in the System.Deployment.Application
namespace.
This class features plenty of other properties to check out; just check the
ApplicationDeployment.IsNetworkDeployed property before accessing them to
make sure your application is ClickOnce deployed.
Andrej
> Hi,
> So far we were using No Touch Deployment (Framework 1.1) to run the
[quoted text clipped - 14 lines]
> Thanks in advance,
> Rob