Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-16 Support for creating redistributable installer packages
  3. QBS-416

Add support for building macOS disk image installers (drag and drop)

    XMLWordPrintable

Details

    • e675eda3d40bb0e17f10b410e1ccdbbd12d063c9

    Description

      This will require support for writing binary data so QBS can handle the (quite difficult) task of writing the appropriate .DS_Store file to the dmg instead of requiring users to provide one themselves (though this should still be an option). The former option is most preferable because storing a pre-made .DS_Store binary blob is difficult to tweak and attempting to run AppleScript at runtime to generate one is potentially unstable and is awkward to make reusable. That approach also results in backwards compatibility issues since .DS_Store files generated on newer systems may not work on older ones.

      There are a number of third party resources (including a Perl module) we can reference for knowledge of the file format and build process:

      For some reason, `hdiutil makehybrid` causes my DVD drive to emit a strange noise. Disabling related kexts silences it I'd love a better solution if anyone else happens to know.

      sudo kextunload /System/Library/Extensions/IOSCSIArchitectureModelFamily.kext/Contents/PlugIns/IOSCSIMultimediaCommandsDevice.kext 
      sudo kextunload /System/Library/Extensions/IOBDStorageFamily.kext 
      sudo kextunload /System/Library/Extensions/IODVDStorageFamily.kext 
      sudo kextunload /System/Library/Extensions/IOCDStorageFamily.kext 
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QBS-416
          # Subject Branch Project Status CR V

          Activity

            People

              jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
              jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes