This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Set Expiry date for Setup file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2010
12:46 AM
Set Expiry date for Setup file
3 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2010
03:30 PM
Unfortunately, the Setup.exe timeout functionality is not available in InstallShield 2010. It will be available in the next release of InstallShield.
Regards.
Regards.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2010
03:21 PM
But you can very easily do it with a custom action.
A vbs custom action would work very nicely:
Put this early in the installation sequence and it will abort the installation after the ExpireDate.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2010
01:03 AM
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
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
