Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
I have created a project which contains 20-30 windows forms (using MS Visual studio 2010).It also conatins some database(using SQL server 2008 R2). Now I want to create an installable exe file for my project.please help me to create an installable exe file for my project that can be installed in any version of windows. Also I want to know how to generate a 16/25 digit key code to my project,just like MS office 2007,it will ask for key at installation time if key is not valid it can run in trial version for 30 days.
Please suggest me.

Thanks
Posted
Updated 22-Oct-12 7:01am
v2
Comments
Sergey Alexandrovich Kryukov 22-Oct-12 12:52pm    
Just three days of trial? I think your trial will end even before someone downloads the trial version -- who would need to work with such a miser?!
--SA
Nelek 22-Oct-12 13:00pm    
Maybe he had typo and forgot the "0" ?
Sergey Alexandrovich Kryukov 22-Oct-12 14:30pm    
Amazingly, OP confirmed your guess :-)
--SA
Abhishek Pant 22-Oct-12 13:01pm    
Ya
Sergey Alexandrovich Kryukov 22-Oct-12 14:30pm    
Better :-)
--SA

1 solution

About the installable file. If you can not do it with your VS, then I would recommend you to have a look to http://en.wikipedia.org/wiki/Inno_Setup[^]

About the install in any version of windows and the trial version... that's another thema and will need more than a simple QA to get answered.

I would say you should start on your own searching in google and come back when you face a concrete Problem
 
Share this answer
 
Comments
Abhishek Pant 22-Oct-12 13:09pm    
I tried this before I questioned; but no solution for database attachment & key management .
Asks for script only,
Nelek 22-Oct-12 13:29pm    
Then maybe next time you could say what have you tried?[^]. It will help you to get a better answer. You said nothing about.

Regarding the Licence key. Even if the installator ask for a key, the management of the 30 days (in my opinion) is better to be done in the software (starting the programm)
Sergey Alexandrovich Kryukov 22-Oct-12 14:31pm    
Agree with you. As to the answer -- this is one of possible solutions. I cannot agree with the vote of 2; I voted 5.
--SA
Nelek 23-Oct-12 3:03am    
Thank you, Sergey
Abhishek Pant 22-Oct-12 13:58pm    
Then question comes at the same point for key management how to do it?? Can u provide me a link for tutorial.

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


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900