fede071
Posts: 19
Joined: Tue May 31, 2022 11:04 pm

Enable "Check for updates using Advanced Updater" from command line

Tue Jun 28, 2022 9:47 pm

Hi everyone,

I would like to check if the option "Check for updates using Advanced Updater" is enabled and if it is not enable it. I am trying to do to this from the command line, but I could not find much in the documentation up to now, only for an update configuration project.

Can such actions be performed from the command line?

Thank you in advance!

Federica

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Enable "Check for updates using Advanced Updater" from command line

Wed Jun 29, 2022 12:29 pm

Hi Federica,

Unfortunately, we do not have command line support for this.

However, we have support for this using PowerShell automation.

For example, you can use the below commands to enable the "Check for updates using Advanced Updater" option:

Code: Select all

$advinst = New-Object -ComObject AdvancedInstaller
$project = $advinst.LoadProject("C:\Users\Liviu\Desktop\Your Application.aip")

$project.UpdaterComponent.UseAdvancedUpdater = 1

$project.Save()

For more information about this, you can refer to the below article:

PowerShell Updater component

Hope this helps! If you have any other questions, please don’t hesitate to contact us.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”