cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
santosh
Level 3

Set Expiry date for Setup file

Hi

How to set expiry date for setup file created ?
Labels (1)
0 Kudos
(3) Replies
hidenori
Level 17

Unfortunately, the Setup.exe timeout functionality is not available in InstallShield 2010. It will be available in the next release of InstallShield.

Regards.
0 Kudos
Videstra
Level 7

But you can very easily do it with a custom action.
A vbs custom action would work very nicely:

Const IDABORT = 3
Const IDSUCCESS = 0
Dim ExpireDate
ExpireDate = "1/1/2011 00:00:00"

Function Expired()

If Date > ExpireDate then
Expired = IDABORD
Else
Expired = IDSUCCESS
End If

End Function


Put this early in the installation sequence and it will abort the installation after the ExpireDate.
0 Kudos
santosh
Level 3

Hi

Thanks for your help . I put the code which you are given and i set expiry date '25/07/2010'. But when i am able to install after expiry date also means i am able to install on 26/07/2010. I am not getting any message.

I have written new vb script as follows

Custom Actions --> New VB script --> Stored in custom actions

i copied the code which u given.

Also i referred the script in User Interface and also in Execute sequences.

Please do reply
Thanks
Santosh
0 Kudos