"updater /silent" doesn't start downloading - 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!

jaspera
Posts: 2
Joined: Mon Jun 16, 2008 12:22 pm

"updater /silent" doesn't start downloading

Hi

I am evaluating the Enterprise edition and have a problem with the updater feature. ""updater /checknow" is working fine but "updater /silent" starts up the process and then keeps hanging with "(0%) Downloading Updates" and "Progress: 0% (0.00 KB of 0.00 KB)" like it is unable to create a connection.
Any ideas? Is it because I am running in trial mode and has a hidden confirm dialogue somewhere?

Best regards

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

Re: "updater /silent" doesn't start downloading

Hi Jasper,

Please note that the "/silent" parameter will make the Updater search for updates only when the check frequency has passed. For example, if the check frequency is set to 2 days, the Updater will search for updates only after 2 days have passed since the last check (or the first installation). It doesn't matter how many times you will launch the updater in this period, it will not perform a check.

Note that only the "/checknow" parameter will make the Updater to instantly check for updates (all the other parameters use a check frequency). Also, after the check frequency period has passed, the Updater will check for updates only if it is launched (it will not launch itself automatically).

If you want the updater to instantly check for updates when using the "/silent" parameter, you need to set the check frequency to "0". This can be done by editing the INI file used by the "Updater.exe" file installed by your package.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jaspera
Posts: 2
Joined: Mon Jun 16, 2008 12:22 pm

Re: "updater /silent" doesn't start downloading

Thanks - I missed the point with CheckFrequency. I assume it is possible to set CheckFrequency with "updater /configure" as well.

But after setting CheckFrequency=0 nothing happens at all when running "updater /silent" - not even the hanging download dialogue. The configuration dialogue also shows the next update to be 1 day ahead in the future.

If you have other hints related to testing an unattended install then let me hear. Otherwise thanks for a quick response.

Cheers

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

Re: "updater /silent" doesn't start downloading

Hi Jasper,
But after setting CheckFrequency=0 nothing happens at all when running "updater /silent"
Please note that the Updater will show an user interface only if it finds an update. If it cannot find an update, the Updater will stop right after the updates search was performed.
The configuration dialogue also shows the next update to be 1 day ahead in the future.
Please note that the configuration dialog does not support a zero check frequency. The approach I suggested (edit the INI file) is just a workaround which should be used only for testing purposes. The modified INI file can be used by the Updater, but it is not supported by the configuration interface.

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

Return to “Common Problems”