overwrite existing changed file

Got a problem you cannot solve? Try here.
Post Reply
madjoo
Posts: 1
Joined: Mon Dec 18, 2006 8:21 am
Contact:

overwrite existing changed file

Post by madjoo »

hi,

we want to buy installaware. i've tested it, but i've got a question:
i create a setup. the setup creates a textfile on my desktop. in the textfile is the word "hello". i open the textfile and write "hello1234" in it. i start the setup again, but the changed textfile won't be overwritten, because in the file is the changed text "hello1234" and not "hello". how can i realize that the file actually will be overwritten?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

If the file has changed, this will be detected by either a version change, or a date change. In your case the date is probably newer, so the overwrite is not occuring.

You could of course manually delete critical files before calling Apply Install, this way ensuring their original copies will be installed - try Delete Files Recursive.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply