RunningBall
Posts: 1
Joined: Wed Jan 18, 2006 10:30 pm

Updates ini file ??

i have advanced installer 3.6.1

have activated the auto uptade funktion

by every trying to update get the folloring error


"Invalid updates configurations file. thé first line of INI file should be ";aiu;" "

my config file on the server looks like this

[RunningBall]
Name = RunningBall 1.0
URL = http://runningball.info/update/RunningBall.msi
Size = 3023788
Description = This is the latest version of MyEditor
Feature = Support for other file types
Feature1 = Support for different encodings
BugFix = Fix bug with file open
BugFix1 = Fix crash when opening large files
BugFix2 = Fix bug with search in file feature
FilePath = %ProgramFiles%\MyEditor\RunningBall.exe
Version = 1.0


please help me


THX
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

The problem with your configuration file is the following: the first line of the updates configuration file must contain the following signature (string):

Code: Select all

 ";aiu;" 
Therefore, it should look like the following:

Code: Select all

;aiu;

[RunningBall]
Name = RunningBall 1.0
URL = http://runningball.info/update/RunningBall.msi
Size = 3023788
Description = This is the latest version of MyEditor
Feature = Support for other file types
Feature1 = Support for different encodings
BugFix = Fix bug with file open
BugFix1 = Fix crash when opening large files
BugFix2 = Fix bug with search in file feature
FilePath = %ProgramFiles%\MyEditor\RunningBall.exe
Version = 1.0 
Please see the Updater tutorial:
http://www.advancedinstaller.com/user-g ... dater.html

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
dzar
Posts: 10
Joined: Tue Apr 04, 2006 3:15 am

[quote="Ionut"]Hi,

The problem with your configuration file is the following: the first line of the updates configuration file must contain the following signature (string):

Code: Select all

 ";aiu;" 
I am having the same problem with a new install of version 3.8.1 and a new project using the updater. Here is what your system generated (I've replaced some text with XYZ to protect my client):

[General]
ApplicationName=XYZ
DownloadsFolder=C:\Documents and Settings\dzar\Application Data\XYZ\updates\
ID={BE7A72E0-4569-4049-9B57-7B7770A29741}
URL=http://www.XYZ.com/updates
AppDir=C:\Program Files\XYZ\
CheckFrequency=2
CompanyName=XYZ Corporation

Even when I added

;aiu;

as the first line before anything else, I get the error that this is an invalid .ini file. I assume the .ini file it's looking for is caller updater.ini in the same director as updater.exe? That's what your system generated, anyway.

Thanks,
Dave
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi,

The problem is that you edited the wrong INI file. The file generated by Advanced Installer is the updater configuration file and doesn't need any editing.

You should edit the updates configuration file that is located on the server. This file must start with ";aiu;".

For more details please see:
http://www.advancedinstaller.com/user-g ... ation.html

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”