Is it possible to create a setup file(MSI) in visual studio 2019 community edition

Paul, Dolon - 1 Reputation point
2021-02-03T07:12:37.937+00:00

I have doubt on that since i have tried multiple times to create a setup file and everytime it is failed to find the project output. Please help

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,628 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
    2021-02-04T04:23:32.7+00:00

    Hi @Paul, Dolon - ,

    If you mean Microsoft Visual Studio Installer Projects, to create it in Visual Studio 2019 Community, the main steps are usually like:

    1). Go to Extensions > Manage Extensions > Online > Search, find, download and install Microsoft Visual Studio Installer Projects extension.

    2). Add a new Setup Project in your solution > right-click Application Folder > Add > Project Output… > choose the corresponding Project > select Primary output > OK.

    3). Right-click the primary output item that you added just now > choose Create Shortcut to … > drag the newly added item(shortcut) from Application Folder to User’s Desktop

    4). Rebuild Setup Project > Go to your Setup Project’s folder > you will see .msi file.

    For your issue: “it is failed to find the project output”, could you share some screenshots and the process(operations) of generating a Setup Project with me for further check?

    Best Regards,
    Tianyu

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    5 people found this answer helpful.