• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: One Package, 2 platforms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One Package, 2 platforms


  • Subject: Re: One Package, 2 platforms
  • From: Greg Neagle <email@hidden>
  • Date: Wed, 28 Jan 2009 09:52:11 -0800

The second alternative is the way to go if we ever want to have uninstall capabilities in the future.
A generic uninstaller could use receipt info to figure out what to remove. A generic uninstaller could not "rewind" a post-install or post-upgrade script.


Alas, I think we may never see robust uninstall on OS X, because it would require changes from Apple _and_ from all package developers.

-Greg

On Jan 27, 2009, at 9:37 PM, Pradeep Kumar Udupi wrote:

Hi Jason

You can install the files in a temporary location and then move them to the
OS specific location using postinstall or postupgrade scripts. Of course in
this case the BOM will not contain the location where the files really end
up, but if that's not a problem then the above mentioned method should work.


Another alternative is to create 2 pkgs and then wrap them into a meta
package and have the OS based version check in the InstallationCheck script
that will block the installation of one pkg or the other depending on the OS
the mpkg is installed on.


--
Thanks
Pradeep





Hi All,

I want to create a package installer that works on both Tiger and
Leopard. My issue is that 10.4 and 10.5 keep system Python files in a
different location.

Is it possible to create an installer that can put files in a
different location depending upon platform version? I have tried and I
am not seeing what I can do.


Thoughts?

Thanks,

-Jason


_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: One Package, 2 platforms
      • From: Iceberg-Dev <email@hidden>
References: 
 >Re: One Package, 2 platforms (From: Pradeep Kumar Udupi <email@hidden>)

  • Prev by Date: RE: One Package, 2 platforms
  • Next by Date: Re: One Package, 2 platforms
  • Previous by thread: RE: One Package, 2 platforms
  • Next by thread: Re: One Package, 2 platforms
  • Index(es):
    • Date
    • Thread