Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2005

Tip: Looking for answers? Try searching our database.

ClickOnce server deployment for Intranet App

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Knoebel, Mike - 17 Oct 2005 16:31 GMT
I am trying to use ClickOnce Deployment technology.
I have published it on my System(Test Machine) and it works great.

Now I want to put it on the main web server which I cannot access from my
machine. So I copied the files from the Inetpub\wwwroot\ directory to the
main server .
But when I run it from the main webserver it tries to run from where I made
it(test machine).

My question is, what I have to do to run it/deploy it to different machine.
We need to put it on our client intranet server also and they all have
different server name.

Thanks in advance.
Mike
Andrej Tozon - 17 Oct 2005 17:26 GMT
You need to tweak the deployment manifest a bit. The easiest way to do this
is by changing Publish properties in Visual Studio. Open Project Properties,
Publish Tab. On top you'll see two textboxes. The first one is the location,
on which you want to publish your appllication (Publishing location). In
your case that would probably be a custom folder on your Test Machine. The
second (Installation URL) one is the location from which your users will
install the application (e.g. http://myserver.com/myapplication).
After you enter appropriate information, rebuild and publish your project.
It will be copied to the Publishing location. Copy complete folder to your
web server folder, which is accessible through Installation URL.
Don't forget you need .NET Framework 2.0 installed on your Web server
machine as well.

If you want to further edit manifest files without using Visual Studio,
check out the mage.exe and mageui.exe tools (part of .NET 2.0 SDK).

Andrej

>I am trying to use ClickOnce Deployment technology.
> I have published it on my System(Test Machine) and it works great.
[quoted text clipped - 11 lines]
> Thanks in advance.
> Mike
Knoebel, Mike - 17 Oct 2005 19:43 GMT
Thanks Andrej,
But how it is going to work if I have more then one server, having different
server names.
Our clients have there own Intranet servers. If I copy the entire Published
folder then it will still try to run from the Installation URL (e.g.
http://myserver.com/myapplication).
Does it mean I have to create new Installation url for each client. Or am I
missing something.

Mike

> You need to tweak the deployment manifest a bit. The easiest way to do
> this is by changing Publish properties in Visual Studio. Open Project
[quoted text clipped - 30 lines]
>> Thanks in advance.
>> Mike
Andrej Tozon - 17 Oct 2005 21:16 GMT
Is your application configured as "installed"? If so, I think the only way
is to create separate deployment manifests for each of your clients. Each
manifest would include the install location URL, suitable for each of your
clients.
You can generate and sign new manifests easily with Mage(UI) tool without
touching and rebuilding your project. Your clients then get the same
application files, same application manifest, and custom deployment
manifest.

Andrej

> Thanks Andrej,
> But how it is going to work if I have more then one server, having
[quoted text clipped - 42 lines]
>>> Thanks in advance.
>>> Mike

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.