How to install .pkg file in customer and run the app?

Dani_S 3,686 Reputation points
2024-07-11T10:19:07.9733333+00:00

Hi,

In the end of the thread (https://video2.skills-academy.com/en-us/answers/questions/1731082/how-to-find-where-pkg-file-store-the-installed-app?comment=answer-1570815&page=1#comment-1638338) you said:

"If you send a link to the customer, the pkg will be downloaded in Download folder by default (the customer maybe saves it anywhere), there is no bin/obj folder. What you need to do is to warper the pkg into a folder, then send the folder to your customer."

  1. I will send the folder with pkg file inside and put it in document folder.
  2. After installtion and before running the app I need to install Download .NET 8.0 from https://dotnet.microsoft.com/en-us/download/dotnet/8.0 how do i know if it arm64 or x64 ?
  3. that all , run the app or need something else?

Thanks,

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

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,416 Reputation points Microsoft Vendor
    2024-07-12T03:20:03.0333333+00:00

    Hello,

    how do i know if it arm64 or x64 ?

    If the user doesn't know the system information, you can prompt the user to open terminal and run the command uname -a, then he can know it's arm64 or x64.

    There is no such API to call in a maccatalyst app to know the user's mac information.

    that all , run the app or need something else?

    I understand that you published an unsigned app, please take care about the security limit from Apple, see Open a Mac app from an unidentified developer

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


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.