#2815 Custom Action Build Does Not Update Binary Timestamp

future
migrated
nobody
dtf (63)
2013-08-21
2012-01-24
No

When managed custom actions are embedded into the pre-complied native Custom Action DLL (sfxca.dll) using MakeSfxCA.exe, the timestamp of the DLL in the PE Header of the DLL (IMAGE_FILE_HEADER.TimeDateStamp) is not updated with the UTC timestamp for the date and time it is edited, but retains the timestamp from when it was originally compiled for the WiX distribution that it shipped with.

For the purposes of build traceability in user-created WiX Custom Actions, the timestamp of the patched sfxca.dll should be updated with the date and time that it is created by MakeSfxCA.exe.

Discussion

  • Martin Costello

    Martin Costello - 2012-01-24

    I have some code I can submit as a patch to do this, but it uses memory mapped files from .NET 4.0 + dbghelp.dll, so I'll avoid submitting it as a pull request unless asked as it would involve adding a dependency on both of these to the build.

     
  • Rob Mensching

    Rob Mensching - 2013-08-21
    • Status: open --> migrated
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks