I was wondering if there's a way to tell the msi to never overwrite a file if it allready exists on the target system..
I'm trying to script an update for an application that has a local databasefile in it's own directory..(an .mdb file)
The msi should not overwrite that file if it allready exists..
But if it does not exist it should install the empty mdb file from the msi..

Is there an easy way to do this? Or should I really start scripting with if statements?

I'm using wise 3.20 for all this but I could not find an option in there so if it is possible I think I have to do this in the tables..
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


The MDB file should be the keypath of the component that it belongs to, and the msidbComponentAttributesNeverOverwrite (128) flag should be set for that component (in the attributes column of the component table - see SDK help).
Answered 11/12/2004 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment