[wix-users] Add Directory on a condition

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Jul 10 14:00:56 PDT 2017


Personally I would go with a Bundle and two separate MSI's. Allows for easier servicing at a later date, and keeps the MSI's simple.  Then just use a Variable and MSI property to persist the bundle users selection. 


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of sandeep reddy
Sent: Monday, July 10, 2017 3:28 PM
To: 'WiX Toolset Users Mailing List' <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Add Directory on a condition

Hi,


Thank you, i came to know the steps. But one small question. As is said i have 50 files in each folder. So there are 100 files. Should i refer 100 files in my wix file or is there any other solution for that.



________________________________

sandeep


________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Joseph L. Casale <jcasale at activenetwerx.com>
Sent: Monday, July 10, 2017 12:48:28 PM
To: 'WiX Toolset Users Mailing List'
Subject: Re: [wix-users] Add Directory on a condition

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of sandeep reddy
Sent: Monday, July 10, 2017 1:11 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Add Directory on a condition

> Can you give me exact path on how to add a directory on condition 
> basis using installer. Because when am trying to do, the installer 
> delivering both folder files.

If you do want to use XML processing instructions, you can read up on this
here: http://wixtoolset.org/documentation/manual/v3/overview/preprocessor.html

However, like Jacob said, it sounds like you want a feature. Have a look at https://www.firegiant.com/wix/tutorial/getting-started/conditional-installation/
and maybe reference the WixUI_FeatureTree ui set if required.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list