Using the Updater for local deployment

ImportantThe following article uses options that are available starting with the Professional edition and project type.

This tutorial will focus on showing how the Updater can be used for local deployment. If your company has internal software which needs to be maintained, the Updater feature from Advanced Installer can do this easily.

1. Create the original package

Launch Advanced Installer, select Professional and press the [ Create Project ] button.

Start Page

Next follow the steps 1 to 6 in the Simple Installation tutorial, but don't build the package.

After creating the project you must enable the Updater functionality. Go to the Updater section in the left-side panel, and check the option “Check for updates using Advanced Updater”.

We will assume that your company has a common share location, that is locally mapped by users to a Z network drive, this is why we will use the local URL path “file://z:/”

NoteThe Updater can use the following protocols of URL: http://, https://, ftp://, file://

Create an empty text file on the Z network drive, and name it updates.txt. This file will be overwritten later with the configuration file.

Go to the Updater section, and paste your URL in the “Updates configuration file URL”(example “file://z:/updates.txt”)

Updater Page

To make updating easier, place a shortcut of updater.exe in the Start Menu. Go to the Files and Folders Page, right click on the updater.exe file, and choose "New Shortcut To" -> "Installed file".

Updater Shortcut

In the “Shortcut folder:” option, press the “...” button, and select Start Menu as the location.

Updater Shortcut

Save and install the package

2. Create the update package

Create a copy of the original project, and open it.

Files and FoldersGo to the Product Details Tab page and increase the "Product Version" (for example you can set it to 2.0.0). The Product name should be the same as in the original package.

Product Version

When selecting another page you will be prompted about the update method, choose Generate new.

Change Version Prompt

ImportantInstead of creating a shortcut please see other alternatives in our samples on how to integrate the updater with your application.

Save and build the package, don't install it.

3. Create the configuration file

Create the configuration project by following the Create project and Add the first update sections in the Updates tutorial. The packages in the Updates tutorial are just examples, make sure you use the ones you created.

Save and build the configuration package.

After building the configuration package, rename the generated text file to updates.txt. Copy and overwrite the existing file on your Z network drive. The file will be used by the Updater to see if a new version of your software is available.

4. Run the Updater

Launch the Updater shortcut on your desktop. The changes will be detected, and your software will be updated.

5. See also

How the Updater works