.net maui mac catalyst app how to specify INSTALL_PATH when app is packed

Eigil Krogh Sorensen 76 Reputation points
2024-03-01T17:15:48.87+00:00

I use this command to build .net maui mac catalyst .pkg

dotnet publish -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:EnablePackageSigning=true -p:CodesignKey="Apple Distribution: Eigil Krogh (4657....)" -p:CodesignProvision="ChronoWiz Profile App Store MAC" -p:CodesignEntitlements="Platforms\MacCatalyst\Entitlements.Release.plist" -p:PackageSigningKey="3rd Party Mac Developer Installer: Eigil Krogh (4657....)"

As can be seen CreatePackage=true and a .pkg is created.

QUESTION: How / where do I specify the INSTALL_PATH where the .app is installed when the user dobbel clicks the .pkg. It is normally Applications, but where do I specify that ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
{count} votes

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.