kahmad
Posts: 9
Joined: Thu Jun 27, 2013 11:47 pm

How to create folder ONLY if feature selected

I have created a custom feature selection dialog with checkboxes using these instructions: http://www.advancedinstaller.com/user-g ... ature.html

The "Files and Folders" are currently arranged as follows.
Target Computer
> Application Folder
> > Folder 1 [This folder contains files]
> > Folder 2 [This folder contains files]
> > Folder 3 [This folder contains files]
> > Folder 4 [This folder is empty]

I have the files in Folder 1 tied to checkbox 1 on the custom feature selection dialog.
I have the files in Folder 2 tied to checkbox 2.
I have the files in Folder 3 tied to checkbox 3.

Right now Folder 4 is always getting created. But I only want it created if checkbox 3 on the custom feature selection dialog is checked. How do I go about doing that?

Your help is greatly appreciated!
kahmad
Posts: 9
Joined: Thu Jun 27, 2013 11:47 pm

Re: How to create folder ONLY if feature selected

Nevermind. It looks like a component was created for the empty folder. I was able to move that component into the appropriate feature which is conditionally installed based on the checkbox on the custom feature selection dialog.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to create folder ONLY if feature selected

Hello,

I'm glad you got this working.

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

Return to “Building Installers”