In Microsoft Visual Studio 2022, Microsoft has introduced a new installer technology called "Advanced Installer" which provides a modern and flexible way to create professional installers for Windows applications. Here's a general guide on how to create a professional installer using Advances Installer in Visual Studio 2022:
- Step 1: go to Extensions and click inside manage extensions, input "advanced installer" search on extensions.
- Step 2: Click into the solution add the new project and choose the
- Click into the setup project, add the new output file, we can add on primary file (it mean on default release folder, but sometime, you wanna get another path so you can choose the another file through the second screen (Edit In Advanced Installer)
- Step 3: beside that you can choose the type (simplier, professional, ... install type but choose inside Advanced installer)
- Step 4: Add the new shortcut on Desktop
- Final Step: click build project,
- If you got below error when build the setup project
ClickOnce does not support the request execution level 'requireAdministrator'.
just go inside the project unchecked enabled ClickOne security settings