Click here to Skip to main content
15,889,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to make a setup of project with third party software and after installation the software will expire in one year.
Posted
Comments
Killzone DeathMan 15-Oct-12 6:59am    
There is an option to publish the project, and it will create a setup file, but... i dont know if its possible to expire in one year!
Regards,
KZ

For creating setup of C# window application follow the answers in
1. Create Set up For C# windows Application[^]
2. Make an Installation program for C# applications and include .NET Framework installer into the setup[^]
and
for implementing Expiry Date functionality follow the answers in How to Create Setup with Expiry Date?[^].
 
Share this answer
 
There is Option in "New Project" - "Other Project Types" here you can select a "Setup and Deployement"
 
Share this answer
 
For creating setup of your windows application you need to add new project from solution.
The detailed pictorial representation shown in this Link[^].

I am assuming you want to install some prerequisites(Third party software like .net framework, Crystal reports, Sql server etc.) before your actual application's installation you can follow below steps.

1) Go to Solution Explorer.
2) Right click on setup project.
3) Click on Properties.
4) Click on Prerequisites button.
5) Select your packages.
6) Below to that, Select second option radio button i.e. Download prerequisites from the same location as my application.
7) Build the application.

Now your build with your required prerequisites in it.

For Trial Period: You can store the installation date in the registry when your applications gets installed & checks every time when your application starts whether it completes the 365 days or not but it has some pitfalls. For more detail you can follow below links.

Application Trial Maker.[^]
MSDN Trail period question.[^]
Trial Version security problem[^]
 
Share this answer
 
v2

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