Create MSI from EXE in MAUI

Dani_S 4,501 Reputation points
2024-05-12T09:34:27.1366667+00:00

Hi,

In cmd i create the exe of MAUI App.

using this command:

dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d" -p:RuntimeIdentifierOverride=win10-x64

How I create MSI ?

Thanks,

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-05-13T06:03:25.6666667+00:00

    You cannot use the donot command to generate MSI package. However, you can use the Visual Studio Installer Projects Extension or other Visual Studio extensions for this purpose. For more information, please refer to this document:

    create an installer package windows desktop

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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