Indigo Rose Software
  #1  
Old 03-24-2006
AdrianS AdrianS is offline
Forum Member
 
Join Date: Apr 2005
Location: Ottawa, CA
Posts: 27
File Date/Time stamps

I hate to ask a fundamental question, but what date/time should the patched files get? Should user files patched by VP get the date/time of the source file or should they get the date/time that the user performs the patch.

The reason for the question is that my patched files seem to be randomly getting one or the other.
  #2  
Old 03-24-2006
Jason Pate Jason Pate is offline
Forum Member
 
Join Date: Jan 2002
Location: Nashville TN
Posts: 328
The files that you are updating will be kinda random time/date stamp because there date depends on when they were created not when they were put into the patch.
  #3  
Old 03-24-2006
AdrianS AdrianS is offline
Forum Member
 
Join Date: Apr 2005
Location: Ottawa, CA
Posts: 27
>>The files that you are updating will be kinda random time/date stamp because there date depends on when they were created not when they were put into the patch.<<

Let me clarify. Sometimes the patched file gets the 'Modified' date/time of the source file and sometimes it gets the date/time that the patch exe is run. Different files in the same patch will behave differently. Some will get the source file time/date and some will get the patch execution time/date. I have always assumed that they should all get the source files' 'Modified' time/date.
  #4  
Old 03-24-2006
AdrianS AdrianS is offline
Forum Member
 
Join Date: Apr 2005
Location: Ottawa, CA
Posts: 27
OK, I figured out where the difference comes from. A regular patched file gets its Modified date/time set to the execution time of the patch. The file's creation date is unaffected. This is the behaviour that you would normally expect from Windows, since the patch is modifying the file.

Some of the files in my patch have enough changes that the diff size exceeds the compressed size of the file itself so VP (quite sensibly) puts the full file into the patch instead of the diffs. When that happens, the patched file gets the Modifed date/time of the source file and gets its Creation date/time set to the execution time of the patch. That's also not completely unexpected either.

I would argue that all the patched files should get consistent date/time stamps. My preference would be that the Modified date/time reflect the Modifed time of the source file.
  #5  
Old 03-24-2006
Jason Pate Jason Pate is offline
Forum Member
 
Join Date: Jan 2002
Location: Nashville TN
Posts: 328
Depends on file type I would bet. I agree I would expect txt files and ini files to get patcher runtime date time modified, but EXE's DLL's would get the datetime from when they were complied.
  #6  
Old 03-24-2006
Jason Pate Jason Pate is offline
Forum Member
 
Join Date: Jan 2002
Location: Nashville TN
Posts: 328
I see, but the Patch should not change the date of a file that is not modified,
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
http://yourfilelink.com - 50MB max upload, free! Intrigued General Chat 14 09-26-2006 09:44 AM
Audio Tracks Project Michael AutoPlay Media Studio 5.0 7 03-18-2004 11:58 PM
HOWTO: "Hide" Externally Referenced Files Support AutoPlay Media Studio 4.0 Examples 0 10-23-2002 04:19 PM
Can search allow manual browse even if file is found? RichardShaw Setup Factory 5.0 2 08-28-2000 07:08 PM
Install only into one of several directories with specific existing file? RichardShaw Setup Factory 5.0 0 08-17-2000 03:29 PM


All times are GMT -6. The time now is 07:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software