Juno
Posts: 3
Joined: Sat Feb 18, 2006 11:15 pm

updater.exe silent operation

Hi,

I have used the technique you describe here to check for updates automatically every time my application is started:

http://www.advancedinstaller.com/forums ... ht=updater

This works, however I would like even less feedback. If no updates are available, I would like the updater.exe to report nothing. Also, if the updater.exe fails (perhaps there is no internet connection), I would like it to silently close with no feedback to the user. Is there a way to make this happen?

Thanks.
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

I am afraid that for the current version ( 3.7 ) this cannot be achieved. However this has been already implemented and will be present in the next version of Advanced Installer ( 3.8 ). It is due for release in the near future.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
kirkkenn
Posts: 2
Joined: Mon Feb 20, 2006 3:59 pm
Location: Denver, CO USA
Contact: Website

Updater Silent operation

I would like this silent functionality to go even further -- is it possible to have the actual update download and install silently? My particular application is one that is run automatically and no user is present to go through the dialogs to install the update (either full upgrade or just a patch). In my testing, it appears that the updater always comes up with a dialog that requires user intervention.
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

This also has been implemented and will be available in the next release. Basically, the Updater supports a new command line option which will allow it to run completely silent, without any interaction with the user.

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
cpinstall
Posts: 19
Joined: Thu Jun 08, 2006 4:00 pm

I'm running 3.9 and I do not see this feature yet. I'd like to run updater to check silently for updates and only prompt if there is an update available. Also, I'd like the ability to update via a patch without any user intervention at all.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

For a list of all command supported by the Updater please follow this link:
http://www.advancedinstaller.com/user-g ... dater.html

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
cpinstall
Posts: 19
Joined: Thu Jun 08, 2006 4:00 pm

gigi,

The /silent option still doesn't silently check when executed again.

That is, if I run updater.exe /silent the first time, it shows the update that is available. After the specified period of time, it will automatically check for an update again and show it again, which is fine. But, how do I force another silent update check? Running updater.exe /silent the second time does nothing.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

What you want will be available in 4.1 version of AI which is scheduled for release any time now. Until then you could use 0 for frequency check. You can change the frequency check to 0 by editing the AIP file with a text editor. After this modification do not enter again in the "Updater" page because currently AI does not let you to change it to 0.

Regards,
Gigi
__________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
cpinstall
Posts: 19
Joined: Thu Jun 08, 2006 4:00 pm

gigi,

I've downloaded the new 4.1. Running the updater with the /silent option the second time still does not do anything. How do I force a silent update check ?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

http://www.advancedinstaller.com/user-g ... dater.html
Please take a look at /silentall, /silentcritical, -nofreqcheck commands.

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
cpinstall
Posts: 19
Joined: Thu Jun 08, 2006 4:00 pm

Gigi,

I've tried updater.exe /silent -nofreqcheck but nothing happens at all, even if there is an update available. When I run updater.exe /checknow, I get a dialog box telling me an update is available. Am I using the -nofreqcheck improperly?
gigi wrote:Hi,

http://www.advancedinstaller.com/user-g ... dater.html
Please take a look at /silentall, /silentcritical, -nofreqcheck commands.

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The AI online documentation states:
The /silentall and /silentcritical options can be used with the -nofreqcheck switch. If this switch is specified in the updater's command line, the frequency check is skipped.
So try with:
updater.exe /silentall -nofreqcheck
Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Ishay
Posts: 3
Joined: Thu Aug 11, 2005 9:00 am

updater.exe /silentall -nofreqcheck is not silent at all

Hi,

I have the same problem,
I am using Advanced Installer 4.1.2 and the updater.exe /silentall -nofreqcheck opens a dialog box in case the website is offline,
The exact error is a window with the title of Error and the text of 12007.

I really want it to be silent. If the updater encounter any problem I expect it to shut down cleanly.

This is really important for our next release, do you think you can provide a solution?

- Ishay
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

It seems that there was a bug that caused the error message to be displayed when the "/silentall" or "/silentcritical" option was used. It has been fixed.

The next version of AI will be released in the course of this week.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
Ishay
Posts: 3
Joined: Thu Aug 11, 2005 9:00 am

When?

When exactly are you going to release a fix? This is very important since we need to release a new version.

We do not care to use an older version of the updater but we need it ASAP.

Can you help me with this?

~ Ishay

Return to “Common Problems”