Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,

I am creating web setup for web application.
where when i am install the setup that time cteate registry in HKEY_CURRENT_USER as "InstallationDate" And "ExpiryDate" where ExpiryDate Contain installationDate plus 10 days.

Example:
if Installation Date = "20/10/2014" then
ExpiryDate = "30/10/2014"


Now after some days if user uninstall the exe and try to reinstalll the exe then i want to compare ExpiryDate and TodayDate that if today date is less than expiry date then exe get install else exe aborted.


for this i used launch condition registry key search

but i am unable to get CurrentDate(Today Date)

Please Can any one suggest me?

Thanks
Chetan V.
Posted
Comments
Sinisa Hajnal 20-Oct-14 2:12am    
You talk about web setup and then about installing exe on users computer. These are two different things - please explain in more details. Thank you.
[no name] 20-Oct-14 5:40am    
after creating websetup it create exe of application that we install on client machine.

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