Creating a pkg file for the Mac

Posted on 2013-12-09
Last Modified: 2013-12-15
Hello Respected Experts,

Now that Apple's PackageMaker application doesn't work under Mavericks, is there a recommended method for making pkg files to submit to the App store? I don't use XCode for development (I use Embarcadero's FireMonkey), so I was wondering if it's possible to manually create a pkg file from the app folder created by FireMonkey. Although FireMonkey used to make the necessary pkg file, it is currently unable to do so due to changes in Mac's codesign application, so I'm left with attempting to manually codesign the app (which I can do using Apple's codesign application) and manually create the pkg file that is to be submitted to the App Store. How can I create the pkg file? What has taken the place of PackageMaker? I've done some extensive Googling of the issue and haven't found the answer. I'd appreciate any help. Thanks.
Question by:efz
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
LVL 22

Expert Comment

by:Sigurdur Armannsson
ID: 39708437
I am actually looking out for the same for a different purpose. It's unbelievable that there is no obvious answer.

Maybe you have bumped into these in your search:

MailPluginManager, which seems to be possible to use for more installs than mail plugins:

The Luggage:

Accepted Solution

efz earned 0 total points
ID: 39708510
Hello sigurarm,

I finally stumbled on an answer in Embarcadero's docwiki. Use the "productbuild" command. I located the information at this site:

When I tried it it worked and I was able to create a pkg file from the app folder/file that I had manually code signed using Apple's "codesign" command.

On to the next problem.
LVL 22

Expert Comment

by:Sigurdur Armannsson
ID: 39708558
But could you check out the URL you gave. It gives me 404. Thanks.

Found it:
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now


Author Comment

ID: 39708657
I apologize. Because the site was visited from one computer and the EE comment on another, I was unable to copy and paste the link and consequently I re-typed it incorrectly. The correct link is:

Sorry for the confusion. I originally found the link at Embarcardero's docwiki page:

There's a link near the bottom of the page labeled: "Building for the Mac app store"

I hope this works for you.
LVL 22

Expert Comment

by:Sigurdur Armannsson
ID: 39708692
Thanks. Found it.

What I currently do is to make the installers with PackageMaker on Lion.

Author Comment

ID: 39708780
PackageMaker will no longer work if you upgrade to Mavericks. At least that was my experience. In addition, the XCode5 and/or Mavericks upgrades prevented XE4 from properly code signing the resultant app folder/file which in turn prevented XE4 from creating the pkg file which is what started my quandry in the first place.
LVL 22

Expert Comment

by:Sigurdur Armannsson
ID: 39708828
Yes, I realize that the PackageMaker app stops working on Maverics but the pkg files work fine. In my case I am not making apps. I only need installers for distributing stuff like ICC color profiles, Hunspell dictionary, pdf job settings and more.
I can use Remote Desktop at work, but I do some teaching and I need installer files for such stuff because usually people are not much into putting according a path ~/L… they don't even try. Not to mention if they are supposed to right click to Show Content.

I am guessing that Apple wants regular installers to be made via Xcode and demand that they are signed and therefore not making updates for Packagemaker.

Author Closing Comment

ID: 39719708
I tried it personally and it worked. Not only did it create a pkg file, but I executed the pkg file and it correctly installed the subject application.

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question