[wix-users] Add Directory on a condition

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


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/



More information about the wix-users mailing list