How to have time-limited installers.

asked 14 Sep '11, 07:35

Jake's gravatar image

Jake ♦♦
796222226235
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

<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>
link

answered 14 Sep '11, 07:36

Jake's gravatar image

Jake ♦♦
796222226235
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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

Tags:

×155
×1

Asked: 14 Sep '11, 07:35

Seen: 553 times

Last updated: 14 Sep '11, 07:36