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

  • SEARCH
  • Home
  • 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 403695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:14:25+00:00 2026-05-12T17:14:25+00:00

My installer places a file into /Library/Application Support/AppName. As a final step of the

  • 0

My installer places a file into /Library/Application Support/AppName. As a final step of the install process in a custom installer plugin (Objective-C code) I check for a more recent version of that file. If it exists, I download it and then attempt to overwrite the one created by the installer. The issue is that I apparently don’t have permission to overwrite. Shouldn’t the installer plugin that is part of the installer have permission to overwrite that file since the user was prompted for an admin password already?

Any ideas on how I can write to the /Library/Application Support/AppName directory from my installer plugin?

  • 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-05-12T17:14:25+00:00Added an answer on May 12, 2026 at 5:14 pm

    I believe that Installer actually uses a privileged helper tool to do the installation. The Installer app itself doesn’t get admin privileges, which is why your plug-in doesn’t have admin privileges.

    The Apple docs explain one way to handle a privileged installation, although the BetterAuthorizationSample code is the “best” way to do it.

    Unfortunately, handling privileged operations is quite tricky and you should study and understand the sample code and the Authorization Services documentation before implementing anything.

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

Sidebar

Related Questions

Our installer generates a bootstrapper (setup.exe) and a MSI file - a pretty common
I have my own installer program which I use to install several applications I
Driver Package Installer (DPInst) with the /s (silent) flag fails to install a signed
To provide application updates in Windows, we can simply download the installer and run
I am in the process of converting a static website into one using a
I have created an application that exposes a OSX service for certain file by
How the .apk installation process works on device? Is the .apk file just copied
I wrote a tool that looks in several places for an INI config file:
I am trying to use Rawr to turn a simple 3-file Ruby project into
I've been trying for a weekend now to install my application via ad-hoc means

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.