How to have time-limited installers.

asked 14 Sep '11, 07:35

Jake's gravatar image

Jake ♦♦
accept rate: 98%

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" />

answered 14 Sep '11, 07:36

Jake's gravatar image

Jake ♦♦
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14 Sep '11, 07:35

Seen: 569 times

Last updated: 14 Sep '11, 07:36