HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansion Install getting stuck

    Scheduled Pinned Locked Moved Bug Reports
    14 Posts 3 Posters 473 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.
    • DanHD
      DanH
      last edited by

      So I've got several users having problems with an expansion install on both Windows and Mac. I can't reproduce the issue here, it just works fine on all my computers. The install dialogue opens fine and after the user has selected the location for their samples it either runs for a little bit and stops or runs forever, but nothing ever gets installed and the process never completes.

      Would love it if anyone who's made an expansion install process could have a look at the below snippet and see if there's anything glaring in my code? And is anyone else experiencing this? Thanks :)

      HiseSnippet 2243.3ocsY80iaabDm5rYZjpciCRenOUrf.MfJ8rhN6jTWbvnmNcR1pUmjfnriMbMB3QtRZio3JrKkkDNHf9EnemJ5mn9PeuclkTjTj5O2cIQv3r1cm+7alYmYmcUOA2gJkbgVghCVNkpU3A5VK8CFWerMyWq0EZE9L8FuoG4xVcZQ50u6eU67kSskRpqVgB26EHQEJdeM0m+ye4baOaeGZxTZZulybnsYSXAIy16r+FyyqosKc.aRJp+lyZ4v8qy83y..cO8pZSsc9f8HZGajriz0J7IMbYAbgUfc.UBzbN2co0X9b+P5eMSxtxihCNQyBDT3zZ0Gy7b6s1XkZZEteuDS+dgl9uU+RlKKd9DWviTKPR3HsOnvQ6CRmbKfTgTP59gP5y0sbDroAIqf34Wq2xOfJFZCt5zPIjVsi92egdcNPgePkI1ef1T.Ch4v76pV8XB7mxmVpD3tkAjOZKHzESeosuqGUPdNog+HlOshifB1TiESs8kLtez5l4XLbYIvXhTpLhFDyYalLXWrgwVj028dX8MmsxzYxwlFMqUeP29u0.EvPtvjRX96WSkKQfOaSXTjZvaNkJBXToY4J3hfjQFRAuXAZQ8nNP3EP3ZeJHg57IS49v.SibTh3L2jUjTfVV.chz33rH6G4LeSi+tuQYzD+5ulzZxTO5DP7jfwzDpIx4r.mwkJw78f3CY3Lem.b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4SUy.XxW8iCUT+RbL4j0Uez0qVop1DHu5GbbPy+wmnoscddxcfmmdG34atC77s2Ad9t6.O+o6.OOau7fkzpMKfOILc.lnWC0o.EJzPUySsKT6+Cnb98hK
      

      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 d.healey

        @DanH Your code looks fine to me. Is the plugin codesigned/notarized? 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 Thank you. Yes fully signed and notarized etc. Everything works here and I can't recreate the issue so I'm really stuck 😆

          Could be a bit flakey on the HISE side of things perhaps....

          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 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.6k

                                Posts