Create alias to current user's desktop in PackageBuilder

Discussion in 'Mac Programming' started by albebaubles, Mar 26, 2010.

  1. albebaubles macrumors regular

    albebaubles

    Joined:
    Feb 9, 2010
    Location:
    Desert Southwest
    #1
    Hi all,

    I'm using package builder for my application. At the completion of the install I'd like to add an action that adds the application to the current user's desktop -- but I cannot for the life of me figure out how to reference that within package builder?

    Any ideas?

    FIXED. Use:

    $HOME/Desktop
     
  2. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #2
    The Desktop is not an appropriate place for an application.
     
  3. albebaubles thread starter macrumors regular

    albebaubles

    Joined:
    Feb 9, 2010
    Location:
    Desert Southwest
    #3

    Meant an alias to the app.
     
  4. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #4
    At least ask your victim if they want that there. ;)
     
  5. RaceTripper macrumors 68030

    Joined:
    May 29, 2007
    #5
    Please don't dump stuff on the desktop without confirmation from the user.

    That's one of the things I hated about WIndows. Every damn installer wanted to put crap on the desktop. The decent ones asked first. Many didn't. I'm glad it's not the Mac way of doing things.

    The appropriate place for an app installer to put an app alias is in the Dock (although I don't like having that happen unannounced either).
     
  6. albebaubles thread starter macrumors regular

    albebaubles

    Joined:
    Feb 9, 2010
    Location:
    Desert Southwest
    #6
    Calm down, folks -- it's a corporate requirement for a kiosk-type application. This thing breaks all the rules.
     
  7. RaceTripper macrumors 68030

    Joined:
    May 29, 2007
    #7
    Ah...one of those! :eek:
     
  8. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #8
    albebaubles, you get to do corporate development for OS X? Cool!
     

Share This Page