Create MSI from EXE in MAUI

Dani_S 2,886 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,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,970 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
    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