HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion Install getting stuck

    Scheduled Pinned Locked Moved Bug Reports
    14 Posts 3 Posters 474 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.
    • d.healeyD
      d.healey @DanH
      last edited by

      @DanH Does it work in standalone?

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

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

        @d-healey Right - the answer is sort of, here's what I've found so far for OSX (will attempt Windows later):

        • If the main 'factory' samples are installed on an external drive then I can install the expansion samples into the same folder BUT!! - no link file is created and my standalone cannot find the samples.

        • If the factory samples are installed on the system drive and I try to install the expansion samples into the same folder then the install process hangs UNLESS - I update the permissions of that folder and change 'everyone' to 'Read & Write'.

        • Installing the expansion content to a new folder on any drive is fine (but this apparently still doesn't work for the users who are having issues).

        I seem to remember a thread about the link file not being written not so long ago.

        Anyway I might resort to creating custom installers for expansions...

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

        d.healeyD bendursoB 2 Replies Last reply Reply Quote 0
        • d.healeyD
          d.healey @DanH
          last edited by d.healey

          @DanH said in Expansion Install getting stuck:

          @d-healey Right - the answer is sort of, here's what I've found so far for OSX (will attempt Windows later):

          • If the main 'factory' samples are installed on an external drive then I can install the expansion samples into the same folder BUT!! - no link file is created and my standalone cannot find the samples.

          • If the factory samples are installed on the system drive and I try to install the expansion samples into the same folder then the install process hangs UNLESS - I update the permissions of that folder and change 'everyone' to 'Read & Write'.

          • Installing the expansion content to a new folder on any drive is fine (but this apparently still doesn't work for the users who are having issues).

          I seem to remember a thread about the link file not being written not so long ago.

          Anyway I might resort to creating custom installers for expansions...

          Were these tests done with standalone or plugin?

          Here's a function I made for creating the link file myself with my custom installer. You can adapt it to suit your needs.

          	inline function createLinkFile(dir, target)
          	{
          		local filename = "";
          
          		switch (Engine.getOS())
          		{
          			case "OSX": filename = "LinkOSX"; break;
          			case "LINUX": filename = "LinkLinux"; break;
          			case "WIN": filename = "LinkWindows"; break;
          		}
          	
          		local f = dir.getChildFile(filename);
          		
          		if (target.isDirectory())
          			f.writeString(target.toString(f.FullPath));
          	}
          

          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 Standalone, but I'm almost certain the behaviour is the same in the plugin.

            So you've made a custom installer within your plugin for expansions? I was talking about creating a .pkg / .exe 😆

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

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

              @d-healey where would I put this into my script?

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

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

                @DanH

                So you've made a custom installer within your plugin for expansions? I

                Yes, using zip files instead of hr

                where would I put this into my script?

                I wouldn't use that with your existing script, this is for a custom installer.

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

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

                  @d-healey Oh ok, What prompted you to do that out of interest?

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

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

                    @DanH

                    What prompted you to do that out of interest?

                    I'm making a custom downloader/installer. The problem with the hr system is if you want to provide a partial update the user has to redownload the entire thing.

                    Imagine version 1.0 of my library contains 2GB of data, and version 2.0 contains an additional 100mb. The user who already has version 1.0 will have to redownload the 2GB they already have. With zip files I was able to build my own versioning system so users only get the pieces they need. This saves them time on the download/install and saves me money in bandwidth.

                    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 @DanH
                      last edited by bendurso

                      @DanH Do your users still have these problems? Did you solve it by creating the link files manually?

                      I ask because I am about to start using the expansion system and I would like to avoid these problems.

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

                        @bendurso I don't remember what this was about but my installers work fine now so I wouldn't worry about it.

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

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

                          @DanH Nice thanks :)

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

                          21

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.7k

                          Posts