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