PDA

View Full Version : Create File Time being modified



mboeshart
01-12-2005, 04:07 PM
I have a file that needs to be copied onto a destination computer. The file uses the create time to keep track of version information. When Installshield 10.5 creates the file on the destination computer it updates the created time to when it installs the file. This may be a default behavior of the Windows operating system. How do I keep the created time the same as my deployable file? It leaves the modified time the same but that does not do me any good. I need to use the create time for version information.

NOTE: This file is a text file and version information cannot be placed into the resources so I am forced to use the file time methods.

Somebody
01-12-2005, 05:04 PM
If the InstallShield SetFileInfo() function will not work for you, then you may want to go to http://www.installsite.org/ then select “InstallScript Samples”, then “Components and Files”, and then check out the “Clone Time Stamp” function.