Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8016615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:35:17+00:00 2026-06-04T20:35:17+00:00

I have one Mac Desktop Cocoa based application which i have signed succesfully by

  • 0

I have one Mac Desktop Cocoa based application which i have signed succesfully by mac Certificates.

To generate .pkg installer file i am using the following command:

productbuild –component ‘App.app’ /Applications –sign ‘3rd Party Mac
Developer Installer: Some Name’ App.pkg

which generates .pkg file succesfully with proper signing. No complaints about it.

But now i want to include some precheck installation scripts in that .pkg which can perform some validations on user’s system prioir to installation. How to do it once i have my pkg generated already?
I can easily include such scripts in the package through Package Maker but then how to sign .pkg  file with Installer Certificate. As this process does not signs my pkg file and hence unacceptable to upload to AppStore

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:35:18+00:00Added an answer on June 4, 2026 at 8:35 pm

    First, I’m not sure you’re allowed to include such scripts in an App Store package in the first place.

    But if you are, the manpage for productbuild explains how to generate a package from a custom Distribution file by using the –distribution option instead of –component. And, if you don’t know how to write a Distribution file, you can look at the ones inside any package (just “xar xf App.pkg” to extract the contents, and Distribution will be at the top level) and/or use productbuild with the –synthesize option.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Cocoa, Document-based Mac OS X application. One feature that I have
Perhaps I'm going crazy here, but I have a desktop mac application which, in
I am new in mac os. I have one Mac book pro. I am
I have one database table which contains 8 columns. One of the columns is
If you've used a Mac desktop machine, one of the first things you'll notice
I have a .txt file on my Desktop called URLs.txt that contains a list
Our desktop application needs to run on Mac, Windows and Linux. That's why we
Our Mac desktop application embeds WebView component from WebKit framework. Inside WebView we host
I have one Server Mac OSX and have 5 windows PC's in my team.
I'm using a Mac, OSX 10.6 and I have a function in a desktop

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.