pkg installer background disappears in Mojave dark mode

Our product uses an installer/.pkg file for distribution. The pkg has a branded background image.


In Mojave Dark Mode, that background goes away and is replaced by the system default dark gray. I see this behavior in both our product and in the Python 3.7 installer (https://www.python.org/ftp/python/3.7.0/python-3.7.0-macosx10.9.pkg).


Anybody know of a workaround to restore the background image in Dark Mode? Is there a new/undocumented key for the XML file?

Replies

Hey, the key in the XML you're after is background-darkAqua, used in the same way you use the existing background key.

Where did you find this new key?

  • Thank you so much, working like a charm!

Add a Comment

Same here...

Following for a workaround.

I unpacked a pkg that had a working dark background and looked through the Distribution.xml as I couldn't find any actual documentation on it.

Does anyone know if there is a way to keep the installer package from using dark mode?