LogMeIn support sites no longer support Microsoft's Internet Explorer (IE) browser. Please use a supported browser to ensure all features perform as they should (Chrome / FireFox / Edge).

The GoTo support site no longer supports Safari 15. Please upgrade your browser to Safari 16 (or newer) or switch to a supported browser such as Google Chrome, Mozilla Firefox, or Microsoft Edge.

Simply secure and manage all devices. Discover LogMeIn Resolve Mobile Device Management.

We are currently experiencing an unplanned outage for this product.
  • Support
  • Products

    Explore support by product

    GoTo Connect

    All-in-one phone, meeting and messaging software

    GoTo Meeting

    Video and audio meeting software

    GoTo Webinar

    All-in-one webinar and virtual events software

    GoTo Room

    Conference room hardware

    GoTo Training

    Online training software

    OpenVoice

    Audio conferencing software

    Grasshopper

    Lightweight virtual phone system

    join.me

    Video conferencing software

    LogMeIn Resolve

    IT management & support

    LogMeIn Resolve MDM

    Mobile device management

    LogMeIn Pro

    Remote device access

    LogMeIn Central

    Remote monitoring & management

    LogMeIn Rescue

    Remote IT support

    GoToMyPC

    Remote desktop access

    GoToAssist

    Remote support software

    Hamachi

    Hosted VPN service

    RemotelyAnywhere

    On-prem remote access solution
  • Community
  • Service Status
  • Try the improved My Cases portal

    Easily manage your ticket, track its status, contact us from an existing case, and more.

    Sign in to try
  • Language selector icon Language selector icon
    • English
    • Français
    • Italiano
    • Deutsch
    • Español
    • Português
    • Nederlands
  • Contact Support
  • Service Status
  • User Avatar User Avatar
    • Support
    • Contact Support
    • Browse Products
    • Service Status
    • Community
    • Sign in
    • User Avatar
    • My Account
    • Personal Info
    • Sign In & Security
    • My Cases
    • Billing Center
    • https://link.goto.com/myaccount-billing
    • My GoTo Connect
    • My Meetings
    • My Webinars
    • My Trainings
    • My Conferences
    • My Resolutions
    • My Mobile Devices
    • My Sessions
    • My Sessions
    • My Incidents
    • Sign out
  • Device Platforms
  • iOS and macOS
  • macOS
  • App Management
product logo
Back button image Back
Back button image
product logo

Converting DMG to PKG for macOS application deployment

For Mac devices, LogMeIn Resolve MDM supports the deployment of application packages (PKGs) and Apple Business/School Manager apps. Sometimes you might come across a file in a DMG (Disk Image File) form that you need to repackage before deploying them to managed macOS devices. This article instructs how an administrator can first convert the DMG file to a PKG file and then sign the PKG for deployment.

Requirements

  • Apple Developer account

Converting DMG to PKG

  1. Open the DMG by double-clicking it.
  2. Move the .app file to Applications folder.

    Skype being moved to Applications folder.
    The layout of the screen may look different in the product.
  3. Open the Terminal on the computer (Applications > Utilities) and execute the command: [raw]sudo productbuild --component /path_to_app/App_name.app /output_folder/Converted.pkg[/raw]
  4. The next command converts Skype.app in Applications folder to Desktop as Skype.pkg: sudo productbuild ‐‐component /Applications/Skype.app ~/Desktop/Skype.pkg

Signing macOS PKGs for deployment

PKG must meet two requirements to deploy them on managed macOS devices with LogMeIn Resolve MDM:

  1. The package must be built as a product archive (built with the command productbuild).
  2. The PKG must be signed with a Developer ID certificate to verify that it is from a trusted source.

To sign a PKG, you need an appropriate certificate obtained from an Apple Developer account. You can sign packages for macOS with the same certificate until it expires.

Acquiring the certificate for signing

If you don't have the certificate yet, follow the next steps:

  • Create a certificate signing request.
  1. Go to Keychain Access on your mac (/Applications/Utilities). From there, open the Certificate Assistant and the option Request a Certificate From a Certificate Authority.
  2. Enter the required information.
    • User Email Address: your email address used with the Apple Developer account
    • Common Name: your name
    • Request Is: Saved to Disc
  3. Select where you want to save the .csr (certificate signing request) on your computer.
  • Generate an installer certificate.
  1. Go to the Apple Developer portal> Account and sign in. Please note that creating a Developer ID installer certificate requires Account Owner/ Holder permission.
  2. Then navigate to Certificates, Identifiers & Profiles and click the + symbol to create a new certificate.
  3. Choose the Developer ID installer.
  4. Upload the certificate signing request (.csr) you created earlier and continue.
  5. Then download the .cer file and double-click it to install it in the Keychain Access on your macOS.

Signing a PKG

When you have the certificate you can sign the macOS PKG.

Open the Terminal and use the next command to sign the package: [raw]productsign --sign "Developer ID Installer: Your Apple Account Name (serial number)" ~/folder/unsignedpackage.pkg ~/output-folder/signedpackage.pkg[/raw]

  • Developer ID Installer: Your Apple Account Name (serial number) is the name of the certificate you earlier created and installed in Keychain Access on your MacOS.
  • Folder refers to the current location of the unsigned package on your Mac.
  • Output-folder is the location where the signed PKG gets stored with the command.

You might need to provide your Keychain password with the productsign command.

Related Articles:
  • Custom configuration profiles for macOS
  • Mac scripting
  • Wiping macOS devices
  • Enrollment instructions for Mac users
Article last updated: 10 July, 2025

Need help?

Contact icon Contact support
Manage Cases icon Manage cases
Video icon Watch videos
  • Language selector icon Language selector icon
    • English
    • Français
    • Italiano
    • Deutsch
    • Español
    • Português
    • Nederlands
  • About Us
  • Terms of Service
  • Privacy Policy
  • Trademark
  • Do Not Sell or Share My Personal Info
  • Browse Products
  • Copyright © 2025 GoTo Group, Inc. All rights reserved

Collaboration Products

GoTo Connect

GoTo Meeting

GoTo Webinar

GoTo Training

join.me

Grasshopper

OpenVoice

Remote Solutions Products

GoTo Resolve

Rescue

GoToAssist

Access Products

Pro

Central

GoToMyPC