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

Anonymous
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

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,681 Reputation points Microsoft External Staff
    2021-02-04T04:23:32.7+00:00

    Hi @Anonymous ,

    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.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.