Share via

Setup Project - Error when creating

Pieter Claassens 45 Reputation points
2026-01-07T07:25:22.4366667+00:00

Good day,

I am trying to create a setup (MSI installer) project - but get the attached error message .. not sure why ?

Thank you in advance for your help.

Warm Regards,

Pieter

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


2 answers

Sort by: Most helpful
  1. Michael Le (WICLOUD CORPORATION) 11,325 Reputation points Microsoft External Staff Moderator
    2026-01-09T08:50:44.88+00:00

    Hello @Pieter Claassens ,

    If MSIX is acceptable, I'd recommend switching to the Windows Application Packaging Project - it's built into Visual Studio. For more details, check out Package your app as an MSIX in Visual Studio.

    Microsoft has been pushing MSIX as the modern packaging standard, and it offers cleaner installs/uninstalls, auto-update support, and better compatibility with newer Windows versions.

    If you absolutely need an MSI, there are other alternatives worth exploring.

    Let me know if you have any questions.

    Was this answer helpful?

    1 person found this answer helpful.

  2. AI answer

    2026-01-07T07:25:30.75+00:00

    To assist you with the error you're encountering while creating a setup (MSI installer) project, it's important to ensure that you are following the correct steps and using the appropriate tools. Here are some general troubleshooting tips:

    1. Check Visual Studio Extensions: Make sure you have the necessary extensions installed, such as the Visual Studio Installer Projects extension, which allows you to create setup projects.
    2. Review Project Configuration: Ensure that your project configuration is set correctly. Sometimes, issues can arise from incorrect settings in the project properties.
    3. Enable Logging: If you are receiving a specific error message, enabling Windows Installer logging can provide more detailed information about what might be going wrong. You can enable logging by using the command line with the appropriate parameters.
    4. Consult Documentation: Refer to the official documentation for creating MSI packages, as it may provide insights into common pitfalls and specific requirements for your setup project.

    If you can provide the specific error message you are receiving, I may be able to offer more targeted advice.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was 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.