HISE Logo Forum
    • Categories
    • Register
    • Login

    Shoutout: DMGCanvas

    Scheduled Pinned Locked Moved General Questions
    17 Posts 8 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • oskarshO
      oskarsh @d.healey
      last edited by

      @d-healey A DMG file is more like a USB Stick where you need to drag over the app to your applications folder. It is very easy and simple but AFAIK it only supports installing to the /Applications folder and not a custom directory like /Library/Audio/Plug-Ins/...

      a .pkg is a pack of files with instructions where every file should be placed on the system with additional steps.

      The nicer UX is the DMG installer but it only works for standalone apps.

      Matt_SFM 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @d.healey
        last edited by

        @d-healey pkg is a self contained installer that you can build with Whitebox Packages (or some other tool, but here we're all using Packages)

        .dmg is a virtual disk image that can be mounted and is an alternative way to ship installers. You could also wrap a .pkg into a .dmg. The important thing is that .dmg images can also be notarized, so you don't need to use .pkg anymore.

        This was the last missing piece to get a nice installation UX on macOS for me.

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @Christoph Hart
          last edited by

          AFAIK it only supports installing to the /Applications folder and not a custom directory like /Library/Audio/Plug-Ins/...

          Yes this is the case if you only use DMG, but you can combine it with the multipage creator installer to implement any functionality you need:

          • copy plugin to the plugin folder
          • copy additional files to the AppData
          • extract HLAC archives
          • write the LinkOSX file
          • download sample content
          • run the activation procedure of the ScriptUnlocker
          1 Reply Last reply Reply Quote 0
          • Matt_SFM
            Matt_SF @oskarsh
            last edited by

            @oskarsh @d-healey not quite. The DMG format is named 'disk image'. See it like a virtual external drive, but it's basically a good-looking container. It can contain anything, applications that can be dragged into the App folder indeed, but any kind of files including PKG installers.

            Develop branch
            Win10 & VS17 / Ventura & Xcode 14. 3

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @Matt_SF
              last edited by

              @Matt_SF said in Shoutout: DMGCanvas:

              @oskarsh @d-healey not quite. The DMG format is named 'disk image'. See it like a virtual external drive, but it's basically a good-looking container. It can contain anything, applications that can be dragged into the App folder indeed, but any kind of files including PKG installers.

              ..so @Christoph-Hart can you explain to me why I wouldn't just zip up my pkg, someone somewhere needs to be notartized and code-signed - how is this thing helping with that process (given I can attach my cert to Packages and it does that bit automatically for me...)???

              HISE Development for hire.
              www.channelrobot.com

              d.healeyD Christoph HartC 2 Replies Last reply Reply Quote 0
              • d.healeyD
                d.healey @Lindon
                last edited by

                @Lindon why would you ever zip the pkg?

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @Lindon
                  last edited by

                  @Lindon I've found a few shortcomings of the Package solution:

                  • you cannot write to the user and global domain at the same time
                  • you cannot create a link file unless you use a script that works in 80% of all cases
                  • you still need to manually notarize the pkg using the command line. You can attach a certificate, but this won't notarize it

                  The DMG image will manage all the signing stuff that Apple throws at you and for the installation UX you are now completely free to do whatever you like with the multipage creator.

                  If the Packages solution works for you, then keep using it - there's no need to change a running system, but I found myself always coming back to hacking around for every project I did, so this is why I'm trying to create a solution for installers that are particularly tailored for HISE projects and DMG Canvas plays a big role here on the macOS side for this.

                  LindonL Christoph HartC 2 Replies Last reply Reply Quote 0
                  • LindonL
                    Lindon @Christoph Hart
                    last edited by

                    @Christoph-Hart said in Shoutout: DMGCanvas:

                    @Lindon I've found a few shortcomings of the Package solution:

                    • you cannot write to the user and global domain at the same time
                    • you cannot create a link file unless you use a script that works in 80% of all cases
                    • you still need to manually notarize the pkg using the command line. You can attach a certificate, but this won't notarize it

                    The DMG image will manage all the signing stuff that Apple throws at you and for the installation UX you are now completely free to do whatever you like with the multipage creator.

                    If the Packages solution works for you, then keep using it - there's no need to change a running system, but I found myself always coming back to hacking around for every project I did, so this is why I'm trying to create a solution for installers that are particularly tailored for HISE projects and DMG Canvas plays a big role here on the macOS side for this.

                    Ok yep I get it.. I guess I'm in a slightly different space. My plugin does most of the heavy lifting (downloading samples and meta data, unpacking all this to the correct locations, setting up the Link file etc.) , so all I want from an installer is the ability to put the plugin in the System folder - the user then runs the plugin and it takes over all the set up process. But yes I need to notarize the pkg from the command line.

                    HISE Development for hire.
                    www.channelrobot.com

                    1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @Christoph Hart
                      last edited by

                      So here is the DMG that I've build for HISE.

                      https://www.dropbox.com/scl/fi/ozo9sd5pjbcjpynukf41b/HISE-4.0.0.dmg?rlkey=uepefaqhgq0vsx1km3g8bhfy6&st=mci3g2sb&dl=1

                      Everything is built with a bash script but the final DMG is created from within DMGCanvas (this could also be automated, but it's a one-click operation and I would have to hack around to avoid my credentials in the public repo).

                      Note: This is not the official HISE 4.0.0 Release

                      It'll take a few more days for more cleanup etc, but you can run the installer and see how this works. It should be fully notarized and also downloads and extracts the HISE source code as optional step, but any feedback here is welcome.

                      Oh and have I mentioned that this is not the official HISE 4.0.0 release?

                      A 1 Reply Last reply Reply Quote 2
                      • A
                        aaronventure @Christoph Hart
                        last edited by

                        @Christoph-Hart said in Shoutout: DMGCanvas:

                        It'll take a few more days for more cleanup etc, but you can run the installer and see how this works. It should be fully notarized and also downloads and extracts the HISE source code as optional step, but any feedback here is welcome.

                        The EULA pops twice, once at DMG open and then again in the installer.

                        What about uninstalling? I'm still not clear as to what the average Mac user thinks about uninstalling and what the base approach would be to uninstalling VSTs. For me it's fine to consider it to just be "delete the VST3 file from the PlugIns folder and the Samples folder from wherever you put it"

                        Christoph HartC 1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart @aaronventure
                          last edited by

                          @aaronventure Yes I was overambitious with the EULA, I just wanted to check if the feature works with the DMG, but I'll probably remove it at one or the other location.

                          macOS users don't care about uninstalling - there is no uninstalling concept on macOS at all so I wouldn't bother with it.

                          1 Reply Last reply Reply Quote 1
                          • clevername27C
                            clevername27 @Christoph Hart
                            last edited by

                            @Christoph-Hart What is the multipage creator? (If there's a post or docs I've missed, pls just point me.) Cheers.

                            Christoph HartC 1 Reply Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart @clevername27
                              last edited by

                              @clevername27 It's the new thing I'm working on for the last few months - it's basically a separate app that allows you to create multipage form dialogs and can be used to build installers (when it's ready) that are customary tailored to the use case of HISE.

                              I'm also using it to create dialogs in HISE going forward - the snippet browser is made with it and the Broadcaster Wizard too.

                              It's not ready for public use yet, which is why it's flying under your radar...

                              clevername27C 1 Reply Last reply Reply Quote 1
                              • clevername27C
                                clevername27 @Christoph Hart
                                last edited by

                                @Christoph-Hart You had me at "wizards".

                                1 Reply Last reply Reply Quote 0
                                • JayJ
                                  Jay @Christoph Hart
                                  last edited by

                                  @Christoph-Hart waiting on the Multipage Creator

                                  Joansi Villalona

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  31

                                  Online

                                  1.7k

                                  Users

                                  11.8k

                                  Topics

                                  102.8k

                                  Posts