$ 0 0 I think Condition.NOT_Installed alone does what you want. If the file exist it doesn't overwrite it. Tough I am not sure about the MajorUpgrade scenario.