473,695 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How ClickOnce to multiple servers?

We have a VS2005 Team setup and are developing a Windows app (smart client).
We are in the cattle feeding business and have 10 distinct feedyards across
the U.S. When we wish to deploy an update to our app, we must change an app
setting in the project (the IP where the data access layer is) and also the
URL in the ClickOnce (to correspond to a server at a particular feedyard).
Once we publish, we have to change the app setting and the URL again for the
next feedyard. And then do it again and again (for a total of 10 times).

While we've given some thought to a central server for clients to install
from and pick up updates, it's not practical for two reasons. One, network
connectivity from the feedyards back to our corporate office (in Loveland,
Colorado) is not very reliable. Two, we might have a change that we don't
all feedyards to immediately pick up. I.e. we may want to publish to one
feedyard and make sure it works ok before deploying to the others.

In playing around with MSBuild I found where I can set a PublushUrl setting,
but it still puts the files in my local folder. I'm wanting to automate
publishing to all feedyards (i.e. 10 separate servers) through some sort of
script (i.e. pulling from a list of IP addresses).

Any help would be greatly appreciated.

Thanks,
Ron

Jan 2 '07 #1
3 3873
Well when i use click once i publish to a remote server which has high
bandwidth and they get the software from there. Then on connecting thats the
update location.

An update should always be froma central location, what is better however
is to make the update optional when it is in your beta phase and simply tell
the others not to install the update. Then after a week or however long of
the one that you tried it on working and you are happy, publish it again but
this time make the update non optional. So the others will update.

I believe click once can be quite customised but i haven't toyed with that
as i haven't needed to yet. Would th eabove not suffice for your deployment
needs and be easier to manage rather than trying to make 10 deployment
locations? What if you had 100 food yards you couldnt do that method. So i
STRONGLY advise the above method or similar.

good luck
"Ronald S. Cook" <rc***@westinis .comwrote in message
news:9C******** *************** ***********@mic rosoft.com...
We have a VS2005 Team setup and are developing a Windows app (smart
client). We are in the cattle feeding business and have 10 distinct
feedyards across the U.S. When we wish to deploy an update to our app, we
must change an app setting in the project (the IP where the data access
layer is) and also the URL in the ClickOnce (to correspond to a server at
a particular feedyard). Once we publish, we have to change the app setting
and the URL again for the next feedyard. And then do it again and again
(for a total of 10 times).

While we've given some thought to a central server for clients to install
from and pick up updates, it's not practical for two reasons. One,
network connectivity from the feedyards back to our corporate office (in
Loveland, Colorado) is not very reliable. Two, we might have a change
that we don't all feedyards to immediately pick up. I.e. we may want to
publish to one feedyard and make sure it works ok before deploying to the
others.

In playing around with MSBuild I found where I can set a PublushUrl
setting, but it still puts the files in my local folder. I'm wanting to
automate publishing to all feedyards (i.e. 10 separate servers) through
some sort of script (i.e. pulling from a list of IP addresses).

Any help would be greatly appreciated.

Thanks,
Ron

Jan 2 '07 #2
Thanks for the reply Daniel. It's more that we can't trust the connectivity
from the client machines back to a server at corporate. Our app runs in
(among other places) feed trucks that drive around a feedyard delivering
grain to cattle. They're on wireless network to the LAN, but then the LAN
that ties that feedyard into the WAN (and thus back to a corporate server)
is not reliable. That's why we were thinking we should deploy to a server
at each feedyard.

Also, app settings at each yard will be different. How would you deal with
that? I think I read that ClickOnce could accept querystring parameters so
maybe a feedyard would pass Feedyard=Kuner to the corporate server and
ClickOnce would insert the approprate application setting for that
install/update. But then there's a chance for someone messing it up too and
typing the wrong thing in the URL I suppose.

Do you still strongly disagree with installing to each of 10 servers? Don't
forget also about wanting a new change pushed to only one feedyard to make
sure works before others get it. Just telling users not to accept optional
updates won't cut it either. Some will click it no matter what.

Thanks again,
Ron
"Daniel" <Da*****@vestry online.comwrote in message
news:er******** ******@TK2MSFTN GP04.phx.gbl...
Well when i use click once i publish to a remote server which has high
bandwidth and they get the software from there. Then on connecting thats
the update location.

An update should always be froma central location, what is better however
is to make the update optional when it is in your beta phase and simply
tell the others not to install the update. Then after a week or however
long of the one that you tried it on working and you are happy, publish it
again but this time make the update non optional. So the others will
update.

I believe click once can be quite customised but i haven't toyed with that
as i haven't needed to yet. Would th eabove not suffice for your
deployment needs and be easier to manage rather than trying to make 10
deployment locations? What if you had 100 food yards you couldnt do that
method. So i STRONGLY advise the above method or similar.

good luck
"Ronald S. Cook" <rc***@westinis .comwrote in message
news:9C******** *************** ***********@mic rosoft.com...
>We have a VS2005 Team setup and are developing a Windows app (smart
client). We are in the cattle feeding business and have 10 distinct
feedyards across the U.S. When we wish to deploy an update to our app,
we must change an app setting in the project (the IP where the data
access layer is) and also the URL in the ClickOnce (to correspond to a
server at a particular feedyard). Once we publish, we have to change the
app setting and the URL again for the next feedyard. And then do it
again and again (for a total of 10 times).

While we've given some thought to a central server for clients to install
from and pick up updates, it's not practical for two reasons. One,
network connectivity from the feedyards back to our corporate office (in
Loveland, Colorado) is not very reliable. Two, we might have a change
that we don't all feedyards to immediately pick up. I.e. we may want to
publish to one feedyard and make sure it works ok before deploying to the
others.

In playing around with MSBuild I found where I can set a PublushUrl
setting, but it still puts the files in my local folder. I'm wanting to
automate publishing to all feedyards (i.e. 10 separate servers) through
some sort of script (i.e. pulling from a list of IP addresses).

Any help would be greatly appreciated.

Thanks,
Ron

Jan 2 '07 #3
Yes i still do strongly disagree with your 10 server deployment but you seem
to have your heart set on it.

Yes you can pass a query string params to a click once deployment and you
could do that to ensure individual updates are deployed. As for the wrong
url being typed you would make a site and on your website have links to each
download which would pass the string. Unless they intentionally retype the
url they wont have a problem. Why would they intentionally retype the url
and change the string?

I understand staggering a deployement but if you tested the software
correctly before deploying the update you shouldn't have a problem post
deployment (part of testing is usually to test on a mirror of one of your
live sites that you have running locally for example). And if you do have an
issue, and its major, you upload a previous version and have them connect
and overwrite with the old version and you look at where you screwed up. -
downtime would be minimal and remember this is worst case scenario.

BUT....if you really don't trust your test department to get it right then
you only need 2 servers. One for your main, ready to go product and the
second as your Beta server. You upload the update to that beta one and tell
the one foodyard to download from there, check that it works, if it does now
upload the update to the main server and the others will pick it all up.

As for the connection not being reliable, you need to explain further. Which
part is not reliable, the trucks wireless connection or the LAN side? If its
the lan side then this is a separate issue and needs to be addressed. For
the lan check your cabling, routers etc. If its your internet connection
speak with your isp and get it to be reliable. If its the wireless
connection to the trucks find a way to amplify the wireless range and if
this cant be done have them boot the software while the trucks are docked so
that they update while connected to the lan or in a strong area for the
wireless signal, and if they never dock back and stay out on the field then
as said before you need to improve your wireless connection quality. if this
cant be done a different form of deployment needs to be considered as the
internet is not reliable sue to your hardware shortcomings, so a CD sent out
for example may be more appropriate.

D
"Ronald S. Cook" <rc***@westinis .comwrote in message
news:63******** *************** ***********@mic rosoft.com...
Thanks for the reply Daniel. It's more that we can't trust the
connectivity from the client machines back to a server at corporate. Our
app runs in (among other places) feed trucks that drive around a feedyard
delivering grain to cattle. They're on wireless network to the LAN, but
then the LAN that ties that feedyard into the WAN (and thus back to a
corporate server) is not reliable. That's why we were thinking we should
deploy to a server at each feedyard.

Also, app settings at each yard will be different. How would you deal
with that? I think I read that ClickOnce could accept querystring
parameters so maybe a feedyard would pass Feedyard=Kuner to the corporate
server and ClickOnce would insert the approprate application setting for
that install/update. But then there's a chance for someone messing it up
too and typing the wrong thing in the URL I suppose.

Do you still strongly disagree with installing to each of 10 servers?
Don't forget also about wanting a new change pushed to only one feedyard
to make sure works before others get it. Just telling users not to accept
optional updates won't cut it either. Some will click it no matter what.

Thanks again,
Ron
"Daniel" <Da*****@vestry online.comwrote in message
news:er******** ******@TK2MSFTN GP04.phx.gbl...
>Well when i use click once i publish to a remote server which has high
bandwidth and they get the software from there. Then on connecting thats
the update location.

An update should always be froma central location, what is better
however is to make the update optional when it is in your beta phase and
simply tell the others not to install the update. Then after a week or
however long of the one that you tried it on working and you are happy,
publish it again but this time make the update non optional. So the
others will update.

I believe click once can be quite customised but i haven't toyed with
that as i haven't needed to yet. Would th eabove not suffice for your
deployment needs and be easier to manage rather than trying to make 10
deployment locations? What if you had 100 food yards you couldnt do that
method. So i STRONGLY advise the above method or similar.

good luck
"Ronald S. Cook" <rc***@westinis .comwrote in message
news:9C******* *************** ************@mi crosoft.com...
>>We have a VS2005 Team setup and are developing a Windows app (smart
client). We are in the cattle feeding business and have 10 distinct
feedyards across the U.S. When we wish to deploy an update to our app,
we must change an app setting in the project (the IP where the data
access layer is) and also the URL in the ClickOnce (to correspond to a
server at a particular feedyard). Once we publish, we have to change the
app setting and the URL again for the next feedyard. And then do it
again and again (for a total of 10 times).

While we've given some thought to a central server for clients to
install from and pick up updates, it's not practical for two reasons.
One, network connectivity from the feedyards back to our corporate
office (in Loveland, Colorado) is not very reliable. Two, we might have
a change that we don't all feedyards to immediately pick up. I.e. we
may want to publish to one feedyard and make sure it works ok before
deploying to the others.

In playing around with MSBuild I found where I can set a PublushUrl
setting, but it still puts the files in my local folder. I'm wanting to
automate publishing to all feedyards (i.e. 10 separate servers) through
some sort of script (i.e. pulling from a list of IP addresses).

Any help would be greatly appreciated.

Thanks,
Ron


Jan 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
5242
by: Danny Tuppeny | last post by:
I've been playing around with ClickOnce today, and it's all good stuff. Except, that if I change my application to NOT be full trust (which seems to make very little difference to the user prompt, which scares me!) but to be installed on the start menu, it seems I don't have permission to call CheckForUpdate()! I understand that if I'm not a full trust app, I can't read the filesystem etc., but not being able to update myself seems a bit...
0
2197
by: Pavan | last post by:
I have my .NET code published in two servers http://server1/<ApplicationName>/Publish.htm and http://server2/<ApplicationName>/Publish.htm, and if i open IE on the client machine and type the link (http://server1/<ApplicationName>/Publish.htm) it would install the application in the client machine from server1. 1) Changing the server location on the same client machine (i.e. http://server2/<ApplicationName>/Publish.htm) should override...
0
1071
by: Marc Gravell | last post by:
OK heres an oddity... I am using a ClickOnce (online only) deployment model; I have various servers (primarily for different environments: testing, production etc), and I want to have a *similar* manifest on each, with the main difference being the config file (so that each connects to appropriate servers). To get around the hashing on the config file, I simply publish the app (via MSBuild) several times with different app.config...
1
2778
by: moondaddy | last post by:
I need to have multiple deployment profiles for a .net 2.0 winforms project. This is my requirement: 1) Re-use same project for multiple ClickOnce deployment profiles. 2) Each profile will have it's own custom deployment properties such as Publish Version Number, Start Menu and application Name in start menu. For example, in the past (before ClickOnce deployment) I had to build Setup.exe files and distribute them to various...
0
1059
by: Spam Catcher | last post by:
Hi all, I need to build a redistributable application which can be loaded on different servers. I noticed in the ClickOnce deployment screen it asks for a publish location - how do I allow any URL? For example, some clients may load the app on http://customer1.somecompany.com/App
2
2737
by: Alex Bögli | last post by:
Hi I have a rather advanced deployment scenario and wanted to know, if anyone has an idea how to accomplish that with ClickOnce: We are deploying a 3-tier application with a client connecting to web services, which then connect to a database. The tiers are all on different nodes and we have around 1000 client users. We currently deploy the web services with Wise and adjust the database (cluster) manually. The clients should be...
0
967
by: vovan | last post by:
My current VB6 application uses something similar to ClickOnce technology for automatic upgrades. User starts on his (her) workstation not the application itself, but the utility which compares versions of the main application EXE on the mapped drive (located on the company server) and EXE located on the user workstation. If they are different then the utility replaces an EXE with the server copy and starts it. I'm starting on the new VB...
1
1934
by: Jack | last post by:
Hi there, Apologies if this NG is off-topic but I can't find anything more appropriate (feel free to let me know). I'm looking at ClickOnce as a possible alternative to MSI and have poured through much of the docs trying to figure out how to customize my app's install if possible. In my deployment scenario users will be downloading the app from my web site in WYSIWYG fashion but I'm stuck on the following issues: 1) I need to prompt...
3
5315
by: =?Utf-8?B?Um9nZXIgVHJhbmNoZXo=?= | last post by:
Hello, I would like to know the best way to install an clickonce in .net 3.5 (we use LINQ 8-D) published application on terminal server 2003 Do I have to install it on EVERY user that will use it ? If so, all the files will be duplicated for every user ? in wich folder ? If not, where will reside the application on the server ? how to make a shortcut for the main "executable" for all the users pointing to that ?
0
8630
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8568
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9115
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8982
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8845
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7660
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5839
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2272
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.