INI file - Advanced Installer Community

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!

afhampton
Posts: 4
Joined: Sat May 19, 2007 3:24 am

INI file

I am using AI version 4.9.2 on Windows XP SP2

The documentation states that the configuration file should be in standard windows INI format.

1. Do I have to save a copy of the "update.aiu" file as an "update.ini" file and have it installed in the same directory as the updater.exe in addition to loading the update.aiu to my server with the latest msi?

2. Should the update.ini configuration file contain exactly the same objects as the update.aiu file?
afhampton
Posts: 4
Joined: Sat May 19, 2007 3:24 am

Got it figured out

Got both of these questions figured out by trial and error since the help files were a little unclear to me. For anyone else who may need help on this here are the answers.

1. No it is not necessary to save the update file as a ".ini" The ".aiu" format is what is needed on the server. Although you may see some examples using a .ini format (such as the local AI updater configuration file, those files are designed for a different purpose.

2. No it is not necessary to save "your" update file in the same directory as the updater.exe. The AI updater.exe will need the AI updater.ini file to function, but that is a distinctly different item than the update.aiu file that you produce and upload to your server.
kreskins
Posts: 25
Joined: Tue Feb 06, 2007 11:57 pm
Location: Dearborn, MI

Still unclear

My autoupdate feature as a part of my application will automatically create the update.ini file for the client machine. Inside that file it points to my server's update location. Is points to an INI file by default, but on my server is an ".aiu" file. When I try to run the update task I get the error:

"Invalid updates configuration file. The first line of the .INI file should be ";aiu;".

The file on the server does have ;aiu; as the first line, but it is a ".aiu" file...not an INI file.

Can anyone provide further clarificaiton?

THanks,
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

See my post here:
http://www.advancedinstaller.com/forums ... php?t=2510

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

Return to “Common Problems”