I have made a "patch" package where im trying to replace a txt file

I thought if my "patch" package contained a larger file than the the previous txt file it would be replaced.
This dont work my previous txt file is not being replaced.
What am i doing wrong?
0 Comments   [ + ] Show Comments

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.

Answers

0
OK, this is off the top of my head but IIRC, files which don't have version information in them, then the 'replace' decision is based on the file's *creation* date stamp. The 'Creation' date is different to 'Modified' date. So you need to make sure that the new file is dated later than the old one. This is easy enough to do, by either using a 'touch' utility or creating an empty text file, pasting the contents of the replacing file into it then saving the file using the replacing file's name. Keep copies of source and target, in case things go wrong.
Answered 02/25/2008 by: VBScab
Red Belt

Please log in to comment
0
The "File Versioning Rules" still apply for MSPs for full files not delta.
Add the file to the RemoveFile table to make sure the file will get removed prior to installation.
Answered 02/25/2008 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity