Comments

1 comment

  • Avatar
    Jake

    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

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

Please sign in to leave a comment.