Installing an app vs OSX Launch Services

Ask a Question related to Mac Programming, Design and Development.

  1. #1

    Default Installing an app vs OSX Launch Services

    OK, here is a strange question. Suppose I have installed an application
    and I want to make sure that Launch Services knows about it? I am
    having a problem where I install an internet protocol helper application
    and IC can't find it when I register it. So I go looking at the LS APIs
    to see how I whack the system upside the head to tell it about a new
    application, and lo and behold, there are no Set routines for this sort
    of thing - only get routines! That is not very um helpful.

    So at this point I am contemplating various hacks such as:

    - Telling the Finder to open the application (pretty harmless)
    - Using the old DTDB routines (a bit risky)
    - Hacking the LS .plist (scary and dangerous)

    But i don't know (yet) whether any of these will work.

    I have also noticed that WMP does not register until you run it, so
    maybe this is a common problem? Anyone run into this? Anyone have a
    better solution?

    TIA,

    --

    - rmgw

    <http://www.trustedmedianetworks.com/>

    ----------------------------------------------------------------------------
    Richard Wesley Trusted Media Networks, Inc.

    "Ordinary people - I hate 'em. Ordinary person spends his life trying to
    get out of tense situations. Repo man spends his life trying to get /in/
    to tense situations." - Harry Dean Stanton, _Repo Man_
    Richard Wesley Guest

  2. Similar Questions and Discussions

    1. Help! CFMX7 stalls on installing at "Installing WebServer Connectors"
      I hope someone can help with this - I am currently doing an install (fresh = no other CF versions on server) on a small production server - the...
    2. Manually installing the ColdFusion MX ODBC 7 services
      Is it possible to manually install CFMX 7 ODBC services? I found how to on CFMX - but same approach does not work (at least for me) for the CFMX7.
    3. Installing standalone CF7 after installing JRun4
      I have installed JRun4 in developer mode. Subsequently I am attempting to install CF7 in "Multiserver configuration" but this option is dimmed out...
    4. Can't launch FH MX 11.0.2
      Hello, I haven't browsed all the threads to check somebody with the same issue of mine, but at now I have a machine in my local network with...
    5. Networking Services - services.msc
      Hi, I'd like to know which services are responsible for home networking. i.e. which services do I need to be running for others to have access...
  3. #2

    Default Re: Installing an app vs OSX Launch Services

    In article <hawkfish-F68EF7.15053519082003@tribune.sj.sys.us.xo.net>,
    Richard Wesley <hawkfish@trustedmedianetworks.com> wrote:
    > But i don't know (yet) whether any of these will work.
    >
    > I have also noticed that WMP does not register until you run it, so
    > maybe this is a common problem?
    Yes.
    > Anyone run into this? Anyone have a better solution?
    No. run and immediately quit it or instruct the user to logout and login
    again on case it is installed in /Applications or ~/Applications.

    B-(

    Regards,
    Thomas
    Thomas Engelmeier Guest

  4. #3

    Default Re: Installing an app vs OSX Launch Services

    In article <bhv97f$3hrtu$1@ID-2640.news.uni-berlin.de>,
    Thomas Engelmeier <aug03_nospam@engelmeier.com> wrote:
    > In article <hawkfish-F68EF7.15053519082003@tribune.sj.sys.us.xo.net>,
    > Richard Wesley <hawkfish@trustedmedianetworks.com> wrote:
    >
    > > But i don't know (yet) whether any of these will work.
    > >
    > > I have also noticed that WMP does not register until you run it, so
    > > maybe this is a common problem?
    >
    > Yes.
    >
    > > Anyone run into this? Anyone have a better solution?
    >
    > No. run and immediately quit it
    Great - thisis very low impact (it is just an AppleScript applet).
    > or instruct the user to logout and login
    > again on case it is installed in /Applications or ~/Applications.
    Nope. Which is just as well - the system is designed for complete
    idiots ;-)

    Many thanks.

    --

    - rmgw

    <http://www.trustedmedianetworks.com/>

    ----------------------------------------------------------------------------
    Richard Wesley Trusted Media Networks, Inc.

    "A little patience and a lot of tape!"
    - Danny DeVito, _Batman Returns_
    Richard Wesley Guest

  5. #4

    Default Re: Installing an app vs OSX Launch Services

    In article <BB6C5E4A9668DAB0F@10.0.1.2>,
    [email]slavins@hearsay.demon.co.uk[/email]@localhost (Simon Slavin) wrote:
    > In article <hawkfish-52877D.10020620082003@tribune.sj.sys.us.xo.net>,
    > Richard Wesley <hawkfish@trustedmedianetworks.com> wrote:
    >
    > >> If your app is bundled with an Info.plist,
    > >
    > >Nope (AppleScript applet).
    >
    > If you use Project Builder to compile your AppleScript then
    > you'll find that it does have an Info.plist. If you're
    > writing an AppleScript in Script Editor then it doesn't have
    > enought structure to be a fully-fledged application so it
    > can't be used as the target for a Launch Service anyway.
    >
    >
    Script Editor actually. And it is working just fine...

    --

    - rmgw

    <http://www.trustedmedianetworks.com/>

    ----------------------------------------------------------------------------
    Richard Wesley Trusted Media Networks, Inc.

    "No, no no. 'Eureka' is Greek: It means 'This bath is too hot.'"
    - The Doctor in "Dr. Who: The Talons of Weng-Chiang"
    Richard Wesley Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139