shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Branding - Copying the files

Hi,

I have the following requirement
- I have a branded setup(say brand1 and brand2).
- I have two files with the same name(say c:\brand1\server.cfg, and c:\brand2\server.cfg)
- In case user selects "brand1", I want c:\brand1\server.cfg to AppFolder
- In case user selects "brand2", I want c:\brand2\server.cfg to AppFolder

Can you please help me doing this??

Regards,
Rohan
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Branding - Copying the files

Hi Rohan,

If you want to install a file based on the build name, you can go in the Organization page, move each file in its own component and set a condition for each component (i.e. AI_BUILD_NAME = "brand1").

Please let us know if this is not what you're looking for and give us more details.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Branding - Copying the files

Hi Eusebiu,

Sorry for the delay in answering.

Would this work if I have the same file name in two builds.

- I have two files with the same name(say c:\brand1\server.cfg, and c:\brand2\server.cfg)
- In case user selects "brand1", I want c:\brand1\server.cfg to AppFolder
- In case user selects "brand2", I want c:\brand2\server.cfg to AppFolder

Regards,
Rohan
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Branding - Copying the files

Hi Rohan,

Sorry, but I misunderstood your question. In order to achieve what you want you can follow our How do I install two files with the same name in the same folder? tutorial then create a new dialog, add a "Radio Button Group" control on it and use its property as a condition for your files in the Organization page.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Branding - Copying the files

Thank you. It worked..
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Branding - Copying the files

You're welcome. I'm glad you got this working.

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

Return to “Building Installers”