Solved

Creating a pkg file for the Mac

Posted on 2013-12-09
8
1,365 Views
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.
0
Comment
Question by:efz
[X]
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
8 Comments
 
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:
https://github.com/lksoft/MailPluginManager

The Luggage:
http://www.macenterprise.org/articles/theluggage
https://github.com/unixorn/luggage/wiki
http://grahamgilbert.com/blog/2013/08/09/the-luggage-an-introduction/
0
 

Accepted Solution

by:
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:

http://kuvacode.com/francis/building-for-the-mac-store/

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.
0
 
LVL 22

Expert Comment

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

Found it: http://kuvacode.com/francis/building-for-the-mac-app-store/
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

Author Comment

by:efz
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:

http://kuvacode.com/francis/building-for-the-mac-app-store/

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

http://docwiki.embarcadero.com/RADStudio/XE4/en/Mac_OS_X_Application_Development

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

I hope this works for you.
0
 
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.
0
 

Author Comment

by:efz
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.
0
 
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.
0
 

Author Closing Comment

by:efz
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.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
A lot of new and distinct gadgets are making their appearance every other day. The latest gadget that has wooed the attention of all gadget lovers and non gadget lovers alike is the Smartwatch. This tiny gadget is capable of offering live access to …
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 …

756 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