Solved

Auto-update with no user interaction - ClickOnce or Application Updater Block?

Posted on 2007-03-26
2
1,599 Views
Last Modified: 2013-11-07
Hi All,

I have to write an application that must have the ability to update itself. The application itself will be running 24/7 and I had thought of writing a service but because of the need to auto-update, I think a windows application would be better. The application sits on a remote machine running windows, but the auto-update must have no user interaction whatsoever.

The application will be running in a vending machine and it's job is to send data back to an ftp server over GPRS, but as new functionality is developed, the application needs to update itself, and either download the new version from ftp or http.

So, my question. What's the best technology to implement the auto-update with? The application will be written in C#, but I'm not sure whether to use ClickOnce or the Application Updater Block. The clients must have at least .NET 2.0 (as I need to use the serial port for AT commands to the GPRS modem).

ClickOnce might look like the one to go for, but I don't know how to get around the user interaction part. Also as the application is running 24/7 I'd prefer to update itself as it's running, or perhaps set a time (eg. 3am when the shops are closed) to have the application stop and restart itself (how to do that is another issue...!)

Many thanks.....
0
Comment
Question by:Advoco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Expert Comment

by:Desp
ID: 18792059
I have used Application Updater Block but havent try ClickOnce... I heard its better ...anyways  you can find something from here:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=133483&SiteID=1
0
 
LVL 3

Accepted Solution

by:
Nico earned 500 total points
ID: 18806738
Depending on if you use a partially or fully trusted environment there doesn't have to be user interaction. The user only has to confirm the installation of an update in a partially trusted environment. Also, ClickOnce is quite customizable using the ClickOnce Deployment API : http://msdn2.microsoft.com/en-us/library/ms404263(VS.80).aspx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Converting PHP triple des decrypt to c# 9 162
SSIS Column mapping 5 40
What!!!??? 5 59
Need a quick overview of Selenium testing 2 35
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question