1 comment

  • Avatar

    Some developers ask us how to 'expire' installers after a certain amount of time has elapsed since it was first created, so end-users need to download a new one. This is useful for example for beta programs in which we want to make sure the users are installing the latest version. Take into account the below can be worked around, as many other time-based protections by simply resetting the operating system time and date

    <createTimeStamp format="%Y%m%d" variable="timestamp" />
    <throwError text="Installer Expired!">
      <!-- You need to provide the date after which the installer will not be able to execute-->
      <compareValues value1="20090101" value2="${timestamp}" logic="less" />

Please sign in to leave a comment.