473,883 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Auto update of programs.

UJ
Has anybody had any experience writing an auto update program that will
check the internet to see if there is a newer version of the code out there
and download it?

It doesn't seem that complicated but I just wanted to hear from people who
have done it if there are any gotchas I should watch out for.

TIA - Jeffrey.
Sep 27 '05 #1
11 1987
Will the Click Once feature in Whidbey work for your situation?
http://msdn.microsoft.com/smartclien...clickonce.aspx

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"UJ" <fr**@nowhere.c om> wrote in message
news:eK******** ******@TK2MSFTN GP14.phx.gbl...
Has anybody had any experience writing an auto update program that will
check the internet to see if there is a newer version of the code out
there and download it?

It doesn't seem that complicated but I just wanted to hear from people who
have done it if there are any gotchas I should watch out for.

TIA - Jeffrey.

Sep 28 '05 #2
Nick Malik [Microsoft] wrote:
Will the Click Once feature in Whidbey work for your situation?
http://msdn.microsoft.com/smartclien...clickonce.aspx


Nice recommendation, Nick.

Untested Beta code that may or may not be released.
Sep 28 '05 #3
I can assure you that this code is tested and that it will be in the
release.
http://msdn.microsoft.com/vstudio/pr...o/roadmap.aspx

Apps in production within MS already use this technology. I speak from
experience, it works just fine.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"John Bailo" <ja*****@texeme .com> wrote in message
news:43******** **@texeme.com.. .
Nick Malik [Microsoft] wrote:
Will the Click Once feature in Whidbey work for your situation?
http://msdn.microsoft.com/smartclien...clickonce.aspx


Nice recommendation, Nick.

Untested Beta code that may or may not be released.

Sep 28 '05 #4
Nick Malik [Microsoft] wrote:
I can assure you that this code is tested and that it will be in the
release.
http://msdn.microsoft.com/vstudio/pr...o/roadmap.aspx

Apps in production within MS already use this technology. I speak from
experience, it works just fine.


It's no longer a safe be to /trust/ Microsoft on this stuff.

I say, stick with the tried and true.

For example, I've looked at many of the "Applicatio n Blocks" and found
installation and requirements to be restrictive and cumbersome (
requiring XP Pro in some instances ).

Even if it 'works' and is 'almost ready' I'd stay away from it because
Microsoft constantly twists and changes things before release. At that
point he would be stuck with a lot of code dependent on something that
doesn't exist.

You can write an auto updater quite easily with a little bit of code
that can call a web service and get version number. I'm writing just
such code right now. There are built in methods to get version numbers
from assemblies and calling assemblies -- just match those to an update
version on the server to see if they need to be downloaded.

Simple.
Sep 28 '05 #5
"John Bailo" <ja*****@texeme .com> wrote in message
news:43******** ******@texeme.c om...
Nick Malik [Microsoft] wrote:
I can assure you that this code is tested and that it will be in the
release.
http://msdn.microsoft.com/vstudio/pr...o/roadmap.aspx

Apps in production within MS already use this technology. I speak from
experience, it works just fine.


It's no longer a safe be to /trust/ Microsoft on this stuff.

I say, stick with the tried and true.

For example, I've looked at many of the "Applicatio n Blocks" and found
installation and requirements to be restrictive and cumbersome ( requiring
XP Pro in some instances ).

Even if it 'works' and is 'almost ready' I'd stay away from it because
Microsoft constantly twists and changes things before release. At that
point he would be stuck with a lot of code dependent on something that
doesn't exist.

You can write an auto updater quite easily with a little bit of code that
can call a web service and get version number. I'm writing just such
code right now. There are built in methods to get version numbers from
assemblies and calling assemblies -- just match those to an update version
on the server to see if they need to be downloaded.

Simple.


If you weren't such a notorious member of this forum, John, I'd engage in an
actual lucid conversation about the pros and cons of "buy" vs. "build".
Unfortunately, your reputation for attempting to start fruitless arguments
rather than discussing actual points of concern precedes you by leaps and
bounds.

If you are worried about being tied to a particular interface in .Net 2.0,
then encapsulate it with a facade pattern. That way, if it changes, only
your facade changes. (Personally, I wouldn't be worrying, but worrying is
such a personal thing... feel free to spend your time on this and any of a
dozen other concerns, like how you are going to get your simple app to make
sure that the file you are updating isn't being used by another user when
you are updating it).

--- N

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
Sep 28 '05 #6
Nick Malik [Microsoft] wrote:

If you weren't such a notorious member of this forum, John, I'd engage in an
actual lucid conversation about the pros and cons of "buy" vs. "build".
Unfortunately, your reputation for attempting to start fruitless arguments
rather than discussing actual points of concern precedes you by leaps and
bounds.


Nice FUD Nick.

As soon as my arguments best yours, you resort to name calling.

I offered very valid technical reaons -- you hid behind some vague
'technology' that is in beta, buggy and might not meet the persons needs.

Scrape the MVP off your badge, dude...it's back to MSCE training for you.
Sep 28 '05 #7
Nick,

I don't see what is wrong that John, gives his opinion. He tells it directly
how he thinks it is. You can read it as; it is just rude arguing without
sense. You can read it as a warning to others and Microsoft that *he* wants
more consistency.

I keep it that he means the last.

(While I don't agree with him, VS 2005 is a product still in its developing
phase. That means for me every time evaluations of what you did and because
you do that be open to renew it until the last moment of release)

Just my thought,

Cor
Sep 28 '05 #8
UJ
Nick,
Unfortunately this won't work because our product runs unattended so it
needs to check the server every once in a while (much like Norton Antivirus
goes out and gets new definitions.) So I need to make this happen
automatically.

I will probably go with either a Window's Web Service to check against the
server or do something so stupid as download a 'version' file that tells me
the current version of the software and if they are different I'll download
the file.

Thanks anyway.

"Nick Malik [Microsoft]" <ni*******@hotm ail.nospam.com> wrote in message
news:yb******** ************@co mcast.com...
Will the Click Once feature in Whidbey work for your situation?
http://msdn.microsoft.com/smartclien...clickonce.aspx

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"UJ" <fr**@nowhere.c om> wrote in message
news:eK******** ******@TK2MSFTN GP14.phx.gbl...
Has anybody had any experience writing an auto update program that will
check the internet to see if there is a newer version of the code out
there and download it?

It doesn't seem that complicated but I just wanted to hear from people
who have done it if there are any gotchas I should watch out for.

TIA - Jeffrey.


Sep 28 '05 #9
Hi Cor,

I would gladly engage with a conversation with you on this or any other
issue. It is true that beta software has risks, and that using it comes
with some concern. I suggested that the OP take a look at the beta software
to see if it would fit. I didn't suggest that it was the only possible
answer, or even that it applied to their problem... simply to take a look.

Mr. Bailo has made some good contributions with some technical merit. For
that, I credit him. In this thread, he's been OK. On other threads,
including some recent ones, he has intentionally posted 'troll threads'
where he will make an intentionally opinionated non-technical statement that
he cross-posts to the linux advocacy group. As a result, I have no desire
to engage Mr. Bailo in any kind of direct conversation, regardless of the
merit of his statements. A person that I do not know gets a basic level of
respect, that is theirs to lose. He has lost that respect.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:uO******** ******@TK2MSFTN GP10.phx.gbl...
Nick,

I don't see what is wrong that John, gives his opinion. He tells it
directly how he thinks it is. You can read it as; it is just rude arguing
without sense. You can read it as a warning to others and Microsoft that
*he* wants more consistency.

I keep it that he means the last.

(While I don't agree with him, VS 2005 is a product still in its
developing phase. That means for me every time evaluations of what you did
and because you do that be open to renew it until the last moment of
release)

Just my thought,

Cor

Sep 29 '05 #10

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

Similar topics

1
476
by: Eric Keij | last post by:
Hello, I have written a windows service in .NET which i want update. Is there an easy way to let a windows service update itself? I've written some test programs with the AppUpdater component and this is working perfect for 'normal' programs but can't be used for services. Maybe it's possible to write some modifications to the AppUpdater component to find the latest version and manually start the service?? Anybody aware of some methods...
11
2799
by: csomberg | last post by:
SQL 2000 I thought I would throw this out there for some feedback from others. I'd like to know if you feel using MS auto-increment field is a good solution these days or should one grow their own ? Thanks, Me.
3
3583
by: Poul Møller Hansen | last post by:
Hi, I need an auto incrementing field that will contain values like N000001, N000002, N000003 etc. I think the way is to use the value from an identity field in a stored procedure that is triggered at insert. I can't see that it can be made in pure SQL, but Java is not a problem. Any of you that can tell me the way of doing it ?
5
7582
by: marfi95 | last post by:
I want to implement into my application a mechanism to retrieve the "latest updates" to my app. I'm looking for various ways to accomplish this and how to get around the fact that you are running the app and when you download/copy a new version, the app is in use. How do you get version info of the new one (without running it) to even determine if a new one needs to be retreived ? Should I: (once I have determined a new one is needed)...
11
394
by: UJ | last post by:
Has anybody had any experience writing an auto update program that will check the internet to see if there is a newer version of the code out there and download it? It doesn't seem that complicated but I just wanted to hear from people who have done it if there are any gotchas I should watch out for. TIA - Jeffrey.
3
6758
by: Eric Renken | last post by:
Does anyone know of a good auto update service. Using .NET 2.0 C#. I do not want to use InstallShields, even though that is who we use to create setups. There sales policies are starting to drive me nuts and I want nothing more to do with them. I will still their setup programs and demo shield but that is it. Thanks, Eric Renken
1
2122
by: ComputerGuyCJ | last post by:
I have an application that I've used click-once deployment to publish out to a shared network path. From there I installed the app on a few client machines, including my own. Since then I published a few updates that were recognized by the app, and the users installed them, so everyone's on the most current version. A couple of glitches are now showing up. 1. One of my users received a prompt when she opened up the app that there is a...
0
1778
by: Mogrin | last post by:
So I have this windows .net form app, and I have the following goals: -Needs to be 1 single file, the executable, in any directory the user decides to download it to. No installation folder, no launcher/updater app, no registry entries. -App to automatically check for updates, ask permission from user, update app, and relaunch.(if necessary) I've never done this before, so I don't know the correct way to go about this, and my...
21
6375
by: JOYCE | last post by:
Look the subject,that's my problem! I hope someone can help me, thanks
0
9933
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
9789
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
10734
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...
0
10408
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9569
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
7119
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();...
0
5794
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4607
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
3
3230
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.