I have a parameter that would be passed during the installation from console application.
I have created the folder and files in the Deployment MSI Installer Folder.
Currently all these files and folders are created on my local machine during installation.
If the value of the parameter passed is equal to the name of the folder in 'MSI Installer Folder' only that folder needs to be created on local machine during installation.
How can I pass this parameter value to the CONDITION property of the MSI Installer Folder. or any other way achieve the requirement?
I have parameter named "ENVIRONMENT" that is passed from the console application which invokes the MSI also I have files named dev.config, uat.config in the 'MSI Installer Folder'.
I understand that we can set some syntax in the CONDITION property of the file so that it can be installed or not.
How should I write the syntax in the Condition property of the file dev.config and uat.config, so that If the value in the parameter "ENVIRONMENT" is 'dev' then only the dev.config is installed on the local machine and not the uat.config.