PackageMaker Problem

  • I have two packages which are related, but not the same problem. A
    server component and a client component. I have configured the
    packages to use different package identifiers however as soon as I
    install one package any previous installation of the related package
    is removed. It seems like the Installer is finding the related package
    and considers the install to be an upgrade and removes any previously
    installed files. The result is that I can only have one or the other
    package installed at any point in time.

    Looking in the installer Log shows:

    Jan 18 02:10:04 Wolf Installer[944]: Address Book Server Client
    Installation Log
    Jan 18 02:10:04 Wolf Installer[944]: Opened from: /Users/alex/Desktop/
    ABS/Address Book Client.mpkg
    Jan 18 02:10:04 Wolf installdb[946]: started (uid 96)
    Jan 18 02:10:04 Wolf installdb[946]: Opened receipt database on '/'
    with schema 17.
    Jan 18 02:10:04 Wolf Installer[944]: Found receipt (name match) for
    (package / com.addressbookserver.AddressBookClient): (package /
    com.addressbookserver.AddressBookServer)
    Jan 18 02:10:10 Wolf installdb[946]: done. (0.004u + 0.003s)
    Jan 18 02:10:14 Wolf runner[947]: Administrator authorization granted.
    Jan 18 02:10:14 Wolf Installer[944]:
    =
    =
    =
    =
    =
    =
    =
    =
    ========================================================================
    Jan 18 02:10:14 Wolf Installer[944]: User picked Standard Install
    Jan 18 02:10:14 Wolf Installer[944]: Choices selected for installation:
    Jan 18 02:10:14 Wolf Installer[944]:     Upgrade: "Address Book Server
    Client "
    Jan 18 02:10:14 Wolf Installer[944]:     Upgrade: "Address Book Server
    Client "
    Jan 18 02:10:14 Wolf Installer[944]:         package.pkg :
    com.addressbookserver.AddressBookClient : 0.12
    Jan 18 02:10:14 Wolf Installer[944]:
    =
    =
    =
    =
    =
    =
    =
    =
    ========================================================================
    Jan 18 02:10:14 Wolf Installer[944]: It took 0.00 seconds to summarize
    the package selections.

    and when I install the server again :

    Jan 18 02:21:35 Wolf Installer[1089]: Address Book Server Installation
    Log
    Jan 18 02:21:35 Wolf Installer[1089]: Opened from: /Users/alex/Desktop/
    ABS/Address Book Server.mpkg
    Jan 18 02:21:35 Wolf installdb[1091]: started (uid 96)
    Jan 18 02:21:35 Wolf installdb[1091]: Opened receipt database on '/'
    with schema 17.
    Jan 18 02:21:36 Wolf Installer[1089]: Found receipt (name match) for
    (package / com.addressbookserver.AddressBookServer): (package /
    com.addressbookserver.AddressBookClient)
    Jan 18 02:21:41 Wolf runner[1092]: Administrator authorization granted.
    Jan 18 02:21:41 Wolf Installer[1089]:
    =
    =
    =
    =
    =
    =
    =
    =
    ========================================================================
    Jan 18 02:21:41 Wolf Installer[1089]: User picked Standard Install
    Jan 18 02:21:41 Wolf Installer[1089]: Choices selected for installation:
    Jan 18 02:21:41 Wolf Installer[1089]:     Upgrade: "Address Book Server"
    Jan 18 02:21:41 Wolf Installer[1089]:     Upgrade: "Address Book Server"
    Jan 18 02:21:41 Wolf Installer[1089]:         package.pkg :
    com.addressbookserver.AddressBookServer : 0.12
    Jan 18 02:21:41 Wolf Installer[1089]:
    =
    =
    =
    =
    =
    =
    =
    =
    ========================================================================

    The documentation mentions that the package identifier should be
    unique however it still seems to be able to construct a match for it.

    Any suggestion on what I need to configure for both packages to be
    installed at the same time.

    Kind regards
    Alex
  • On Feb 21, 2008, at 23:18, Alexander Hartner wrote:

    > I have two packages which are related, but not the same problem. A
    > server component and a client component. I have configured the
    > packages to use different package identifiers however as soon as I
    > install one package any previous installation of the related
    > package is removed. It seems like the Installer is finding the
    > related package and considers the install to be an upgrade and
    > removes any previously installed files. The result is that I can
    > only have one or the other package installed at any point in time.
    >
    > Looking in the installer Log shows:

    [snip]

    >
    > Jan 18 02:10:14 Wolf Installer[944]:         package.pkg :
    > com.addressbookserver.AddressBookClient : 0.12

    [snip]

    > Jan 18 02:21:41 Wolf Installer[1089]:         package.pkg :
    > com.addressbookserver.AddressBookServer : 0.12
    >

    [snip]

    > The documentation mentions that the package identifier should be
    > unique however it still seems to be able to construct a match for it.
    >
    > Any suggestion on what I need to configure for both packages to be
    > installed at the same time.

    Both your packages are named "package.pkg". When you install one, it
    deletes the other :-)

    You need both unique package identifier and package name, or the
    package will remove the other one when installing.

    You better ask about installer issues in the installer-dev list:
    http://lists.apple.com/mailman/options/installer-dev/

    Best Regards,

    Nir Soffer
previous month february 2008 next month
MTWTFSS
        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    
Go to today
MindNode
MindNode offered a free license !