Windows Installer, Java Installer, Freeware Installer
Home|Contact|Site Map|TOC|Search
Download  Features   Java  Licensing  Purchase  Testimonials  Support  Forums

The Updates Configuration File For An EXE Application

If you are using an EXE file to complete the tutorial here is how you could configure the updates configuration file.

As a search criteria to test whether the update is installed or not we will use the version of the EXE file.

  1. First Patch
  2. Second Patch
  3. Major Upgrade

First Patch

For the first update, the updates configuration file should look something like:

;aiu;
        
[myapplication1.1]
Name = MyApplication 1.1
Description = Fixed crashing bug.
URL = http://www.myupdateslocation.com/download/myapplication1.1.msp
Size = 654321
FilePath = [APPDIR]myapplication.exe
Version = 1.1

Second Patch

For the second release the updates file should be similar to:

;aiu;
        
[my application1.2]
Name = MyApplication 1.2
Description = Fixed error when opening large files.
URL = http://www.myupdateslocation.com/download/myapplication1.2.msp
Size = 554321
FilePath = [APPDIR]myapplication.exe
Version = 1.2
Depends = myapplication1.1
      
[myapplication1.1]
Name = MyApplication 1.1
Description = Fixed crashing bug. 
URL = http://www.myupdateslocation.com/download/myapplication1.1.msp
Size = 454321
FilePath = [APPDIR]myapplication.exe
Version = 1.1

Major Upgrade

The updates file for the major upgrade should be:

;aiu;
        
[myapplication2.0]
Name = MyApplication 2.0
Description = Major Upgrade. 
URL = http://www.myupdateslocation.com/download/myapplication2.0.msp
Size = 954321
FilePath = [APPDIR]myapplication.exe
Version = 2.0
Replaces = All

[myapplication1.2]
Name = MyApplication 1.2
Description = Fixed error when opening large files.
URL = http://www.myupdateslocation.com/download/myapplication1.2.msp
Size = 554321
FilePath = [APPDIR]myapplication.exe
Version = 1.2
Depends = myapplication1.1
      
[myapplication1.1]
Name = MyApplication 1.1
Description = Fixed crashing bug. 
URL = http://www.myupdateslocation.com/download/myapplication1.1.msp
Size = 454321
FilePath = [APPDIR]myapplication.exe
Version = 1.1
Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer