[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Implementing Automatic Software Updates

Posted on 2010-09-03
7
Medium Priority
?
376 Views
Last Modified: 2012-06-22
Hello Everyone,

What is the best way to implement updating Software versions in VB .Net for software installed on client PCs rather than run across a network? I'm not aware of built-in mechanisms.

What I thought of was something along the following lines:

1. On load check for current version against version on Settings Table in SQL
2. If version number is less than that on Settings Table then run update program (to be written) and then end this program
3. Update program autoruns to delete existing software and install new version
4. Update program runs original calling software and then ends

It seems very messy but is it the only way?

Thanks in advance,

Seamie
0
Comment
Question by:Seamie_
[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
  • 4
  • 3
7 Comments
 
LVL 48

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 33595976
There is an built-in feature that enables you to publish your application to a server (where your users can download it), and allow for easy updates.

ClickOnce - http://msdn.microsoft.com/en-us/library/t71a733d%28VS.80%29.aspx

Wayne
0
 

Author Comment

by:Seamie_
ID: 33596060
Yes, I've tried to use that but it only seems to work if the software is going to be run from that server. There are also problems with that process in that when the updating process is activated, it doesn't seem to save accessory files nor edit / create Registry Settings despite the access permissions being correct.
0
 
LVL 48

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 33596112
No, the software does not need to be run from the server. You can allow your users to download your application and run the app from their computer.

Any files you include with the deployment are also saved on the client. As for registry, I'm not sure I understand what you are referring to.
0
Independent Software Vendors: 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!

 

Author Comment

by:Seamie_
ID: 33596421
I have accessory files and registry settings in the Deployment project. When the software is built and the Setup.exe and project.msi files copied to a memory stick and installed on each PC from there, the update process is flawless.

If the project is published to a shared drive and run from there, the installation goes fine but the accessory files and the registry settings are not completed.
0
 
LVL 48

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 33596445
Have you tried getting the users to download the application and run it locally?
0
 

Author Comment

by:Seamie_
ID: 33596643
No, but the publishing creates a web-page which the user can 'click' on to being the updating process. In the environment this software is being distributed, copying and pasting a setup program to be run from, say, the desktop isn't an option. IT skill are fairly basic. Hence the desire to automate this process.
0
 
LVL 48

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 1000 total points
ID: 33596736
If published correctly, the user need only click the button on the web page once. This will install the application on their computer and add shortcuts to "All Programs" and the desktop if desired. Then whenever the user starts the application, it will automatically check for updates and alert the user if one is available.

To enable this functionality, you simply need to ensure "The application is available offline as well (launchable from the Start Menu)" option is selected in the "Publish" tab of the project properties.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

649 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