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!

henrikgjljungstrom
Posts: 4
Joined: Wed Apr 17, 2019 9:42 am

How to go from two installers to one

Hi,
There are several use cases based on the Advanced installers project.
One case is e.g. to build with localisation files, and another one without. Otherwise it is the same.

How is it possible to modify the .aip to either include or exclude target files?

Another angle on this, is it possible to setup a dynamical build using an aip?
Stating that advanced installer e.g. takes whatever is available in target folder and builds installer based on that?

Avoiding to specify exactly what should be included in the .aip would be convenient.

BR
Henrik
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to go from two installers to one

Hi Henrik,
There are several use cases based on the Advanced installers project.
One case is e.g. to build with localisation files, and another one without. Otherwise it is the same.

How is it possible to modify the .aip to either include or exclude target files?
In order to achieve this you can add more builds to your project. For more details please take a look on the "Multiple Builds Configuration" article, "Branding of the installer" thread and also watch the "Multiple Builds Configuration" video.
Another angle on this, is it possible to setup a dynamical build using an aip?
Stating that advanced installer e.g. takes whatever is available in target folder and builds installer based on that?

Avoiding to specify exactly what should be included in the .aip would be convenient.
For this you can synchronize some folders from your project with the source folders from the local drive.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
henrikgjljungstrom
Posts: 4
Joined: Wed Apr 17, 2019 9:42 am

Re: How to go from two installers to one

Hi,
Unfortunatly it does the folder sync option does not seem like a good option for us now.

Perhaps the build option is a good one?

There is also the mergemodulecommands
https://www.advancedinstaller.com/user- ... mands.html
This would allow me to execute e.g. with a mergemodule and then remove it. Or the other way around.
Allowing me to control it from the CI environment build pipeline CLI.

Let's say I have several options to control.
With a GUI X or without
With language files or without
With branding or without

Which path would you recommend, "Multiple build configuration" or "modules" path. Having in mind that this should be controlled from a CLI.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to go from two installers to one

Hi,
Unfortunatly it does the folder sync option does not seem like a good option for us now.
Can you please give me more details about your scenario and why this option is not suitable for you?
Which path would you recommend, "Multiple build configuration" or "modules" path. Having in mind that this should be controlled from a CLI.
If you want to have just one package containing more features and choose at install-time which feature to install, then you can use merge modules for this. However, if you want more packages, each one containing a different set of features, then you need to have more builds configured in your project for this.

Let me know if this helped, otherwise give me more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”