For Visual Studio 2022 support for Visual Studio Installer Projects must now be installed as an official Microsoft extension from here:

https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2022InstallerProjects

I found this by googling "Visual Studio 2022 Installer Project".

Answer from David on Stack Overflow
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Microsoft Visual Studio Installer Projects - Visual Studio Marketplace
Extension for Visual Studio - This official Microsoft extension provides support for Visual Studio Installer Projects in Visual Studio.
🌐
Microsoft Learn
learn.microsoft.com › en-us › visualstudio › deployment › installer-projects-net-core
Visual Studio Installer Projects and .NET | Microsoft Learn
Explore how to use the Visual Studio Installer Projects Extension to package .NET Core 3.1 or .NET 5 and later version applications for Microsoft Installer (MSI).
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Microsoft Visual Studio Installer Projects 2022 - Visual Studio Marketplace
Extension for Visual Studio - This official Microsoft extension provides support for Visual Studio Installer Projects in Visual Studio 2022.
🌐
Advanced Installer
advancedinstaller.com › user-guide › tutorial-ai-ext-vs.html
Create an installer from Visual Studio
Afterwards, we will include and a new Visual Studio project to the solution and build both projects in a single package. ... Open the solution for which you want to create the Visual Studio install package.
🌐
Microsoft Learn
learn.microsoft.com › en-us › cpp › windows › walkthrough-deploying-a-visual-cpp-application-by-using-a-setup-project
Deploy a Microsoft C++ application by using a setup project | Microsoft Learn
You may need to accept a User Account Control elevation prompt to allow the installer to change Visual Studio. Choose Close when the installer completes to dismiss the dialog. To create a deployable application setup, first you'll create a sample app to deploy. Launch Visual Studio. By default, it opens the Create a New Project dialog box.
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 2156606 › microsoft-visual-studio-installer-projects
Microsoft Visual Studio Installer Projects - Microsoft Q&A
I did not have to update the versions of the referenced projects previously. ... I can't speak to your experience. In my use of Visual Studio installer project extensions (various versions) I have always updated version numbers for the .msi file and its contents so that an .msi processed by Windows installer for an update will install everything.
Find elsewhere
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 2288689 › good-installer-for-visual-studio-2019-c-projects
Good installer for visual studio 2019 c# projects - Microsoft Q&A
Hope you're doing well, we're following up on the ticket. Please let us know issue persist or resolved. ... Visual Studio Installer projects are a convenient way to create simple installers that don't need much customization.
🌐
GitHub
github.com › microsoft › installer-project-samples
GitHub - microsoft/installer-project-samples: Samples for Visual Studio Installer Projects
Samples for Visual Studio Installer Projects. Contribute to microsoft/installer-project-samples development by creating an account on GitHub.
Starred by 12 users
Forked by 8 users
Languages   C#
🌐
GitHub
github.com › MicrosoftDocs › visualstudio-docs › blob › main › docs › deployment › installer-projects-net-core.md
visualstudio-docs/docs/deployment/installer-projects-net-core.md at main · MicrosoftDocs/visualstudio-docs
Explore how to use the Visual Studio Installer Projects Extension to package .NET Core 3.1 or .NET 5 and later version applications for Microsoft Installer (MSI).
Author   MicrosoftDocs
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 948153 › problem-with-microsoft-visual-studio-installer-pro
Problem with Microsoft Visual Studio Installer Projects - Microsoft Q&A
If you install the extension from VS 2019, then please make sure that this extension has been enabled. And the Setup Project template should be displayed in File > New > Project > Create a new project window.
Top answer
1 of 3
3

The best way is to create a setup package, it can be an MSI, EXE or MSIX. You can do this directly from Visual Studio, without using any third party software.

You can create an MSI or EXE using Microsoft's Installer Project template. This is recommended if you are targeting users running on olders OSes like Windows 7/8, etc... or if your application has deep system integrations, like services, shell menu extensions, etc... or it simply needs to be installed per machine (for all users)

If you are targeting only Windows 10 users (1709 or newer) and your application dos not require administrative APIs (resources like services, shell, etcc or sharing files with other applications) you could use Microsoft's support to build MSIX packages.

Deploying and updating and MSIX is much simpler both for you and for the end-users, but it comes with some limitations, as mentioned above, for security reasons.

Also, MSIX requires all setup packages to be digitally signed. You can use a code signing certificate purchased from a certified vendor or your can generate your own certificate (but this needs to be accepted by the end-user machines, so you need a way to deploy this certificate to their machines before giving them the MSIX. If you are inside an enterprise network, this can be easily done, for home users is not recommended).

If you are interested in MSIX, let me know and I can give you more details about digital signing or other questions you might have.

2 of 3
2

You need an extension that didn't get installed by default:

Microsoft Visual Studio Installer Projects.

Read this topic in microsoft forum (and yes is a Microsoft extension not a third party one)

is-it-possible-to-create-a-setup-filemsi

🌐
GitHub
github.com › actions › runner-images › issues › 1382
Add "Microsoft Visual Studio Installer Projects" Extension · Issue #1382 · actions/runner-images
August 7, 2020 - URL for tool's homepage: https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects · Provide a basic test case to validate the tool's functionality: Any VS solution containing a .vdproj installer project ... Can this tool be installed during the build?
Published   Aug 07, 2020
🌐
Advanced Installer
advancedinstaller.com › user-guide › ai-ext-vs-project.html
Advanced Installer Projects for Visual Studio
Advanced Installer extension for Microsoft Visual Studio allows to create Advanced Installer Projects for Visual Studio. Each such project is a container that can include a single .AIP file.
🌐
Stack Overflow
stackoverflow.com › questions › 60430105 › how-to-install-installer-projects-for-visual-studio-2019
installation - How to install `Installer Projects` for Visual Studio 2019 - Stack Overflow
27.02.2020 10:31:07 - Identifier : VSInstallerProjects 27.02.2020 10:31:07 - Name : Microsoft Visual Studio Installer Projects 27.02.2020 10:31:07 - Author : Microsoft 27.02.2020 10:31:07 - Version : 0.9.6 27.02.2020 10:31:07 - Description : This official Microsoft extension provides support for Visual Studio Installer Projects in Visual Studio.
🌐
Stack Overflow
stackoverflow.com › questions › 77244514 › generate-application-installer-with-ms-vs-installer-projects-from-command-line
installation - Generate application Installer with MS VS Installer Projects from command line - Stack Overflow
After having changed that I am able to compile the whole solution ( MyApplication and MyApplicationInstaller projects) with this simple command from Visual Studio Command Line: ... That compiles the whole solution ( MyApplication and MyApplicationInstaller projects ), but to only execute the installer type: