Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-11742

Installer package is "damaged and cannot be reopened" on Mac OS X



      • Mac OS X requires binaries to be signed with a Developer ID certificate to run out of the box on mac os x. Without code signing, you should get a warning that the app isn't from the App Store or a registered Apple Developer.
      • This used not to be a problem as users were told how to fix it
      • Latest versions of Mac OS X report that the download is corrupted rather than blocked by developer id. This is an apple bug. Getting to them to fix it will be near impossible.

      Possible solution

      • We get a Developer ID certificate and sign our installer binary with it. This is easy to get - we have one for HipChat and we can generate another one.
      • Make code signing work
        1. We use the command line tool to resign each binary after install4j has packaged it (mac only). This would require us to package it manually as a DMG not preferred
        2. Upgrade to the latest install4j 5.x and use its built in code signing to sign the developer id certificate. This should work on all platforms and be automated preferred

        1. 56Installer.png
          84 kB
        2. 571installer.png
          66 kB
        3. BambooMACInstaller551.png
          134 kB
        4. mac-corrupted-download-workaround.zip
          1.81 MB
        5. upload.png
          52 kB

            Unassigned Unassigned
            jdumay James Dumay
            0 Vote for this issue
            7 Start watching this issue