Hi,
I am adding a large number of files to the target machine using an MSI installer created in VS 2008. I am having problems with the launch conditions. What I want is a way to prevent files being added to the target machine if they already exist (version, size etc is not a concern, just the file name and location) and that if it does not exist then to be added by the MSI.
I tried to use Launch conditions where the target machine is searched before a file is added. However, as the condition in the file system editor must evaluate as TRUE what is actually happening is the file is being overwritten with the one from the MSI if it exists, and if does not exist then the one from the MSI is not being added. What I basically need is for the condition to evaluate to false.
Does anyone know how to do this? Or a different way to achieve it?
I am adding a large number of files to the target machine using an MSI installer created in VS 2008. I am having problems with the launch conditions. What I want is a way to prevent files being added to the target machine if they already exist (version, size etc is not a concern, just the file name and location) and that if it does not exist then to be added by the MSI.
I tried to use Launch conditions where the target machine is searched before a file is added. However, as the condition in the file system editor must evaluate as TRUE what is actually happening is the file is being overwritten with the one from the MSI if it exists, and if does not exist then the one from the MSI is not being added. What I basically need is for the condition to evaluate to false.
Does anyone know how to do this? Or a different way to achieve it?