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!

hsc
Posts: 117
Joined: Wed Mar 02, 2016 2:55 pm

AI Automation - select builds

Hi,

following a suggestion from @Catalin, I am exploring the automation (COM) interface of Advanced Installer. Currently I am wondering what would be the COM equivalent of the "buildslist" command line parameter. According to https://www.advancedinstaller.com/user- ... oject.html, the IAdvinstProject.Build and Rebuild functions take no parameters, so how can I specify which build configuration I want to build?

Would it be a solution to call IBuildComponent.RemoveBuild for each build config which I don't want to build?

Thank you
Hans
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: AI Automation - select builds

Hello Hans,

I believe I have given you an example which showcases this.

Basically, the "Build" method can have as input the name of the build, e.g.:

Code: Select all

$project.Build(name_of_build)
Re: Builds for 32/64 bit

Have you tried that and it doesn't work?

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

Return to “Common Problems”