How can I install a file if it does NOT already exist. (This is a configuration file and I do not want to overwrite it if it already exists). I'm using VS.NET. I'm guessing I need to use a CONDITION on the file, but cannot work out how to write the condition. Previous versions of my application dod not use MSI so I cannot rely on using MSI's re-install code.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Install file if not already present
Started by
arj
, Sep 22 2002 16:57
1 reply to this topic
Posted 23 September 2002 - 14:05
You could make the file the key file of a component and mark the component as newver overwrite. Not sure if you can do this inside VSI.
But you may not have to do anything: by default MSI will not overwrite a file if it has been modified after installation (modify date more recent then create date)
But you may not have to do anything: by default MSI will not overwrite a file if it has been modified after installation (modify date more recent then create date)
Stefan Krüger
InstallSite.org twitter facebook