Shoutout: DMGCanvas
-
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
-
-
@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...)???
-
@Lindon why would you ever zip the pkg?
-
@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.
-
@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.
-
So here is the DMG that I've build for HISE.
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?
-
@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"
-
@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.
-
@Christoph-Hart What is the multipage creator? (If there's a post or docs I've missed, pls just point me.) Cheers.
-
@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...
-
@Christoph-Hart You had me at "wizards".
-
@Christoph-Hart waiting on the Multipage Creator