Eternal21
Posts: 21
Joined: Mon Aug 15, 2016 5:51 pm

How can I set 'File path' for an Update project via command line?

I'm trying to set up Advanced Installer on our Build Server. We build both MSI and Update projects using Advanced Installer. The problem is, each update file needs to point to a new msi (see red border in the screenshot below). How do I go about setting that path via either Powershell or CMD? In other words, my auto-build script builds the MSI, and I then need to point Update project to that MSI:

Image

Thanks.
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: How can I set 'File path' for an Update project via command line?

Hello,

In order to specify the file path for an update, you can use the /NewUpdate option, e.g.:

Code: Select all

AdvancedInstaller.com /edit MyUpdatesConfigurationProject.aip /NewUpdate C:\test.msi
where "C:\test.msi" represents the "File path".

Hope this helps!

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

Return to “Building Installers”