Automatic Updates for WinForm using advanced installer

Source: Internet
Author: User

Original: Automatic update for WinForm using advanced installer

Advanced Installer is a packaged program that is based on Windows Installer and extends a number of features such as installation statistics, Automatic Updates, authorization verification, etc., which this article describes if you use Advanced Installer (hereinafter referred to as AI) as WinForm do Automatic Updates.

    1. Open the AI, drag your project file here, and then make some basic configuration. Until the underlying installation package can be generated.
    2. to start the configuration update, click on the Updater tab and select ' Enable Advanced Installer Updater '.
    3. After you have configured the previous step, switch to the project file Options page, find two more files in the list, one updater.exe, one Updater.ini
      • Updater.exe to perform the update
      • upd Ater.ini is the updated profile
    4. Click Build, Build installation package
    5. Next Configure Update server, pattern Tucson broken. Re-open an AI instance and create a new Updater Config project.
    6. To configure server-related content. When the
    7. configuration is complete, clicking Build will generate only Updater.ini. This configuration file differs from the configuration file generated by the third step, which is the configuration file required by the server and needs to be clearly understood separately.
    8. puts Updater.ini on the server and puts the installation package generated by step fourth together with Updater.ini.
    9. to be successful in this step, congratulations, because you are about to succeed. The
    10. test has no updates. Install the fourth generated package, after successful, into the installation directory to confirm that the Updater.exe and. ini two files exist, after clicking on Updater.exe should pop up the AI update prompt, because the two versions, should be prompted not to update. The
    11. test has an update. We are going back to the second step, change version, click on Build, Remember, this will pop-up box lets you choose whether to update ProductCode, select Change, because we are now in the form of installation package update, need to replace ProductCode, if you want to make patch Type of update, it is not required.
    12. to reopen the project for Updater Config, to re-associate the installation package that was generated in the previous step, and then to refresh the version, then manually modify the target version to the latest, and target version is the basis for determining if the client is updated. If the client is not Targer version, then the client is updated.
Turn from:http://www.scaperow.com/110

Automatic Updates for WinForm using advanced installer

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.