We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

stradinov
Posts: 11
Joined: Fri May 16, 2008 11:17 pm

updater.exe /checknow error

I'm evaluating the version 6.3. I follow the updater tutorial but when I click on the updater shortcut it displays an error message:
---------------------------
Error
---------------------------
Archivo de configuración de actualizaciones inválido. La primera línea del archivo .INI debe de ser ";aiu;".
---------------------------
OK
---------------------------
(English)
"Invalid updates configuration file. The first line of the .INI file should be ";aiu;

My updater.ini file (autogenerated) has the following content:
--------------------------BEGIN updater.ini
[General]
URL=http://localhost/shared/download/updates.txt
ApplicationName=MiProyecto
ID={2BACE5E0-BAB9-4E34-AFB5-73E6016A00CE}
DownloadsFolder=C:\Documents and Settings\cestrada\Application Data\IIDEA Solutions\MiProyecto\updates\
AppDir=C:\Program Files\IIDEA Solutions\MiProyecto\
CheckFrequency=1
CompanyName=IIDEA Solutions
--------------------END updater.ini

I get the same when I execute the "updater.exe /checknow" from command line.
The URL (http://localhost/shared/download/) exists. I don't see I miss any step from the tutorial.

Thanks in advance.
dms
Posts: 164
Joined: Tue Aug 28, 2007 7:11 am
Location: UK

Re: updater.exe /checknow error

Hi this one caught me out at first as well becuase I was convinced that I had followed the Tutorial correctly. What it turnsed out that I had done was to inadvertantlt tell the updater to look for a folder called updates on my site to see if it contained an updates.ini file to indicate that a new update was available.

So the first thing I would suggest that you do is refer back to your original .aip file and see where you are telling the updater to look to find its update.ini (or.txt) file.

Secondly if you have used the updates configuration project correctly the file that it produces that the updater.exe looks for will have as the very first line ;aiu;

If it does not have that then you have built the update incorrectly.

HTH

Dom
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: updater.exe /checknow error

Hi,

You are encountering this error because you are not using an updates configuration file. Please note that the Updater tutorial has step by step instructions for using the Auto Updater.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
stradinov
Posts: 11
Joined: Fri May 16, 2008 11:17 pm

Re: updater.exe /checknow error

Many thanks, I was espected that the updates configuracion file was'nt needed if no update is available.

From the "Using The Auto Updater" tutorial in the help file:
Select the "Enable Advanced Updater" checkbox.

Now, you will have to reserve on your site a location for the updates configuration file. You will create this file when the first update will be released. For now, you just have to input the location. Let's suppose you have chosen this location:

http://www.myupdateslocation.com/downlo ... pdates.txt
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: updater.exe /checknow error

Hi,
I was espected that the updates configuracion file was'nt needed if no update is available.
This is correct, an updates configuration file is not necessary. However, in your case, the file "http://localhost/shared/download/updates.txt" exists and it is not an Updates Configuration File. If you want to test the Updater without an Updates Configuration File, please make sure that the file in the above URL doesn't exist.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”