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!

pawan1475
Posts: 5
Joined: Fri Jun 29, 2007 8:42 pm

Auto Update Issues

Hi,
I have build the auto updates using Advance Installer 4.7.1. The autoupdates are downloaded from a Apache Web server. I have tested the auto update it works fine on Windows XP but the auto update doesn't work on the Windows 2K Service Pack 4. Am i missing something. I need a universal auto updater.

Thanks in Advance

Regards
~pk

******************************************
updater.ini
******************************************

[General]
URL=http://tocrhstg/updates/update.ini
AppDir=C:\CTMS\
CompanyName=Enroute Traffic Systems Inc.
ApplicationName=CTMS
ID={C3378819-CD95-4D8F-8C66-C128955CC1EF}
DownloadsFolder=C:\Documents and Settings\kharbandp\Application Data\Enroute Traffic Systems Inc.\CTMS\updates\


********************************************
update.ini
********************************************
;aiu;

[Update]
Name=CTMS
URL=http://tocrhstg/updates/CTMS_00995_toc.exe
Size=91442304
ReleaseDate=03/07/2007
MD5=da50d5512daae23ea0390cfc9f262beb
Flags=Critical
FilePath=[APPDIR]CTMS.exe
Version=1.0.997.0
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

What exactly does not work? Please give me more details.

I have tested the URL: http://tocrhstg/updates/update.ini in Internet Explorer and the link appears to be invalid.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
pawan1475
Posts: 5
Joined: Fri Jun 29, 2007 8:42 pm

Gigi,
Link is for intranet webserver(This is an internal application). You can not access from internet. Real issue is the Windows scheduler task that is working very inconsistently. I don't understand the reason behind the inconsistencies. On some windows machine I see the scheduler task is created but never executed(Even when i tried to execute manually it doesn't work i ahve alos tried -url option but no success). But if i create the Scheduler Task thru the Windows Scheduler Wizard on the same machine to execute updater.exe /silent it works fine. On some machines whenever i deploy a new upgarde it immediately gets the notification same installation everything is same but i don't why the descrepency. I am using Version difference for the Auto Update and AI version 4.7.1.

We need to go into production with this in 4 days.

Thanks for your help.

Regards
~pk
Last edited by pawan1475 on Wed Jul 04, 2007 5:36 pm, edited 1 time in total.
pawan1475
Posts: 5
Joined: Fri Jun 29, 2007 8:42 pm

One more thing i am not sure if there is any service in the windows which might be off which is causing the Scheduler to not go off automatically. If you know anything about this let me know. In th mean time i will check that particular machine for all the enabled services.

I just checked the services. I didn't find any suspicious service that might be cauing the issue. Also there is a Windows Automatic update setup on the same machine which works fine.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I cannot reproduce this behavior on my XP test machine. On what OS you get this behavior?

Also what settings you set when you configure the scheduled task in Advanced Installer and what error you get when you execute the task manually in Windows "Scheduled Tasks" folder?

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
pawan1475
Posts: 5
Joined: Fri Jun 29, 2007 8:42 pm

Gigi,
I am seeing this behavior on Windows 2K SP4. The sScheduler is etup to run when the Machine is set to idle (10 minutes). When i right click on the job and execute "run". There is no activity and i don't see any error messages. I also tried to look into the Windows Event Log but couldn't find any messages. Is there a way to debug this problem? One more thing the machine that i am testing; i am logging into it through the "Remote Desktop".

AI Scheduler settings is
Command Line /silent
User A/c : property based user ([logonUser])
Schedule : When Idle (10 minutes)

Regards

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

Hi,

I cannot reproduce this behavior on my Windows 2K test computer. The task is created and runs correctly when it's executed manually from Windows tasks folder.

I see that you use the /silent command to invoke the updater. Note that in this case if no updates are available (or in case of an error) no UI will be displayed.

To test if the Scheduled Task runs correctly you can use the /checknow command line.

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

Return to “Common Problems”