[haiku-development] Re: Missing a writable apps directory.

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 21 Oct 2013 18:13:59 +0200

Am 21/10/2013 17:46, schrieb Jim Saxton:
This will NOT be in an hpkg.

You asked for the proper way, and the proper way is a hpkg from now on.

It is self contained. Yes it is written in yab, but then compiled into
an executable binary. There is no need for yab to be installed. I wish
to make a distribution zip with an installer that will work on r1a4,
and recent nightlys, the missing apps directory is the only issue
stopping me.

No, that's not what's stopping you. If it is a self-contained zip, it should be just that: a single directory "your-app" containing all of your application. You should not dictate the user where to install this stuff, or else it doesn't make any sense to have a zip in the first place.

If you actually want to properly install a package, but for whatever reason don't want to use a hpkg, you should use the old BeOS package format. There, you specify the target directories using find_directory() constants.

While PackageInstaller currently fails to install those packages, this is just a bug that has to be fixed.

Fixed directory zips were never a good idea, and just won't work.

Bye,
   Axel.


Other related posts: