Re: How to customize PKG branding - fonts, background colors, and logos?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7/yd5EvLRRdznU1yzXBQfHTpRo2jNtyCGDtWU5BGbko=; b=p68mzPyGkKXOwgKenaGir/76FUtd9VECH0YOIjd/GOnJyCU/YTIqcFzV4ddrLvFFuT Lyjj59qoBjZBTJ1w5EtPvJOR8ALxRUZRcH6VujBIOQ3DK8oUPNDHCQ3MH0QEn3G+al5v Xii55hTqERRMiSXhtxAwKWh83VmVs/4HHGwpdQ7zE3opHMzt/1aMgXPucVvutDWeBPX6 vLk78w6mFnZnvz8kYw/aFCpgV6f50LTHT7byCU02yeiKNchuumWGh8tHfc8Yx2VifP/q CXUmzBxZUNOsmgJ5DsgGZOOUtgh24x6wAR19MVdXNf8R/xsCCJ7kUabGqObRloD82v0u lnkA== On Thu, Jun 24, 2021 at 10:16 PM Manavendra Thakur via Installer-dev <installer-dev@lists.apple.com> wrote:
Hello.
I just joined this mailing list - first post.
I’m writing to ask: Is it possible to customize a PKG file to display a particular branding — fonts, colors, logos — when Installer.app opens the PKG file and displays it to users?
Specifically:
How to change the PKG file’s default icon (i.e. the ubiquitous yellow-orange “Open Box Pkg” icon) to, say, an app logo icon, to be shown as a preview in Finder when the user selects the PKG file?
Copy and paste the icon using the Info window of the Finder. Or use a product such as CandyBar from Panic (https://panic.com/blog/candybar-mountain-lion-and-beyond/) which will let you set a full icns icon. Since you will be using a custom icon for a raw pkg file, you will need to distribute your pkg inside a zip archive or a disk image so that the custom icon and extended attributes do not vanish during a file transfer through http for instance.
How to change the background color of the installer window, e.g. set it to all black or show a custom color, anything other than the default white?
You can use a small background image of the appropriate color and set the image to fill the background. Just in case, using a custom background image requires to use a .pkg distribution instead of a raw .pkg package.
How to change the font of all text displayed while the PKG file is open? This would include the title bar (“Install App Name”), list of steps in the left side (“Introduction”, “License”, etc), as well as the headings (“Welcome to the App Name Installer”, etc).
Short answer: you can not do that and you should not even think about it. Long answer: you could only do that through a hack and it would probably only work on some old macOS, OS X, and Mac OS X versions.
Would writing an installer plugin make any of the above easier, or even possible?
See the previous short and long answers.
The goal here is to customize the Mac PKG file and Installer.app interaction to look and feel (i.e. in terms of colors, fonts, and logos) similar to the same app’s Windows MSI look and feel. I.e., this is a branding question, to help ensure consistency (to the extent possible) of the app’s brand across platforms.
It's not a good idea to use custom fonts and texts instead of the ones defined by Apple for an Apple platform, I don't believe anyone using a Mac will complain if your installer looks like a Mac installer instead of a Windows one. When in Rome, do as the Romans do. My 0.02 sesterce. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre via Installer-dev