HISE Logo Forum
    • Categories
    • Register
    • Login

    Export tool

    Scheduled Pinned Locked Moved General Questions
    349 Posts 30 Posters 53.7k 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.
    • gorangroovesG
      gorangrooves
      last edited by

      I have broken down what I believe will be a good user experience for plugin delivery:
      https://forum.hise.audio/topic/3069/what-format-do-you-use-to-distribute-plugins-samples/8#

      Goran Rista
      https://gorangrooves.com

      Handy Drums and Handy Grooves
      https://library.gorangrooves.com

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by d.healey

        Well it looks like automated installer building on OSX is out (for now). There doesn't seem to be a tool available to generate Packages project files. The pkgproj format is xml so I could generate it manually but I'm not familiar enough with its layout and I don't have the time/patience at the moment to decipher it.

        Searching whitebox packages on github just brings up HISE :p

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

        DanHD 1 Reply Last reply Reply Quote 1
        • DanHD
          DanH @d.healey
          last edited by

          @d-healey *sob

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

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

            @d-healey said in Export tool:

            There doesn't seem to be a tool available to generate Packages

            I have created one Package template for PercX and Hexeract and then I just need to do a search and replace, that can be automated...

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

              @Christoph-Hart Ooo that's the approach I use too (based on your template). I didn't think about automated find/replace, I'll look into it!

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

              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by

                I think I've found a snag with the copy/replace idea, it's only going to work if the user is generating an AU, VST, and standalone app. If one of those is missing or they want to bundle additional items I'd still need a way to generate the extra contents of the pkgproj. Any ideas?

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

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @d.healey
                  last edited by

                  @d-healey why not build 2 different packages - one including stand alone one missing it and use(search and replace) either depending on the user selection..

                  HISE Development for hire.
                  www.channelrobot.com

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @Lindon
                    last edited by

                    @Lindon I'm not sure how that would solve the problem, could you provide more info about your idea? Here is an example of the template project Christoph and I mentioned.

                    While we're discussing Apple stuff, do you let XCode handle the code-signing as it's compiling your project or do you do it through the commandline manually after compiling is complete?

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

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

                      @d-healey ok so the thing you are pointing at is an xml file generated by whitebox packages yes?

                      So its for a package that includes VST3, AU and standalone yes?

                      Simply create another whitebox package - this time with only the VST and AU elements and export(save) its XML

                      Now you have two templates - one for VST,AU and Stand-alone, and one for VST and AU. Offer your user a choice:

                      Include stand-alone? Y/N and depending on their choice use the relevant template.

                      So on to Apple Stuff:
                      I manually codesign all my plugins... and stand alones.
                      Then I manually notarise my stand-alones.

                      --I wait for apples success email then...

                      I use Whitebox packages for packaging - but its set up to use my developer certificate so its codesigned as soon as it builds.
                      When its built I notarize it.

                      -- I wait for apples success email then...

                      I staple the package, and zip it up - done!

                      To be honest Im not sure how you'd get all of that done with an automated process...I can see how you'd do it up to building the package ...but waiting for the success emails?

                      HISE Development for hire.
                      www.channelrobot.com

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @Lindon
                        last edited by

                        @Lindon Oh I get it, I'll need more than two templates to cover all combinations but yeah that seems like a workable solution.

                        I didn't think you needed to notarize the standalone if it was included in a notarized package? - At least that's what I saw in the KVR post.

                        Yeah the stapling part with the success email would still have to be done manually, unless Apple provides some sort of API that gives a notification (I'll check).

                        Hmm which of these do we need (I assume just the bottom one, do we need to codesign the installer before notarization?):
                        10aad956-f2ca-4e4c-9269-560a2d2670da-image.png

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

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @d.healey
                          last edited by

                          @d-healey yep the bottom one - I think- hang on checking my white box.....

                          it tells me this; Developer ID Installer: Lindon Mulcahy-Parker (XXXXXXXXXXX).

                          so I think thats the second to bottom one...??

                          My reading and re-reading of the KVR threads is that -

                          if it runs on its own it needs to be notarised, so stand-alone apps and packages.

                          HISE Development for hire.
                          www.channelrobot.com

                          d.healeyD 1 Reply Last reply Reply Quote 1
                          • d.healeyD
                            d.healey @Lindon
                            last edited by

                            @Lindon Can you use the Developer ID Installer for codesigning apps as well as installers?

                            This is what I saw on KVR:

                            discoDSP wrote: ↑Sun Oct 20, 2019 10:04 am
                            Does notarization apply to a .app contained on a .pkg?
                            Yep. From my previous post:
                            The notary service generates a ticket for the top-level file that you specify, as well as each nested file. For example, if you submit a disk image that contains a signed installer package with an app bundle inside, the notarization service generates tickets for the disk image, installer package, and app bundle.

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

                            1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey
                              last edited by

                              I'm having second thoughts about whitebox packages. Seems there are other tools available that have a commandline interface which would be much more reliable. One problem with the template method is it limits the combination of files to the templates I create. Suppose someone wants to create a set of plugins and standalone app that has IPP and another that doesn't, then I need to double my available templates. Then they might also want debug builds for sending out to testers, there's another set of templates. They might also want to include multiple versions in the same installer for some crazy reason. If the commandline tools turn out not to be viable then I'll resort to the template method, so either way we will have installer creation on MacOS.

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

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

                                Let me know if you find something better than Packages, it‘s my least favorite thing in the distribution pipeline too...

                                1 Reply Last reply Reply Quote 3
                                • d.healeyD
                                  d.healey
                                  last edited by

                                  I'm thinking of pkgbuild and productbuild. I read this article which also provides a useful generic script that I can borrow from.

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

                                  1 Reply Last reply Reply Quote 1
                                  • d.healeyD
                                    d.healey
                                    last edited by

                                    Codesigning on Mac is done, was pretty straightforward. Notarization is also done (but I've only tested with a zip file, still need to confirm with a pkg). Stapling I think is also done but I can't test this with a .zip file. The app just waits until Apple provides a response UUID after notarizing and then runs the staple command.

                                    I have a little bit of code cleanup to do then I'll try again to automate PKG generation.

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

                                    1 Reply Last reply Reply Quote 2
                                    • gorangroovesG
                                      gorangrooves
                                      last edited by gorangrooves

                                      Packages looks promising. It has a pretty clean user interface with settings for many things. But, I understand how it may not be ideal for Dave's use.

                                      Thinking of a post-install script to create the samples folder link file, I understand that this could be a shell or JS script. What would be the best way to approach this? How do we get the location of the samples installation folder that a user chooses during the install process? You can add a pre-build and post-build script.

                                      @Christoph-Hart Do you know what approach can be used here?

                                      Goran Rista
                                      https://gorangrooves.com

                                      Handy Drums and Handy Grooves
                                      https://library.gorangrooves.com

                                      1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey
                                        last edited by

                                        pkgbuild works! I can programmatically generate unique packages on MacOS now! woohoo!

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

                                        ulrikU orangeO Dan KorneffD 3 Replies Last reply Reply Quote 10
                                        • ulrikU
                                          ulrik @d.healey
                                          last edited by

                                          @d-healey Nice work David!

                                          Hise Develop branch
                                          MacOs 15.3.1, Xcode 16.2
                                          http://musikboden.se

                                          1 Reply Last reply Reply Quote 0
                                          • orangeO
                                            orange @d.healey
                                            last edited by orange

                                            @d-healey said in Export tool:

                                            pkgbuild works! I can programmatically generate unique packages on MacOS now! woohoo!

                                            It will be a huge in the box solution. Looking forward to hear about the release of it...

                                            develop Branch / XCode 13.1
                                            macOS Monterey / M1 Max

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

                                            14

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts