HISE Logo Forum
    • Categories
    • Register
    • Login

    Customize Dialog and Procedure On First Plugin Load (hr1 sample archive)

    Scheduled Pinned Locked Moved General Questions
    8 Posts 5 Posters 761 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

      Hey guys,
      Is there a way to change the behavior of that initial dialog pop-up for hr1 files when a compiled plugin is installed for the first time?

      I don't think I will be using the hr1 procedure as I think it adds unnecessary steps for the user. I will have my installer install the samples in a location of user's choosing and would like the avoid the confusing dialog related to hr1 files extraction.

      I want just to prompt the user to select the directory where they placed the samples and that's it.

      Can I get rid of all the other stuff?

      Even better would be if the installer could provide the plugin with the necessary info as to where the samples were placed by the user. This would cut yet another step.

      Thanks.

      Goran Rista
      https://gorangrooves.com

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

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

        Under windows (its sorta similar for mac):

        the initial dialog pop up simply adds a file to the AppData/Roaming///

        called LinkWindows

        thats a link file pointing at the location of your samples, as defined by the user in the dialog.

        You could I suppose have your installer:

        • ask the user where they want the sample placing

        • create the folder structure

        • create the LinkWindows file

        • rinse and (nearly) repeat for Mac users

        HISE Development for hire.
        www.channelrobot.com

        1 Reply Last reply Reply Quote 0
        • Tod SlaughterT
          Tod Slaughter @gorangrooves
          last edited by

          @gorangrooves As far as I know if you supply the samples and the user places them wherever they want. On first load the plugin as you say will ask for the location. It's only if this step is skipped that problems start. Then it's a case of deleting the Linkwindows file as Lyndon has pointed out.

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

            Thanks @Lindon and @Tod-Slaughter .

            Sweet. I found the location of that linkWindows file.

            So, as long as that link file is found by the plugin in the expected location, there will be no prompt on the initial load. Correct?

            Goran Rista
            https://gorangrooves.com

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

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

              @gorangrooves said in Customize Dialog and Procedure On First Plugin Load (hr1 sample archive):

              So, as long as that link file is found by the plugin in the expected location, there will be no prompt on the initial load. Correct?

              The result of this dialog is the creation of this file so if your installer creates it beforehand, it will never have to appear.

              But be aware that there are many pitfalls with installers which lead me to this solution. The most difficult thing is to give the installer enough permissions to create the files at various locations (which is for some reason multiple times more difficult than giving an app these permissions).

              gorangroovesG 1 Reply Last reply Reply Quote 0
              • gorangroovesG
                gorangrooves @Christoph Hart
                last edited by

                @Christoph-Hart Thank you. That's good to know. I think that some installers are more powerful than others with regards to permissions (from what I read). I will give it a shot, but if the installer doesn't set it up, the dialog is always there as a backup.

                It would be nice if there was an option within HISE to select whether plugin will be provided with hr1 files or raw samples, which would affect the dialog prompt that pops up. That way, the most relevant dialog prompt would appear if needed.

                Goran Rista
                https://gorangrooves.com

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

                L 1 Reply Last reply Reply Quote 0
                • L
                  LeeC @gorangrooves
                  last edited by LeeC

                  @gorangrooves Did you manage to find a custom installer solution or did you end up reverting back to the original hr1 pop up solution?

                  gorangroovesG 1 Reply Last reply Reply Quote 0
                  • gorangroovesG
                    gorangrooves @LeeC
                    last edited by

                    @LeeC I have not created a solution for this as of yet. I was planning to set up the installer to create the necessary reference file. There was some talk about this same issue recently here on the forum. Have a look at the recent posts, there may be an answer to it.

                    Goran Rista
                    https://gorangrooves.com

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

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

                    47

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    101.9k

                    Posts