In this article we will learn as how to add "License Aggrement" / "End User License Agreement(EULA)" screen to the deployment process.
Introduction
In this article we will learn as how to add "License Agreement" / "End User License Agreement(EULA)" screen to the deployment process.
Straight to Experiment
First of all create a blank solution and add a Windows form project.
Next add a "Setup and Deployment" project.
Open a "WordPad" and add some content and save it as strictly "license.rtf".In word pad default extension will be rtf only.
With the setup project open in Visual Studio, right-click on the project in the Solution Explorer, point to "View", and click "User Interface".
Right-click on the "Start" group, and select "Add Dialog" from the pop-up menu.
In the "Add Dialog" dialog, click the "License Agreement" icon and click "OK".
Make it as the first dialog as shown under
Right Click on the "License Agreement" dialog ->Properties Windows
Click on "License File" property and browse.
Double click on the "Application folder-> Add Files and choose "license.rtf".
It will be added
Click "OK".
Right Click on the "Setup1" project ->Add -> Project Output and select "Windows Forms1" application as the "Primary Output".
Build the solution.Install it.
Choose "I Agree" and click "Next" -> "Next" ... and finally install it.
Conclusion
So in this article we have seen as how to add "License Agreement / EULAs" screen to the deployment process.Hope this will be helpful.Thanks for reading.Zipped file is attached