How to Control File's Date Stamp When Installing FoxPro .EXELast reviewed: April 30, 1996Article ID: Q130082 |
The information in this article applies to:
SUMMARYWhen distributing a FoxPro application, you can give all the files the application copies to the hard drive a specific date. This article explains how to use the SETUP.INF file to specify a date to stamp on all files. This date stamp can help you determine the application's version. You cannot use the Setup Wizard that ships with FoxPro for Windows for this purpose because it does not allow the developer to select a date to be used. All files that the application copies to the hard drive are given the current system date.
MORE INFORMATIONWARNING: This function is undocumented and therefore may be changed or omitted without notice from future releases of FoxPro. The reliability of this function is not guaranteed. When you run the SETUP.APP wizard to create the disk images, the wizard creates a SETUP.INF file, located in the disk1 directory, with a Default File Settings section that looks like this:
[Default File Settings] "STF_BACKUP" = "" "STF_COPY" = "YES" "STF_DECOMPRESS" = "YES" "STF_OVERWRITE" = "ALWAYS" "STF_READONLY" = "" "STF_ROOT" = "" "STF_SETTIME" = "" "STF_TIME" = "0" "STF_VITAL" = "YES" Step-by-Step ExampleTo have a uniform file date stamp regardless of when the user installed the application, follow these steps:
|
Additional reference words: FoxWin 2.60 2.60a setting attribute
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |