Can't overwrite file
Posted: Tue Apr 25, 2006 11:57 am
I've got an issue where a certain file in my installation might already exist. If it does, I want to overwrite it with the file included in the install. However, it isn't being overwritten. I'm not sure what I'm doing wrong but here is an example project.
To recreate:
Install.
Copy the only file it installs (temp.tmp) to the same directory; so there is "temp.tmp" and "copy of temp.tmp" in the same directory.
uninstall.
rename "copy of temp.tmp" to "temp.tmp" and change the contents of the file so you can know if it was replaced.
Install again.
The second install appears to work normally but temp.tmp never gets overwritten with a fresh copy. It still has my changes in it. What am I doing wrong?
File Attached:
My Installation Project.mia
To recreate:
Install.
Copy the only file it installs (temp.tmp) to the same directory; so there is "temp.tmp" and "copy of temp.tmp" in the same directory.
uninstall.
rename "copy of temp.tmp" to "temp.tmp" and change the contents of the file so you can know if it was replaced.
Install again.
The second install appears to work normally but temp.tmp never gets overwritten with a fresh copy. It still has my changes in it. What am I doing wrong?
File Attached:
My Installation Project.mia