Timestamp of file installed


I have added a file in ism & then I have build it to MSI with cab inside the MSI. But when I am installing the MSI in different region ( means other country). So the timestamp of the file which I can see is from the region from where I have build the ism. Is their any way to change the file timestamp during installation of msi as per the region in  which I am installing.

1 Comment   [ + ] Show comment
  • Thanks it was the observation which I have seen in other region. - Viveks 8 years ago

Answers (2)

Posted by: apptopack 8 years ago
Red Belt

This is by default how Installshield creates msi media. Installshield will build the file table with the file added with the exact timestamp.

So in this example, msi will have files timed at 11/11/2015 3:56. When installed in different time zoned machines, the files will have the same 11/11/2015 3:56 time as that of timestamp of file added to ism and bulid to msi.

  • Any way to change it depending upon region - Viveks 8 years ago
    • you are going to do mass deployment? - apptopack 8 years ago
      • Yes I am going to do mass deployment. - Viveks 8 years ago
    • One way is to open up the file and save it again after installation using any script. Other than that I am not sure how to achieve this using msi. - apptopack 8 years ago
Posted by: anonymous_9363 8 years ago
Red Belt
Why do you need to change the timestamp? If the MSI isn't overwriting an existing file and that is the behaviour you want, just use the RemoveFile table with the attribute set so that it's removed on installation and uninstallation.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ