• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: place a LaunchAgent on the filesystem, but prevent it from loading unless a boolean key is True
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: place a LaunchAgent on the filesystem, but prevent it from loading unless a boolean key is True


  • Subject: Re: place a LaunchAgent on the filesystem, but prevent it from loading unless a boolean key is True
  • From: Allen Hancock - Watchman Monitoring <email@hidden>
  • Date: Mon, 02 Dec 2013 06:40:19 -0600

Subscribers have a default choice which can be reflected in our custom installer.

Then there is a toggle in their private server interface which can toggle the menu for a specific group of machines.  Our agent checks periodically to see if the menu should remain visible or hide itself.

I'm looking for a way to ensure that if hidden, the menu item is truly quit.

I believe I have this worked out, however am still interested in hearing what you have to say on the matter.

Thank you as always.
-Allen Hancock

On Dec 2, 2013, at 4:12 AM, Stephane Sudre <email@hidden> wrote:

> When and how are the subscribers supposed to choose whether the menu
> item should be visible?
>
> On Sun, Dec 1, 2013 at 3:19 AM, Allen Hancock - Watchman Monitoring
> <email@hidden> wrote:
>>
>> We're preparing to release an option SupportMenu item, managed via
>> /Library/LaunchAgent.  It'll be enabled for a computer, or disabled, as our
>> Subscriber chooses.
>>
>>
>>
>> Im trying to figure … what's the less of all evils:
>>
>> - Distributing the LaunchAgent as Disabled, then having the postflight set
>> the Disabled key to False as required.
>>
>> or
>>
>> - omitting it from the BOM and having the postflight copy it into place as
>> required.
>>
>>
>> It's not the worst abuse of the "package, don't write" guideline, but still,
>> if I can avoid it, I'd like to.
>>
>>
>> Is there another option, outside of having two versions of the installer?
>>
>>
>> I suppose I could have the Menu Item look for a key, and launchctl unload
>> itself , but then the app opens for a moment at every login.. seems worst of
>> all these options….
>>
>>
>> Thanks in advance for any options I'm not seeing.
>>
>> --
>>
>> Allen Hancock - Watchman Monitoring - A consultant's best friend
>>
>> +1-408-352-6145
>>
>> Help articles at http://support.watchmanmonitoring.com
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Installer-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
>
> --
> Packaging Resources - http://s.sudre.free.fr/Packaging.html

--

Allen Hancock - Watchman Monitoring - A consultant's best friend

+1-408-352-6145

Help articles at http://support.watchmanmonitoring.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: place a LaunchAgent on the filesystem, but prevent it from loading unless a boolean key is True
      • From: Stephane Sudre <email@hidden>
References: 
 >Re: place a LaunchAgent on the filesystem, but prevent it from loading unless a boolean key is True (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: place a LaunchAgent on the filesystem, but prevent it from loading unless a boolean key is True
  • Next by Date: Re: place a LaunchAgent on the filesystem, but prevent it from loading unless a boolean key is True
  • Previous by thread: Re: place a LaunchAgent on the filesystem, but prevent it from loading unless a boolean key is True
  • Next by thread: Re: place a LaunchAgent on the filesystem, but prevent it from loading unless a boolean key is True
  • Index(es):
    • Date
    • Thread