ripeda / macOS-Pkg-Builder

Python module for creating macOS packages easily
BSD 3-Clause "New" or "Revised" License
14 stars 0 forks source link

Send messages while install proccess #2

Open GameBoyNoob opened 2 months ago

GameBoyNoob commented 2 months ago

Hi thank you for responding in my previous issue but while installation (my use case is just bunch of scripts installing software) after some time install screen looks like this

Screenshot 2024-08-15 at 15 31 21

but is there way to send messages in installer like Installing X... that can be managed by me cause installer looks "frozen" is there way how to deal with it? Thanks.

GameBoyNoob commented 2 months ago

Also there is option pkg_allow_relocation how can be it disabled. False parametr crashes building thanks.

khronokernel commented 2 months ago

Hi, to answer:

  1. No way to configure what macOS' Installer UI displays
  2. Could you provide a crash log?

Testing locally here, I'm able to set pkg_allow_relocation to false without it crashing.

However something to keep in mind is pkgutil's BundleIsRelocatable is only configurable if there is a valid bundle inside the PKG (ex. .app, .framework., .bundle, etc). This is what the pkg_allow_relocation option configures. Will update the documentation to include this note.