I have a Setup/Deployment Project for my Application and it outputs certain files (*.dll, *.dat) to the Application Folder.
I would like a condition to be set to che
To only install a file, if it doesn't already exist, follow these steps:
Add a "Search Target Machine" entry under the "Launch Conditions" view in your setup project.
fill in the FileName property and the Folder property.
Property property should be a constant you can remember, like "MY_AWESOME_FILE_EXISTS"Condition property "not MY_AWESOME_FILE_EXISTS"That is all.
Sources (since I just had to figure this out for myself):