Click here to Skip to main content
12,951,971 members (58,873 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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
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!
Rate this: bad
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[^]
for implementing Expiry Date functionality follow the answers in How to Create Setup with Expiry Date?[^].
Rate this: bad
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"
Rate this: bad
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[^]

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
OriginalGriff 6,239
CHill60 3,490
Maciej Los 3,083
Jochen Arndt 1,975
ppolymorphe 1,880

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 15 Oct 2012
Copyright © CodeProject, 1999-2017
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