Launch Conditions with file system editor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acidedgeuk
    New Member
    • Mar 2009
    • 1

    Launch Conditions with file system editor

    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?
    Last edited by Frinavale; Mar 31 '09, 02:08 PM. Reason: Moved to .NET Answers from Insights.
Working...