easterbunny
Posts: 8
Joined: Tue Apr 26, 2011 11:27 am

Add specific files to specific build

Hi,

How can I add specific files only for specific builds? I thought I could use components, but I don't know how..

Could you please help me?

Thanks in advance!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Add specific files to specific build

Hi,

You can create separate features in the Organization page. You can then select the target builds in Feature Properties pane.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
easterbunny
Posts: 8
Joined: Tue Apr 26, 2011 11:27 am

Re: Add specific files to specific build

Allright, but how do I add specific files to the features?

For example:

Build 1 has Folder1\Folder2\Cheese.txt
Build 2 has Folder1\Folder2\Peach.txt
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Add specific files to specific build

Hi,

You can try this:
- right-click the file in "Files and Folders" page and select "Go To Component"
- move the file resource into a separate component
- move that component in the feature you want

The Files and Folders page also has a feature combo on the toolbar which contains the current feature. You can change the current feature before adding files and folders to make sure that the new resources are added in that feature.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
easterbunny
Posts: 8
Joined: Tue Apr 26, 2011 11:27 am

Re: Add specific files to specific build

Thanks, but how do I add two different files with the same filename?

For example:

Build 1: Folder1\File.txt
Build 2: Folder1\File.txt (Containing different contents)
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Add specific files to specific build

Hi,

The following article explains exactly what you need, to have the files with the same name in the same directory.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”