473,585 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ideas/best practices on how to AutoUpdate software?

Hello:
Always wanted to do this -- but never knew how...

The goal is to write software that goes out to clients -- but I want to be able to auto-update them
when there is a later release available at the website....
Any articles that would be a good place to start?

One of the things I don't understand is how a program can stop itself to replace itself...

I have seen several articles by now -- that I think are in the right direction -- but frankly, I'm
just getting myself confused as to which one is the right type of technology to look at.

* BITS seems to be a possible way to go investigate -- but not on all platforms (still have lots of
customers on win98 to my chagrin).

* Remote dll paths in the assembly sounds also interesting. But does that use the remote path to the
dll to cache a copy and use the cache copy, or does it actually update/replace the local one? And
doesn't that cause it to connect to the server every time the dll's are loaded? In other words, 1000
clients = 1000 * loadassembly = 1000 connections to my server. And what happens if the server is
down? Would it hang their application for 30 seconds?
As you can see, I don't know what I am talking about -- hence this post out for help :-)

Nov 16 '05 #1
6 5850
Google: "Background Intelligent Transfer Service API"

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"S.Sigal" <as*******@xa ct-solutions.remov ethis.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello:
Always wanted to do this -- but never knew how...

The goal is to write software that goes out to clients -- but I want to be able to auto-update them when there is a later release available at the website....
Any articles that would be a good place to start?

One of the things I don't understand is how a program can stop itself to replace itself...
I have seen several articles by now -- that I think are in the right direction -- but frankly, I'm just getting myself confused as to which one is the right type of technology to look at.
* BITS seems to be a possible way to go investigate -- but not on all platforms (still have lots of customers on win98 to my chagrin).

* Remote dll paths in the assembly sounds also interesting. But does that use the remote path to the dll to cache a copy and use the cache copy, or does it actually update/replace the local one? And doesn't that cause it to connect to the server every time the dll's are loaded? In other words, 1000 clients = 1000 * loadassembly = 1000 connections to my server. And what happens if the server is down? Would it hang their application for 30 seconds?
As you can see, I don't know what I am talking about -- hence this post out for help :-)

Nov 16 '05 #2
Thank you Clinton.
Did come across this and held back going this direction because it is only XP -- not win98.
How is Windows AutoUpdating Win98 clients? Not BITS, since XP only, right?


"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:ep******** ******@tk2msftn gp13.phx.gbl...
Google: "Background Intelligent Transfer Service API"

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"S.Sigal" <as*******@xa ct-solutions.remov ethis.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello:
Always wanted to do this -- but never knew how...

The goal is to write software that goes out to clients -- but I want to be

able to auto-update them
when there is a later release available at the website....
Any articles that would be a good place to start?

One of the things I don't understand is how a program can stop itself to

replace itself...

I have seen several articles by now -- that I think are in the right

direction -- but frankly, I'm
just getting myself confused as to which one is the right type of

technology to look at.

* BITS seems to be a possible way to go investigate -- but not on all

platforms (still have lots of
customers on win98 to my chagrin).

* Remote dll paths in the assembly sounds also interesting. But does that

use the remote path to the
dll to cache a copy and use the cache copy, or does it actually

update/replace the local one? And
doesn't that cause it to connect to the server every time the dll's are

loaded? In other words, 1000
clients = 1000 * loadassembly = 1000 connections to my server. And what

happens if the server is
down? Would it hang their application for 30 seconds?
As you can see, I don't know what I am talking about -- hence this post

out for help :-)



Nov 16 '05 #3
I'd have to assume so as Microsoft has tried to orphan Win98.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"S.Sigal" <as*******@xa ct-solutions.remov ethis.com> wrote in message
news:ef******** ******@TK2MSFTN GP10.phx.gbl...
Thank you Clinton.
Did come across this and held back going this direction because it is only XP -- not win98. How is Windows AutoUpdating Win98 clients? Not BITS, since XP only, right?


"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:ep******** ******@tk2msftn gp13.phx.gbl...
Google: "Background Intelligent Transfer Service API"

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"S.Sigal" <as*******@xa ct-solutions.remov ethis.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello:
Always wanted to do this -- but never knew how...

The goal is to write software that goes out to clients -- but I want
to be able to auto-update them
when there is a later release available at the website....
Any articles that would be a good place to start?

One of the things I don't understand is how a program can stop itself
to replace itself...

I have seen several articles by now -- that I think are in the right

direction -- but frankly, I'm
just getting myself confused as to which one is the right type of

technology to look at.

* BITS seems to be a possible way to go investigate -- but not on all

platforms (still have lots of
customers on win98 to my chagrin).

* Remote dll paths in the assembly sounds also interesting. But does
that use the remote path to the
dll to cache a copy and use the cache copy, or does it actually

update/replace the local one? And
doesn't that cause it to connect to the server every time the dll's
are loaded? In other words, 1000
clients = 1000 * loadassembly = 1000 connections to my server. And
what happens if the server is
down? Would it hang their application for 30 seconds?
As you can see, I don't know what I am talking about -- hence this
post out for help :-)




Nov 16 '05 #4
Ok. I'm going to have to mull over that article as it's just an itsy bitsy level out of my reach
coding wise...so it will take time to ponder/figure out.

Thanks for your help!

How did they do it before BITS came out? Any links to old methods? Socket? Batch file to shut down
exe/service, replace, restart?

Thanks!

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:e%******** ********@TK2MSF TNGP10.phx.gbl. ..
I'd have to assume so as Microsoft has tried to orphan Win98.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"S.Sigal" <as*******@xa ct-solutions.remov ethis.com> wrote in message
news:ef******** ******@TK2MSFTN GP10.phx.gbl...
Thank you Clinton.
Did come across this and held back going this direction because it is only

XP -- not win98.
How is Windows AutoUpdating Win98 clients? Not BITS, since XP only, right?


"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:ep******** ******@tk2msftn gp13.phx.gbl...
Google: "Background Intelligent Transfer Service API"

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"S.Sigal" <as*******@xa ct-solutions.remov ethis.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> Hello:
> Always wanted to do this -- but never knew how...
>
> The goal is to write software that goes out to clients -- but I want to be able to auto-update them
> when there is a later release available at the website....
> Any articles that would be a good place to start?
>
> One of the things I don't understand is how a program can stop itself to replace itself...
>
>
>
> I have seen several articles by now -- that I think are in the right
direction -- but frankly, I'm
> just getting myself confused as to which one is the right type of
technology to look at.
>
> * BITS seems to be a possible way to go investigate -- but not on all
platforms (still have lots of
> customers on win98 to my chagrin).
>
> * Remote dll paths in the assembly sounds also interesting. But does that use the remote path to the
> dll to cache a copy and use the cache copy, or does it actually
update/replace the local one? And
> doesn't that cause it to connect to the server every time the dll's are loaded? In other words, 1000
> clients = 1000 * loadassembly = 1000 connections to my server. And what happens if the server is
> down? Would it hang their application for 30 seconds?
>
>
> As you can see, I don't know what I am talking about -- hence this post out for help :-)
>
>
>



Nov 16 '05 #5
I have no idea how it was done before BITS. You should also
Google: "Wise Installer" as I recall the vendor may have some
features that help update installed applications.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"S.Sigal" <as*******@xa ct-solutions.remov ethis.com> wrote in message
news:ez******** *****@TK2MSFTNG P10.phx.gbl...
Ok. I'm going to have to mull over that article as it's just an itsy bitsy level out of my reach coding wise...so it will take time to ponder/figure out.

Thanks for your help!

How did they do it before BITS came out? Any links to old methods? Socket? Batch file to shut down exe/service, replace, restart?

Thanks!

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:e%******** ********@TK2MSF TNGP10.phx.gbl. ..
I'd have to assume so as Microsoft has tried to orphan Win98.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"S.Sigal" <as*******@xa ct-solutions.remov ethis.com> wrote in message
news:ef******** ******@TK2MSFTN GP10.phx.gbl...
Thank you Clinton.
Did come across this and held back going this direction because it is only
XP -- not win98.
How is Windows AutoUpdating Win98 clients? Not BITS, since XP only,
right?

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message news:ep******** ******@tk2msftn gp13.phx.gbl...
> Google: "Background Intelligent Transfer Service API"
>
> --
> <%= Clinton Gallagher, "Twice the Results -- Half the Cost"
> Architectural & e-Business Consulting -- Software Development > NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
> URL http://www.metromilwaukee.com/clintongallagher/
>
>
>
> "S.Sigal" <as*******@xa ct-solutions.remov ethis.com> wrote in message
> news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> > Hello:
> > Always wanted to do this -- but never knew how...
> >
> > The goal is to write software that goes out to clients -- but I want to be
> able to auto-update them
> > when there is a later release available at the website....
> > Any articles that would be a good place to start?
> >
> > One of the things I don't understand is how a program can stop
itself to
> replace itself...
> >
> >
> >
> > I have seen several articles by now -- that I think are in the
right > direction -- but frankly, I'm
> > just getting myself confused as to which one is the right type of
> technology to look at.
> >
> > * BITS seems to be a possible way to go investigate -- but not on all > platforms (still have lots of
> > customers on win98 to my chagrin).
> >
> > * Remote dll paths in the assembly sounds also interesting. But

does that
> use the remote path to the
> > dll to cache a copy and use the cache copy, or does it actually
> update/replace the local one? And
> > doesn't that cause it to connect to the server every time the
dll's are
> loaded? In other words, 1000
> > clients = 1000 * loadassembly = 1000 connections to my server. And

what
> happens if the server is
> > down? Would it hang their application for 30 seconds?
> >
> >
> > As you can see, I don't know what I am talking about -- hence this

post
> out for help :-)
> >
> >
> >
>
>



Nov 16 '05 #6
You might want to have a look at the updater application block. It's flexible
and could save you lots of coding time.
<a
href="http://msdn.microsoft. com/library/default.asp?url =/library/en-us/dnbda/html/updater.asp"
http://msdn.microsoft. com/library/default.asp?url =/library/en-us/dnbda/html/updater.asp</a>

"S.Sigal" wrote:
Hello:
Always wanted to do this -- but never knew how...

The goal is to write software that goes out to clients -- but I want to be able to auto-update them
when there is a later release available at the website....
Any articles that would be a good place to start?

One of the things I don't understand is how a program can stop itself to replace itself...

I have seen several articles by now -- that I think are in the right direction -- but frankly, I'm
just getting myself confused as to which one is the right type of technology to look at.

* BITS seems to be a possible way to go investigate -- but not on all platforms (still have lots of
customers on win98 to my chagrin).

* Remote dll paths in the assembly sounds also interesting. But does that use the remote path to the
dll to cache a copy and use the cache copy, or does it actually update/replace the local one? And
doesn't that cause it to connect to the server every time the dll's are loaded? In other words, 1000
clients = 1000 * loadassembly = 1000 connections to my server. And what happens if the server is
down? Would it hang their application for 30 seconds?
As you can see, I don't know what I am talking about -- hence this post out for help :-)

Nov 16 '05 #7

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

Similar topics

7
1925
by: Mike D | last post by:
What are the best practices when using a db and include files? I typically store my connection string in an include file. I then open my db do what I need to and close the connection. I haven't put these in functions. How does everyone else handle the connections are the in functions? in includes? Mike
11
9230
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
136
9282
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to...
1
2106
by: Herve MAILLARD | last post by:
Hi, I have to write a software doing the following : - Load a file (containing data) Data will be display in a Treeview and are typed as following Equipement Bloc Tag It could have for each Equipement, many blocs and for each bloc, many tags.
1
1401
by: | last post by:
Hi can someone send or point me to Any nice Material on .NET Best Practices -regards
10
3432
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read somewhere that each folder under the "web site" is compiled in separate assembly. I however, did not find that the "web site" creation in vs.net...
2
1669
by: CK | last post by:
Good Morning All, What the best way to use references? Reference a project in another project or reference a DLL. We are developing C# Sharp Web Apps in VS 2003. We are getting warnings like the following. Warning: The dependency 'TTT.Library, Version=1.0.0.1, Culture=neutral' in project 'Dmt' cannot be copied to the run directory because it...
1
1649
by: Pablo | last post by:
Hello all, Hope today finds you well. I'm looking to take my knowledge of best practices within the development lifecycle to the next level. Basically I want to follow industry recognised, Microsoft approved practices for every aspect of the lifecycle - so planning and architecture, team development, testing procedures, change control...
20
10015
by: Joe | last post by:
Is any one charting packing considered to be the "best"? We've used ChartFX but wasn't too happy about the way data had to be populated along with some other issues which slip my mind right now and Dundas has bugs and doesn't do a good enough job displaying axis labels and is very slow to paint large numbers of series and data points. We're...
0
7908
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...
0
7836
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...
0
8199
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. ...
0
8336
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...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5389
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...
0
3863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2343
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.