sing
Posts: 3
Joined: Mon May 01, 2006 12:22 am

Invalid updates configuration file

I'm trying to learn how to do an update, so I made a simple MFC dialog app and an msi installer for it. I had turned on the advanced updated feature in the setup.

I next made a small change to my app and rolled the version on the installer and rebuilt it. I updated the updates.ini file as shown below but when I check for updates, I get the error dialog 'Invalid updates configuration file'

If I just have the ;aiu; in the *.ini files, it just tells me that I'm up to date and doesn't tell me I have an invalid file.

;aiu;

[myapp1.1]
Name = app 1.1
URL = http://www.dmapp.com/test2.msi
Size = 267264
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The problem resides from the fact that you miss out to include the FilePath/RegistryKey in the updates configuration file. To learn more about how to configure the "Auto Updater" configuration file please follow this link:
http://www.advancedinstaller.com/user-g ... ation.html

For example:

Code: Select all

;aiu;

[myapp1.1]
Name = app 1.1
URL = http://www.dmapp.com/test2.msi
Size = 267264
FilePath = c:\ProgramFiles\app\app.exe
Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
sing
Posts: 3
Joined: Mon May 01, 2006 12:22 am

Thank you for your response. You might want to update your helpfile documentation on the minimal configuration which states:

Minimal Configuration
This is an example of a minimal configuration. There are provided only the name for the update, the URL where to download it and the exact file size. The problem is that there is no check to see if the update has been installed already, so it will be downloaded and installed every single time.

[MyEditor45]
Name = MyEditor 4.5
URL = http://www.myeditor.com/download/myeditor.msi
Size = 3023788
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

We are aware of this issue and the Help file was updated for the 3.9 version of Advanced Installer. Thank you for specifying this.

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”