For publishing a .NET desktop application, I would like to add a user interface that includes a license agreement during installation. I searched through some of the contents but couldn't find it for Visual Studio Community 2022. In the solution, there is no View menu. Can you let me know how to add the license agreement and other pages during installation?
Asked
Active
Viewed 298 times
1 Answers
0
Please check out my nanny-level teaching!
Environment:
- Add extention
- Install Microsoft Visual Studio Installer Project
- Closs the ide to start installing:
- Create a setup project:
- Right-click on the "Start" group, and select "Add Dialog" from the pop-up menu.
- n the "Add Dialog" dialog, click the "License Agreement" icon and click "OK". A license agreement form will be added to your installer under the "Start" group.

Jiale Xue - MSFT
- 3,560
- 1
- 6
- 21
-
@Jiale_Xue Thank you for sharing. I found your approach is creating a new project for setup. If so, how do I integrate with the main project? – CalgaryFlames Mar 04 '22 at 23:12
-
You could refer these links. [1](https://learn.microsoft.com/en-us/visualstudio/deployment/installer-projects-net-core?view=vs-2022#create-a-setup-project) and [2](https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/wx3b589t(v=vs.100)). – Jiale Xue - MSFT Mar 07 '22 at 01:15