jawadsahil
Posts: 3
Joined: Wed Jun 10, 2015 6:10 am

How to optionally include the files in different builds?

Hello,
Here is sample scenario.

I've 6 files, in 2 folders:
Folder: Basic
1. MainExe
2. Dll1
3. Dll2

Folder: Pro
1. MainExe
2. Dll1
3. Dll2

My project has 2 builds.
BasicBuild
ProBuild

I want to use different set of files to be included when I select any build.
The ProBuild should include the 3 files from Pro folder, while BasicBuild should have the 3 files from Basic folder.

How can I achieve this.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to optionally include the files in different builds?

Hello,

For this, you can Organize your application into features. e.g You can create two features: Basic and Pro. Add the corresponding resources under each feature. Then, you can exclude features from builds as explain in the Select the JRE to be bundled in the product article.

You can also take a look on the Move and Share components between features video which may be useful to you.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jawadsahil
Posts: 3
Joined: Wed Jun 10, 2015 6:10 am

Re: How to optionally include the files in different builds?

Thanks Dan,

That was helpful
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to optionally include the files in different builds?

You're welcome,

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”