Auto Updater Failing - 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!

spaquin
Posts: 4
Joined: Tue Jan 24, 2012 6:38 pm

Auto Updater Failing

When I run the auto updater I always get the following message: "Invalid or missing updates configuration file. The first line of the .INI file should be ";aiu;". It is possible that the content on the server does not match the updates configuration file URL." I am able to reach the update.txt file on the server (localhost in this case) using my browser. I've tried turning off my firewall but that didn't change anything. Here are the contents of my client update.ini file:

[General]
URL=http://localhost/ParallelUniverse/updatex.txt
ApplicationName=Vigillo Parallel Universe
ID={955ED73C-9D9A-44BD-8B69-CF88EF6859F2}
ApplicationVersion=0.5.0
DownloadsFolder=C:\Users\steve\AppData\Roaming\Vigillo LLC\Vigillo Parallel Universe\updates\
AppDir=C:\Program Files\Vigillo LLC\Vigillo Parallel Universe\
CheckFrequency=2
CompanyName=Vigillo LLC


Here are the contents of my server update.txt file:

;aiu;

[VigilloParallelUniverse]
Name = Vigillo Parallel Universe
URL = http://localhost/ParallelUniverse/Paral ... eSetup.msi
Size = 2376192
FilePath = %ProgramFiles%\Vigillo Parallel Universe\VigilloParallelUniverse.exe
Version = 0.6.0


I'm not positive that the [VigilloParallelUniverse] section header is correct. According to the docs, I should set that on the "Advanced" page but I do not see the "Advanced" page anywhere in the installer UI. I currently have it set to the name of the product on the "Java Products" page.

Thanks,
Steve
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Auto Updater Failing

Hi Steve and welcome to Advanced Installer forums,

If you need to test the updater on your local machine you can try the following syntax:

Code: Select all

file://C:\YourFolder\Updates.txt
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
spaquin
Posts: 4
Joined: Tue Jan 24, 2012 6:38 pm

Re: Auto Updater Failing

If I use a file url, I always get a dialog with the message "Your software is up to date". Even if the URL points to a non existing file I get the same message. If I point it at an existing file, no matter what I put in the file I get the same message even if I put invalid stuff into the file.

I'm using "update.exe /checknow -url file://<etc>"
spaquin
Posts: 4
Joined: Tue Jan 24, 2012 6:38 pm

Re: Auto Updater Failing

I've now got this set up to test against a real server and I'm still getting the same problem I have in my original post. I'm pretty sure there must be something wrong with my configuration on one end or the other but I can't figure out what is wrong. The documentation for the various elements in the configuration files is a little skimpy.
spaquin
Posts: 4
Joined: Tue Jan 24, 2012 6:38 pm

Re: Auto Updater Failing

I finally figured this out. The file on the server cannot be in UTF-8 format. I convrted it to ANSI and it seems to be working now.

Return to “Common Problems”