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!

ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Install a Folder conditionally

I'm susing 12.7.2 as this is part of our build process.

We have a web application that has two types of install - 1. front end web server modules only or 2. backend full install.
Is it possible to choose to:
a) only install certain folders when i select 1. front end
b) install everything, all folders when i select 2. backend

Thanks,

Ian
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Install a Folder conditionally

Hello,

Yes, this would be possible.

You could organize the compoments associated with the front files into a feature and the components associated with the backend files into another feature. You could achieve this in "Organization" page.

Assuming the user could select the installation type (front end or back end) through a radio button group containing two radio buttons, you could condition the backend feature in the following way:

Code: Select all

-Not installed  - Installed If : RADIOBUTTONGROUP_1_PROP="backend"
where RADIOBUTTONGROUP_1_PROP is the property associated with the above radio button and backend the value of the "Backend" radio button.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Re: Install a Folder conditionally

Thank you, i'll give that some testing.

Best regards,

Ian
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Install a Folder conditionally

Hello Ian,

You are welcome!
Just let me know if you have any other questions.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”