Get a files last updated time using pascal (innosetup)

前端 未结 2 1870
鱼传尺愫
鱼传尺愫 2021-01-25 13:33

In the uninstall portion of an innosetup script, I\'d like to add a check to see if a specific file\'s last update datetime occured within the last 10 mins.

Does anyone

2条回答
  •  生来不讨喜
    2021-01-25 14:14

    At the moment the only way to support this would be to use a DLL and link it to your uninstall.

    You will have to write the DLL that has the functionality your want.

    The default INNOSetup install has examples showing you how to call DLLs. After that it should be simple.

    As long as you can write a DLL.

    HTH, Ryan.

提交回复
热议问题