saisoftwares
Posts: 4
Joined: Sun Mar 26, 2006 1:37 am

URGENT - Updating using /silent option does not work always

Hi,

I am using Advanced Installer Version 3.8 (evaluation) for creating an installer for my product.

I created the installer, and everything went great. Now, I want to update the installer and so I am using the Auto Updater functionality.

For updating my product, I run the updater.exe from command prompt as

>updater /silent

When I do this for the first time, it pop-up the screen and tells me I have new updates. Now if I click "Next" and install the update everything works great.

BUT, instead of clicking "Next", if I click "Cancel" and try to run the updater again from command prompt as:

>updater /silent

The updating screen does not pop up saying I have a new update as it did before? Why is that? Is this a bug where on click "Cancel" /silent feature does not work again?

I tried doing the same using:

>updater /checknow

and when I use /checknow option everything works great...if I click "Cancel" and again run updater with /checknow option, it again pops up the window and tells me that I have a new update. The same does not happen when I use the /silent option.

Can someone please help me out in this regards. It would be much appreciated. Hope to hear from you guys soon.

Yours sincerely,

Sam Jeans
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi Sam,

This is not a bug. When launched with /silent command line option, the Updater will search silently for updates at the interval specified by the user. The search interval can be specified in the Configuration dialog. By default it is the value you specified in the "Check Frequency" field (Updater Page).

For more details please see:
http://www.advancedinstaller.com/user-g ... dater.html

So even if you launch it again no search for updates will be performed as the specified interval had not passed.

In a future release we plan on adding an option to this command line that will tell the updater to search for updates every time is launched with this command.

If you have any more questions please let me know.

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
saisoftwares
Posts: 4
Joined: Sun Mar 26, 2006 1:37 am

Thanks Team,

This was of great help. I will keep this in mind and also wait for the new feature that you would be adding related to /silent mode.

Thanks,
Sam Jeans
Gilles
Posts: 2
Joined: Mon Sep 24, 2007 5:14 pm

Hi all !

I'm using AI version 5.2.2 and I have the same problem. So I want to know if it has been fixed or not. I've tried to set 0 to the Check Frequency property but it didn't work.

Yours sincerely,
Gilles
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

This feature improvement has not been included in the latest release. We will consider including it in a future release, but I'm afraid I can't give you an ETA for now.

Until then you can use a smaller search interval for the updater (the smallest is "1").

Regards,
Cosmin
Last edited by Cosmin on Tue Sep 25, 2007 8:55 am, edited 1 time in total.
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Gilles
Posts: 2
Joined: Mon Sep 24, 2007 5:14 pm

And what's the smallest one ? 1 ?

Thanks
Gilles
totmacher
Posts: 4
Joined: Wed Aug 20, 2008 5:01 pm

Re: URGENT - Updating using /silent option does not work always

Hey,

One customer has selected the option "never check for updates again" (or similar).
Now our app never gets automatically updated again. We call updater.exe /silent at startup of our app.

How can the customer re-enable the check for updates (change the check interval for updates)?

Best regards,
Christian
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: URGENT - Updating using /silent option does not work always

Hi Christian,

The Updater can be configured by using the "/configure" parameter. After using this command line:

Code: Select all

updater.exe /configure
a configuration dialog will be shown.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
totmacher
Posts: 4
Joined: Wed Aug 20, 2008 5:01 pm

Re: URGENT - Updating using /silent option does not work always

Thank you for the quick reply!

Return to “Common Problems”