xObay
Posts: 27
Joined: Sat Jan 06, 2024 4:56 pm

Google Chrome Like Software Updates

Hello,

Where can I find details on implementing silent updates the same way Google Chrome or Visual Studio Code works?

I need to have my application check for updates in the background, download and install and prompt the user to restart to see the new version with no user intervention aside from restarting the app.

Regards,
Obay
xObay
Posts: 27
Joined: Sat Jan 06, 2024 4:56 pm

Re: Google Chrome Like Software Updates

Does the lack of reply mean this is not possible using Advanced Installer?
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Google Chrome Like Software Updates

Hello Obay,

Apologies for the delayed reply.

In order to achieve what you want, we need to make use of the updater's command options - Advanced Installer Updater.

For instance, in your case, we can make use of the /silentall parameter.

Now, in order to achieve that, we have to automatically call the updater with the above parameter. To do so, we have two options:

1. create the updater as a service (using the "Install Support Service")

2. create a scheduled task to run the updater daily, for instance at LogOn

The next step would be to tell the updater to silently install the update. This can be done from the Updates Configuration Project --> "Update Installer" tab --> "Command line" field.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”