Home > Mac administration, Mac OS X > Downloading Microsoft’s Remote Desktop installer package from the App Store

Downloading Microsoft’s Remote Desktop installer package from the App Store

Microsoft recently released a new version of its Remote Desktop application, which is used to connect from a Mac to a Windows-based computer and work with programs and files on that PC. Like previous versions of the Remote Desktop application, it’s a free application but the new Remote Desktop application is only available via the Mac App Store and doesn’t currently have a separate installer available for download.

However, if you have already added Remote Desktop to your list of App Store applications, it is possible to get a copy of the Remote Desktop installer from the Mac App Store using a process I’ve previously documented. See below the jump for details.

To install Remote Desktop, the Mac App Store will download an installer package from Apple, install Remote Desktop, then delete the installer package as part of the post-installation clean-up. However, it is possible to make the App Store leave behind a copy.

1. Go to a machine that does not have Remote Desktop installed.

2. If it is open, quit out the App Store application

3. Open Terminal and run the following command:

defaults write com.apple.appstore ShowDebugMenu -bool true

Screen Shot 2013-10-18 at 11.56.53 PM

4. Launch the App Store application. It should now have a Debug menu showing.

5. If needed, sign into the App Store and go to Purchases. From there, find Microsoft Remote Desktop.

Screen Shot 2013-10-18 at 11.39.16 PM

6. Begin the installation process, then click the Pause button to pause the download.

Screen Shot 2013-10-18 at 11.40.42 PM

7. Under the Debug menu, select Show Download Folder…

Screen Shot 2013-08-22 at 11.14.52 AM

At this point, you should see a folder inside the displayed folder. In that directory, you’ll see a package with a long randomized name. That will be the Remote Desktop installer.

Screen Shot 2013-10-18 at 11.52.59 PM

8. In Terminal, run the following command:

ln /path/to/package_from_mac_app_store_name_here.pkg /path/to/name_you_want_to_save_package_as_here.pkg

Screen Shot 2013-10-18 at 11.52.55 PM

Using the ln command will set up a hard link to the downloaded installer package. This will create name_you_want_to_save_package_as_here.pkg in the location specified, which is then linked to the contents of package_from_mac_app_store_name_here.pkg. The reason to do this is that the hard-linked name_you_want_to_save_package_as_here.pkg will not be deleted when the App Store deletes package_from_mac_app_store_name_here.pkg as part of the post-installation cleanup.

9. Go back to the App Store and click the Resume button to have the installation complete.

Screen Shot 2013-10-18 at 11.40.46 PM

10. Once the installation finishes, name_you_want_to_save_package_as_here.pkg will be available as a signed Remote Desktop installer package. From there, you can use it on its own or as part of a deployment workflow.

Screen Shot 2013-10-18 at 11.35.44 PM

Screen Shot 2013-10-18 at 11.35.49 PM

When Remote Desktop is installed using the downloaded installer, there will not be a _MASReceipt from the App Store included as part of the application.

Screen Shot 2013-10-19 at 12.03.26 AM

  1. October 19, 2013 at 9:03 am

    Have you found a way to control preferences, include a remote server adress for example?

  2. Ben Toms
    October 19, 2013 at 5:38 pm

    Thanks Rich. I have a use case for this, so will have a nose @ defining servers.

  3. Ben Toms
    October 21, 2013 at 10:52 am

    Had a little fun following the above as we use partition our drives & then use FSTAB to mount the Users HD partition to /Users.

    I needed to make sure that the ln paths were on the same partition, something i’ll post about laters perhaps.

  4. Ben Toms
    October 21, 2013 at 11:12 am

    Fun fun fun.. looks like the plists are located in ~/Library/Containers/com.microsoft.rdc.mac/Data/Library/Preferences & each connection is referenced by it’s own UID.. might be easier to script than it appears but so far looks a little awkward.

  5. Mike
    October 21, 2013 at 4:43 pm

    @rtrouton, do you know if this process works with any app you download from the Mac App Store or with just certain applications? Does it make a difference if the app is a free versus paid app?

  6. October 21, 2013 at 7:51 pm

    Brilliant. Worked like a charm. Thank you.

  7. Tinsun
    October 24, 2013 at 10:58 am

    Thank you, worked like a charm. I suppose this doesn’t add the Apple ID of the downloader into the app either?

  8. Tinsun
    October 25, 2013 at 9:22 am

    Also, what will the user see when an update comes out? Will it be visible as an update in AppStore, and if so, will the (admin) user be able to download that update, and if so: will it break? 🙂

  9. PE
    October 29, 2013 at 11:27 am

    That pause function is not working at all its stops but after a few seconds it download again any idea?

  10. Sean
    November 1, 2013 at 3:35 pm

    Did Apple pull this optional menu with the GM release build? I’m not seeing that this command still works:

    defaults write com.apple.appstore ShowDebugMenu -bool true

  11. ernstcs
    November 25, 2013 at 11:29 pm

    This seems to work fine for the MS Remote Desktop app specifically, but I wanted to see if I could use this for the new iLife and iWork apps (which we had a site agreement for) and although you can capture and deploy the Apps just fine, the App Store says there are Updates available for these Apps even though they are the same version. The Microsoft App isn’t showing this behavior so there must be something special with these Apple apps. You can’t just use any Apple ID to run the update to clear it, the App Store is obviously looking for an account that shows valid purchase.

    For me this may be a case of using the previous method of just packing up the App bundle once installed and deleting the _MASReceipt directory.

    As for the question about the command still work for defaults. Yes, that should still work.

  12. Jayson
    December 3, 2013 at 9:30 pm

    I downloaded the PKG for Apple Remote Desktop 3.7 using this method and installed it on a clean system, then verified that the application functioned correctly.

    Today, the Mac App Store notified me that Apple Remote Desktop 3.7.1 was available to download.

    I downloaded the PKG for Apple Remote Desktop 3.7.1 on a second machine, then copied it to the first machine to see if I could run it to perform the upgrade.

    Installer gave me an error stating that Apple Remote Desktop was already installed and that I needed to run Software Update.

    So I ran the update directly from the Mac App Store, which completed successfully despite the fact that I never signed in using an Apple ID.

    However when launching the application, it prompted me to enter a serial number for the product… appearing as if it were the trial version.

    This behavior when upgrading via the Mac App Store may be unique to Apple’s applications that at one point offered a trial version or otherwise required a license key, but I have not yet had the opportunity to try this with any third-party applications.

    However, I suspect that the behavior of not being able to upgrade a PKG install with another PKG install may be the same across the board.

    FYI… This method does NOT work with GarageBand, though I have not exactly figured out why. I suspect it has something to do with a post install process that affects the /Library/Application Support directory.

  13. chuck3000
    May 9, 2016 at 9:42 pm

    Wondering about small apps? I tried to use this script but by the time the App downloads and installs, the script doesn’t catch it. (gradient app)

  14. Cheryl
    January 31, 2017 at 7:16 pm

    Thank you for sharing this wealth of knowledge. The process worked perfectly with xCode 8.2.1

  15. lukasz
    April 5, 2017 at 9:20 am

    Hallo, with Sierra 10.12.4 I got this message from the Terminal

    * cp: /Users/Shared/AppStore_Packages/encrypted4078306497665359174.pkg.plist: Permission denied *

    is there any fix?


    • ernstcs
      April 5, 2017 at 1:35 pm

      Even as root? Wonder if SIP has to be disabled otherwise. I haven’t tried this trick in Sierra yet.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: