HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion Installation Issue

    Scheduled Pinned Locked Moved Bug Reports
    33 Posts 7 Posters 5.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.
    • Casey KolbC
      Casey Kolb @yall
      last edited by

      @yall That makes sense. I've been zipping the hr1, so I think we're all good there.

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

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

        @casey-kolb said in Expansion Installation Issue:

        I've been zipping the hr1

        Seems redundant, like putting a zip file in a zip file.

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

        Casey KolbC 1 Reply Last reply Reply Quote 0
        • Casey KolbC
          Casey Kolb @d.healey
          last edited by Casey Kolb

          @d-healey Yeah, but Macs at least know what a zip file is when you're downloading. It does seem safer, especially considering that things can get corrupted if they're not zipped, and if you're using Dropbox or other platforms to share with beta testers.

          Casey Kolb
          Founder & CEO of Lunacy Audio
          Composer | Producer | Software Developer

          1 Reply Last reply Reply Quote 1
          • ?
            A Former User
            last edited by

            Not sure if they're related but a Windows user just informed me that the expansion installer gets stuck at 0% for them... Master branch

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @A Former User
              last edited by

              @iamlamprey Unrelated I think, test on develop branch

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

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @d.healey
                last edited by

                @d-healey Yeh it was unrelated, just following up here in case someone else has something similar happen -> run Ableton as an Admin :)

                1 Reply Last reply Reply Quote 1
                • Casey KolbC
                  Casey Kolb
                  last edited by

                  Ok so after testing this and code signing / notarizing my apps and installers, this is still an issue I can't resolve. It won't install expansions on certain Macs unless the Samples folder has Write permissions for "Everyone", even if I use setReadOnly(false) for the Samples folder.

                  @Christoph-Hart Any thoughts on this?

                  Casey Kolb
                  Founder & CEO of Lunacy Audio
                  Composer | Producer | Software Developer

                  DanHD 1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @Casey Kolb
                    last edited by

                    @Casey-Kolb I have users getting stuck on the install too, across Win and Mac... Did you get to the bottom of this? I can't recreate the problems here so its super tricky to know what's going wrong!

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

                    Casey KolbC 1 Reply Last reply Reply Quote 0
                    • Casey KolbC
                      Casey Kolb @DanH
                      last edited by

                      @DanH Yes, we figured out that you need to install the samples to the default Expansions folder within the AppData folder to ensure your plugin has the right permissions for unpacking the samples. Basically, your plugin won't be able to write to a lot of directories on the OS because the folders may be read-only for the plugin. I'd recommend not even giving the user a choice for where to install the samples, and if they need to move the samples, they can always move them to their samples folder manually.

                      Casey Kolb
                      Founder & CEO of Lunacy Audio
                      Composer | Producer | Software Developer

                      DanHD 1 Reply Last reply Reply Quote 0
                      • DanHD
                        DanH @Casey Kolb
                        last edited by DanH

                        @Casey-Kolb great, thanks for letting me know! Did you run the install within the plugin or with a .pkg?

                        And no problems on Windows then?

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

                        Casey KolbC 1 Reply Last reply Reply Quote 0
                        • Casey KolbC
                          Casey Kolb @DanH
                          last edited by

                          @DanH It's currently installed within the plugin, but honestly a .pkg makes a lot more sense. We do have license keys for expansions though, so it's a bit tricky. It would certainly be faster with a .pkg file

                          Casey Kolb
                          Founder & CEO of Lunacy Audio
                          Composer | Producer | Software Developer

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

                            Might be relevant to this thread...

                            I've just added a File.hasWriteAccess() script wrapper function so you can verify if a directory selected by the user is writable and prompt them for another location if it isn't.

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

                            1 Reply Last reply Reply Quote 1
                            • bendursoB
                              bendurso
                              last edited by

                              Is there some way to give permissions to the plugin to install samples in a custom location now? Or still the better option is to install the samples in the appdata folder?

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

                                You should ask the user where they want to install the samples. The built in expansion installer does this I think.

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

                                bendursoB 1 Reply Last reply Reply Quote 0
                                • bendursoB
                                  bendurso @d.healey
                                  last edited by

                                  @d-healey Oh I know. But I was asking because of this:

                                  @Casey-Kolb said in Expansion Installation Issue:

                                  Yes, we figured out that you need to install the samples to the default Expansions folder within the AppData folder to ensure your plugin has the right permissions for unpacking the samples. Basically, your plugin won't be able to write to a lot of directories on the OS because the folders may be read-only for the plugin. I'd recommend not even giving the user a choice for where to install the samples, and if they need to move the samples, they can always move them to their samples folder manually.

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

                                    @bendurso Try it, I haven't ran into any issues but these days I'm using my own HISE based installer. If you're writing your own installer you can check that the user has write permission for the selected folder.

                                    You definitely don't want to install to the app data folder though, unless you only have a tiny amount of samples, maybe < 100MB.

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

                                    bendursoB 1 Reply Last reply Reply Quote 1
                                    • bendursoB
                                      bendurso @d.healey
                                      last edited by

                                      @d-healey It semms to work ok on my mac, but I think I should test it with more macs.

                                      You definitely don't want to install to the app data folder though, unless you only have a tiny amount of samples, maybe < 100MB.

                                      That makes sense. But if the library is big, the user could change the sample folder after installing it.

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

                                        @bendurso What happens if they don't have enough room on their system drive during installation?

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

                                        bendursoB 1 Reply Last reply Reply Quote 0
                                        • bendursoB
                                          bendurso @d.healey
                                          last edited by

                                          @d-healey That's a good point. Well, bad luck for the user, lol

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

                                            @bendurso said in Expansion Installation Issue:

                                            @d-healey That's a good point. Well, bad luck for the user, lol

                                            hmm, avoid installing in any system folder if I were you...

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            23

                                            Online

                                            1.8k

                                            Users

                                            12.2k

                                            Topics

                                            105.9k

                                            Posts