exactly those places that you mentioned.
Problem is that lsbom listing only shows where the package content is (relative to the package) so if I, for example, am making a package com.bla... (this is using the PackageMaker 3.0) and i have two items to be installed:
someapp.app (destination: /Applications/)
and
somefiles (destination: /Library/Application Support/somefiles/)
the resulting .bom files (two in this case com.bla.someapp.... and com.bla.somefiles...) both list the contents as:
./someapp.app
./someapp.app/Contents ....etc.
and
./somefiles/
./somefiles/file1 ... etc
nowhere does it give the actuall (absolute) path (such as /Applications/someapp.app/)
so if the user chooses the install location (other than default) then there's no way to know where they were actually installed.
the only solution I had so far is to make a package that has ALL paths already build in.... i.e. I made a directory with the structure resembling the file system:
myFakeDirectory/Applications/someapp.app.... etc
myFakeDirectory/Library/Application Support/somfiles.... etc
and then made package by including the contents of the myFakeDirectory and setting destination to /
now the lsbom on the resulting .bom after install actually shows:
./Applications
./Applications/someapp.app.... etc
./Library/Application Support/somefiles/.... etc
BUT doing it this way I still can't let the user choose different install locations because the lsbom on the created .bom file would still be showing the same paths...
Basically, so far the resulting .bom file(s) after install ALWAYS show the same paths (even if I changed the install locations during the installation)
So back to the question, is there a way to auto generate (or get at) the real install locations without having to manually generate the .bom with the right paths after the install?
I might be going in circles a bit on the questions 🙂... the point of all this is to have something "automaticly" generated after the install, so that there is some listing (sort of a log) that can be used for some UNinstaller for removing the installed files later.
oh and by "some UNinstaller" i mean anything, even if it is me looking at the listing and removing files by hand.
Message was edited by: danchiK