Snfautoupdater Universal Auto-upgrade Component V2.0

Source: Internet
Author: User

1. Introduction of components

c/s structure is characterized by the ability to give full play to the client's processing capacity, a lot of work can be processed by the client and then submitted to the server, the corresponding advantage is the client response Speed mode client with its powerful function, rich expressive force by a considerable majority of users favor, but the client deployment, The cost of maintaining the upgrade is very high.

C/S client needs to install a dedicated client software and operating environment. First of all, the workload of the installation, and then any computer problems, such as viruses, hardware damage, need to install or maintenance. In particular, there are many branches or stores of the situation, not the problem of workload, but the problem of distance. Also, when the system software is upgraded, each client needs to be reinstalled and its maintenance and upgrade costs are very high.

Snfautoupdater components are designed to solve the problem of C/s in maintenance and upgrade, this component can quickly set up upgrade deployment applications, full control of the entire upgrade deployment process, full-featured, fast, easy to use, set up to publish your client applications.

This component is provided in the simplest mode to the client on-line deployment and auto-upgrade function, to completely solve the upgrade of the implementation of the worries. The interface provided in the component provides the simplest way to provide full control over the upgrade process. The Snfautoupdater component is the purpose of this upgrade component by integrating a stable/efficient automatic upgrade function for your software.

The Snfautoupdater component completes the upgrade work in four steps: Check for new versions, download to temp directory, check local files, copy or overwrite to working directory.

No special servers, traditional Web services, such as IIS. The server deploys the latest version of the software file (the file list is stored in an XML file), and the Snfautoupdater component compares the Analysis server with the client's XML comparison configuration file, which is updated differently.

The Snfautoupdater component is written in C # language and can be used in most popular language development software, and is not dependent on any class library, stable and efficient.

2. Component upgrade principle and process

3, the service side deployment.
<?xml version="1.0"encoding="gb2312"?><autoupdater> <description>application autoupdate</description> <Updater> <Url> http//10.0.0.1/snfsoftupdate/</url><LastUpdateTime> .- -- -</LastUpdateTime> </Updater> <application applicationid="SNF"> <EntryPoint>SNF.exe</EntryPoint> <Location>.</Location> <Version>1.0.0.0</Version> </Application> <Files> <file ver="1.0.0.0"Name="SNF.exe"/> <file ver="1.0.0.0"Name="Reports\test.txt"/> <file ver="1.0.0.0"Name="Interop.grproLib.dll"/> <file ver="1.0.0.0"Name="REPORTS\TEST.GRF"/> </Files></AutoUpdater>

You can see the list of files that are configured with update address, update date, main program, and need to be updated.

If the above file is not willing to write on its own, use the following tools to generate:

4, client deployment.

The main program opens automatically when you are finished.

Note: The Load event for the main program is added to the code that adjusts the automatic Updater program. To open a window in a mode. If there is no difference, the upgrade window is automatically closed to show the main window.

Snfautoupdater Universal Auto-upgrade Component V2.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.