The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Differences .app and .pkg implementations

    Discussion in 'Apple and Mac OS X' started by NCarlson, Jun 15, 2010.

  1. NCarlson

    NCarlson Notebook Enthusiast

    Reputations:
    0
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    5
    From my research and general inquisitiveness, I've attained a satisfactory level of knowledge about Mac hardware and OS X, without ever having owned a single Apple product. :D I consider my position on the the raging "Mac vs PC" issue to be "indifferent". I do use Windows-based platforms, but I am seriously interested in investing in a Mac in the near future.

    That being said, the first notable feature I noticed in OS X is the package-based way of installing applications. It's so delightful to have an entire application system nicely encapsulated in a convenient .app file. To install, copy the app file to the system, to delete, just delete the .app file. That's very simple, of course not taking in account left over plist files, and other whatnot.

    My experience with .pkg installers is a different story, however. What I want to know is, what actually happens when installing an application the more "traditional" way with a .pkg file? My experience is that I have little or no control over where the pkg installs the application; I can only choose which drive it goes in. I get suspicious; what else happens in this "installation" process? Are a bunch of potentially wicked or destructive scripts or commands executed which could possibly alter the operating system? Can secret directories be created in various random places? I would like to obtain any technical information about the actual limitations of a pkg installer and what damage it could do if allowed. Am I correct that I have to run an uninstaller to delete a .pkg-installed application? Or is it safe to delete these kind of programs by the normal operation of dragging them to the trash?

    Thank you very much for any information.
     
  2. doh123

    doh123 Without ME its just AWESO

    Reputations:
    996
    Messages:
    3,727
    Likes Received:
    1
    Trophy Points:
    106
    pkg installers are designed a specific way from the maker... you do not have options unless they give them to you. They can do anything... so yes you have to be careful, and trust the sources you get things from.

    Wether its safe to delete or needs an uninstaller depends on the installer and how it was made and what it does... some you do, some you don't.
     
  3. NCarlson

    NCarlson Notebook Enthusiast

    Reputations:
    0
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    5
    All right, I was afraid of that.

    Thanks for the information.
     
  4. hydralisks

    hydralisks Notebook Consultant

    Reputations:
    4
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    30
    Sorry if this is a dumb question... but what exactly does it mean if I have an app crossed out in the app folder... like a circle with a slash through it

    I tried dragging the TransmissionBT app into my app folder but it has that cross mark over it
     
  5. doh123

    doh123 Without ME its just AWESO

    Reputations:
    996
    Messages:
    3,727
    Likes Received:
    1
    Trophy Points:
    106
    just means there is something wrong with it... some of the files inside could be missing... or anything else.
     
  6. TheKeyMaker

    TheKeyMaker Newbie

    Reputations:
    0
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
    Mine does that when I download files and drag an app into the folder. It reminds me that I downloaded something from the internet and should only trust it if I know that it's from a trusted source, yadda yadda yadda. The icon goes back to normal once I run it once. That might be what it is.
     
  7. Seshan

    Seshan Rawrrr!

    Reputations:
    540
    Messages:
    1,989
    Likes Received:
    0
    Trophy Points:
    55
    Also, Stuff like packages would be what COULD contain a virus or a keylogger, So if it asks for your password and you think it shouldn't or it's not from a trusted source, be careful.