Updater option question - 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!

toschlog
Posts: 26
Joined: Fri Jun 10, 2011 5:39 pm

Updater option question

Why can't I run the updater with "/silent -nofreqcheck"? Here's what I want to have happen:

* Check for updates every time my application runs (i.e., no frequency check)
* If there's no update, show nothing to the user
* If there's an update, show the dialog allowing the user to install the update

To summarize, I was the user to see nothing until there's an update. And I want to check every time I run.

Thanks.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater option question

Hi,

In order to achieve this you should proceed as follows:
- Call the Updater with the following command line option

Code: Select all

/justcheck
- Verify the return code and if an update is found (return code is 0), then call the Updater with the following command line:

Code: Select all

/checknow -minuseractions

If you have any questions let me know.

Regards,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”