Microsoft KB Archive/298788

= BUG: Timestamp of Files Altered in Visual Studio Installer Setup Package =

Article ID: 298788

Article Last Modified on 10/20/2003

-

APPLIES TO


 * Microsoft Visual Studio Installer 1.0
 * Microsoft Visual Studio Installer 1.1

-



This article was previously published under Q298788



SYMPTOMS
When a file is added to a Visual Studio Installer project, the created and modified timestamp will be altered based on proximity to Greenwich mean time.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
When a file is added to the Visual Studio Installer project and the Package file as option in the project Properties menu is set to Compressed in setup file or Compress in cabinet files, then the file will have different &quot;created&quot; and &quot;modified&quot; dates than the original source files.

The Visual Studio Installer uses the proximity to Greenwich mean time rather than the local time to determine the file timestamp used on files placed in the .cab file. So if a package is created and modified in the eastern time zone of the United States, the modified time will be 4 hours ahead of the original source files, while a package created and modified in Japan will have its modified time set to 9 hours ahead.

Steps to Reproduce Behavior

 * 1) Start Visual Studio Installer.
 * 2) Open an empty installer project.
 * 3) In the Visual Studio Installer Project Explorer add a file to the package.
 * 4) From the Project menu, click Property, and then select Build. Make sure Package file as is set to Compressed in setup file or Compress in cabinet files.
 * 5) Build and then start the .msi package. Notice that when you check the properties of the files that Visual Studio Installer installed, the Create and Modify property values have been altered compared with the original source files.

Additional query words: timestamp

Keywords: kbbug kbnofix KB298788

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.