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!

alter_ego_dev2
Posts: 25
Joined: Wed May 10, 2023 4:09 pm

How to build installer project using a specific build?

At the moment CI pipeline builds an advanced installer project using PowerShell script with command line tools:

Code: Select all

$installerScript = @"
;aic
SetVersion $version
SetAzureKeyVaultSecret $azureKeyVaultSecret
SetProperty CONFIGURATION=$configuration
Save
Rebuild
"@
$installerScript | Out-File build-installer.txt -Force
& AdvancedInstaller.com /execute $aipFile build-installer.txt | Write-Host
if ($LASTEXITCODE -ne 0)
{
    throw "Failed to build installer"
}
I would like to add an additional build to the installer project and build only a specific build if needed.
I have found that I could use -buildslist <builds_list> parameters to specify a build, but the parameter can be used only with /build and /rebuild commands. It is not clear how to use -buildslist <builds_list> in my case when CI uses the /execute command.
Could you please clarify how I could change my CI PowerShell script to include build parameter?
alter_ego_dev2
Posts: 25
Joined: Wed May 10, 2023 4:09 pm

Re: How to build installer project using a specific build?

It seems I have found how to specify a build:

Code: Select all

Rebuild -buildslist $buildName
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: How to build installer project using a specific build?

Hello,

Thank you for your followup on this.

Glad to hear you found the solution.

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

Return to “Building Installers”