[wix-users] Add Directory on a condition

sandeep reddy sandysamples at outlook.com
Mon Jul 10 12:11:19 PDT 2017


Hi,


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.

________________________________

sandeep


________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Hoover, Jacob <Jacob.Hoover at greenheck.com>
Sent: Monday, July 10, 2017 10:57:14 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Add Directory on a condition

The <?if ...
<?endif..

Syntax is precompiler syntax.  What you are looking to do is feature selection.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of sandeep reddy
Sent: Monday, July 10, 2017 12:48 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Add Directory on a condition

Hi,


I have two directories with 50 files in each of them. I want the installer to select directory based on condition. Am trying to add a condition which is trowing an error.


Folder1 -> 50 files


Folder2 -> 50 files


--> "Path" is a property which holds a value


<!--<?if [Path] = "Folder1"?>-->

--> Deploy folder1 files

else

-->Deploy folder2 files


Can you please help out on this.



________________________________

sandeep reddy


____________________________________________________________________
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