Setting Check for Updates to 0 (Zero) - 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!

invalidptr
Posts: 79
Joined: Thu Nov 18, 2010 7:10 pm

Setting Check for Updates to 0 (Zero)

Our intent is to never have the user run update.exe but instead have our exe run update.exe during a maintenance window. We further want to control the process by specifying a URL. That way we can manage who gets what updates.

Updater->Run Updater->Check for updates every: 2 days. I'm trying to change this to zero. When I do I get the error "The field cannot be empty. Please supply a value for it" Why do I want to make it zero? It's almost impossible to test the /silent command line flag when this value is not set to zero. If it's set to anything other than zero I only get one shot to test the command line. After that I have to reset my VM environment. Currently I'm editing the .ini and changing 2 to 0.

Can I disable/reset the updater checking? I'm under the impression you do this automatically but I don't see it in TaskS in XP.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setting Check for Updates to 0 (Zero)

Hello,

You can try to use a /checknow -minuseractions command for the same purpose.
For more information about the Auto Updater's options and possibilities please have a look at the commands and switches from our user guide.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
invalidptr
Posts: 79
Joined: Thu Nov 18, 2010 7:10 pm

Re: Setting Check for Updates to 0 (Zero)

I think you meant to point me at -nofreqcheck. This will have the affect I want - allowing my application to check "at will" and bypass any "Check Frequency" setting. For example, if I issue the command line Update.exe /silentall; update the ini file; and then issue the command line again it won't work until the frequency has passed. Unless I add -nofreqcheck to the command line.

Is there a value I can set "Check for updates every n days" so that Updater will never check? Again, I don't want an automated process checking every 2 days... I want to invoke the update mechinism from my app. And never have it started externally from my app.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setting Check for Updates to 0 (Zero)

Hello,

The difference between:

Code: Select all

/checknow -minuseractions
and

Code: Select all

/silentall -nofreqcheck
is that in the minuseractions case the user can choose the updates he wants to install, whereas in the silentall case, all the updates are installed.

You can call /silentall -nofreqcheck from your application every time it starts. The interval set out in the Updater page won't influence this in any way.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”