Click here to Skip to main content
12,401,189 members (58,315 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
How to make a setup of project with third party software and after installation the software will expire in one year.
Posted 15-Oct-12 0:43am
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
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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?[^].
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

There is Option in "New Project" - "Other Project Types" here you can select a "Setup and Deployement"
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

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[^]
  Permalink  
v2

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 15 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100