Hello,
I want to install some files only if their folder on the target system is not yet existing. If the folder is already existing, the files should not be installed. So I made a powershell inline script (immediate execution time) and placed it in the Install Execution Stage after Preparing to check if the folder exists and if it does not exist I set a installer property DO_COPY_FILES to "TRUE". If the folder exists the property is not defined. It is also not defined in the "Properties" page list. When I check the property value in a following powershell script I get the expected behaviour ("TRUE" if the folder does not exist, empty if the folder exists).
But when I use the property as a condition in the organization page for the component of the files (I just added the property name to the condition field) the files are never installed, even when the folder exists and the property DO_COPY_FILES is "TRUE".
Where is my error? Can you please help me?
Greetings,
Portalman