I need to copy some files to the Application folder when installing with an msi. I was looking at using a launch condition to establish if the folder exists but I need to continue and install in an alternative folder if FALSE.
can I programatically set the Application Folder at installation
You can use file search or a custom action which checks whether one of the folders exists. Then you use mutually exclusive conditions on two custom actions, which will set the value of a property,
PLUGINDIR. Then you use this property as the target directory for plugin files.You have to do it before MSI goes to
InstallInitializeaction.