DavidDavis
Posts: 2
Joined: Mon Aug 04, 2014 3:43 pm

/checknow option

I'm using the trial version to test the auto update features for use in my current an future programs. I have been successful in creating installers based on the tutorials, the question I have is:

If I use the /checknow option is there a way to not show the "Your software is up to date" messagebox. I want my program to check to see if it's up to date every time it is launched, but I don't want (if possible) have to force the user to click past the messagebox

Thanks

David Davis
Eusebiu
Posts: 4961
Joined: Wed Nov 14, 2012 2:04 pm

Re: /checknow option

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can use the /silent command. This command will silently search for updates and will prompt the user only if new updates are available.

Also, if you want your application to check for the updates every time it is launched you can take a look over the How do I integrate the Advanced Updater with my application articles.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DavidDavis
Posts: 2
Joined: Mon Aug 04, 2014 3:43 pm

Re: /checknow option

Eusebiu

I have created a test windows app in c# for use with the tutorials all it contains are 2 buttons (for update options, check for updates), I have gone through the How do I integrate the Advanced Updater with my application article, the problem is that it doesn't display the prompt for the new update when processed from the "thread"

If I have the code like this

private static void StartSilent()
{
Thread.Sleep(10000);

Process process = Process.Start(updaterModulePath, "/silent");
process.Close();
}


it doesn't prompt for the new update,if I change the "/silent" to "/checknow" the thread will prompt for the new update.
Eusebiu
Posts: 4961
Joined: Wed Nov 14, 2012 2:04 pm

Re: /checknow option

Hi David,

Please keep in mind that when the /silent command is used a frequency check is automatically applied. This is the "Silent mode check frequency X days" option found in the "Updater" page. So the updater can check for updates only one time per X days.

If you want to skip that frequency check and also have no user interface for the updater, you can use the /checknow -minuseractions command line.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”