Add License Agreement In Setup Project using Visual Studio
In this post i am explaining steps to add license agreement dialog in visual studio setup project.
Read Create Setup And Deployment Project in Visual Studio 2008/2010 to know how to create setup for your winforms or asp.net applications.
First of all we need to create a licence agreement file, for this open wordpad and type your licence agreement text and save it as licence.rtf.
Add this file in your project in solution explorer by select add existing item menu.
Right click on your setup project and select View > File System.
Right click on Application folder and select Add > File.
Browse to licence.rtf we added to solution in step 1.
Right click on setup project in solution explorer and select View > User Interface.
Right click on Start and select Add Dialog.
Select Licence agreement and click on OK.
Move it Up by right clicking and selecting Move Up to put it on the top to show up when setup starts.
Select Licence Agreement dialog in start group and open it's property window by pressing F4 key.
Click on Browse in LicenceFile property and select licence.rtf file from Application Folder and click on OK.
Save and build the setup project and licence agreement dialog will launch when you run setup.exe (as shown below).
Labels:
How to do
,
Microsoft .Net
In this post i am explaining steps to add license agreement dialog in visual studio setup project.
Read Create Setup And Deployment Project in Visual Studio 2008/2010 to know how to create setup for your winforms or asp.net applications.
step 1.
First of all we need to create a licence agreement file, for this open wordpad and type your licence agreement text and save it as licence.rtf.
Add this file in your project in solution explorer by select add existing item menu.
Step 2.
Right click on your setup project and select View > File System.
Step 3.
Right click on Application folder and select Add > File.
Browse to licence.rtf we added to solution in step 1.
Step 4.
Right click on setup project in solution explorer and select View > User Interface.
Step 5.
Right click on Start and select Add Dialog.
Select Licence agreement and click on OK.
Move it Up by right clicking and selecting Move Up to put it on the top to show up when setup starts.
Step 6.
Select Licence Agreement dialog in start group and open it's property window by pressing F4 key.
Click on Browse in LicenceFile property and select licence.rtf file from Application Folder and click on OK.
Save and build the setup project and licence agreement dialog will launch when you run setup.exe (as shown below).
Responses
0 Respones to "Add License Agreement In Visual Studio Setup Project"
Post a Comment