Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

I already created setup file using VS setup project. But i want to add the days to expiry the setup in client side.

What would be best way to add the expiry date?

Is there any expiration days property available in the project. Please advise.



Regards,
Sheik
Posted

 
Share this answer
 
Comments
Sandeep Mewara 18-Jun-12 11:41am    
good answer. 5!
Vani Kulkarni 18-Jun-12 23:28pm    
thanks!
There is no option in Visual Studio Setup Project to do so.

Instead you can read the values from registry / other secure source on Application Start

Here is a code snippet on how to do it :

Code Snippet: TrialTimeManager class[^]
 
Share this answer
 
Comments
Sandeep Mewara 18-Jun-12 11:41am    
Good answer. 5!
Manas Bhardwaj 18-Jun-12 16:55pm    
thx!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900