Prev Previous Post   Next Post Next
Old 7th February 2018, 01:59   #1
sfx09
Junior Member
 
Join Date: Jul 2017
Posts: 29
NSIS file modify time

Hello!

I use nsis-3.01-log, compile script from Windows 7 64-bit with bzip2 compressor.

Short question. I add many files in installer (for example):

PHP Code:
;...
File "/oname=my.exe" "D:\!INSTALLER\!cache\my.exe"
File "/oname=my2.exe" "D:\!INSTALLER\!cache\my2.exe"
;... 
But sometimes, rarely, my.exe loses one second from modify filetime after installing!
For example, in "D:\!INSTALLER\!cache\my.exe" - modify time attribute is ‏‎12:37:09, but after unpacking in $INSTDIR (after installing) this file modify time attribute is ‏‎12:37:08 (windows 7 information in "properties").

Theoretically, can NSIS algorithms edit the date or time of files, which packed into the installer?

Thank you for answer. I already broke my head, where do I lose this second. In this case, if I recompile my.exe (just for example, it's can be any other file) - everything is fine before the next similar situation.
sfx09 is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump