Matt Hovey
Matt Hovey

Reputation: 85

How to make install4j sign the Mac launcher app?

Using install4j 7.0.3 (latest version) to generate dmg, installer, and launcher, I can validate that the dmg and the installer app are being signed with my Mac Developer ID, but the launcher app (the app that gets installed in the /Applications folder) does not get signed. I can't find an option to turn this on in install4j, as indicated in an answer to this question in a previous version of install4j back in 2013 How do I make Install4j sign everything?).

After downloading and installing my app, testing its signature give the following result:

$ codesign -dv /Applications/MyApp.app
/Applications/MyApp.app: code object is not signed at all

How do I make install4j sign the launcher app that it generates?

Upvotes: 2

Views: 172

Answers (1)

Ingo Kegel
Ingo Kegel

Reputation: 48015

The single bundle installer media file type produces a signed installer, but the contents of the installation depend on numerous factors in the installer, so the installed bundle cannot be signed.

You can either use the single bundle archive media file type or the folder installer media type instead if you need signed launcher bundles.

Upvotes: 1

Related Questions