HISE Logo Forum
    • Categories
    • Register
    • Login

    Setting(flag) to not have the plugin start the sample install process when the link file is missing

    Scheduled Pinned Locked Moved General Questions
    47 Posts 5 Posters 2.4k 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 @Lindon
      last edited by DanH

      @Lindon

      HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
      HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
      HISE_DEACTIVATE_OVERLAY=1
      

      I use these, I can't remember if they are all necessary though.

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

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

        @DanH said in Setting(flag) to not have the plugin start the sample install process when the link file is missing:

        @Lindon

        HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
        HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
        HISE_DEACTIVATE_OVERLAY=1
        

        I use these, I can't remember if they are all necessary though.

        thanks- I have to have deactivate_overlay=1 anyway, and I think

        SHOW_INSTALL_BUTTON =0 might be all I need given this:

        "Set this to false to disable the install samples button. This might be useful if you don't use the HR1 resource file system."

        Can anyone ( @Christoph-Hart ) confirm?

        Basically I need to run the plugin - and have it check to see if there is a linkFile and if not to run its internal sample install process...

        HISE Development for hire.
        www.channelrobot.com

        DanHD DabDabD 2 Replies Last reply Reply Quote 0
        • DanHD
          DanH @Lindon
          last edited by

          @Lindon can you not just script that?

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

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

            @Lindon said in Setting(flag) to not have the plugin start the sample install process when the link file is missing:

            HISE_DEACTIVATE_OVERLAY=1

            What does HISE_DEACTIVATE_OVERLAY=1 do ?

            Bollywood Music Producer and Trance Producer.

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

              @DanH said in Setting(flag) to not have the plugin start the sample install process when the link file is missing:

              @Lindon can you not just script that?

              script what? The plugin wakes up - trys to read the link file - finds its not there and starts the "standard" sample install dialog...

              • So I dont want that to happen, instead-

              The plugin wakes up and looks for the link file, finds its not there and does nothing... meanwhile in init I look for the link file - find its not there and start the custom install process we use for samples and all the other stuff we use - meta files, audio files , presets etc. etc. So yeah this bit is all scripted...

              HISE Development for hire.
              www.channelrobot.com

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

                @DabDab said in Setting(flag) to not have the plugin start the sample install process when the link file is missing:

                @Lindon said in Setting(flag) to not have the plugin start the sample install process when the link file is missing:

                HISE_DEACTIVATE_OVERLAY=1

                What does HISE_DEACTIVATE_OVERLAY=1 do ?

                "If enabled, this will deactivate the dark overlay that shows error messages so you can define your own thing."

                HISE Development for hire.
                www.channelrobot.com

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

                  There is no script method to start the internal installation process.

                  HISE_DEACTIVATE_OVERLAY=1 will disable ALL overlays, including the built in installer and find samples popups.

                  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 said in Setting(flag) to not have the plugin start the sample install process when the link file is missing:

                    There is no script method to start the internal installation process.

                    HISE_DEACTIVATE_OVERLAY=1 will disable ALL overlays, including the built in installer and find samples popups.

                    Ok well thats pretty much what I want I think.

                    HISE Development for hire.
                    www.channelrobot.com

                    1 Reply Last reply Reply Quote 0
                    • DabDabD
                      DabDab @Lindon
                      last edited by

                      @Lindon Ok. Understood.

                      Bollywood Music Producer and Trance Producer.

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

                        @Lindon script your plugin to look for the link file. And if it doesn’t find it proceed to the install process. I’m pretty certain you’ve made an installer that deals with link files so this sounds completely doable. It’s what my installer does.

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

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

                          @DanH said in Setting(flag) to not have the plugin start the sample install process when the link file is missing:

                          @Lindon script your plugin to look for the link file. And if it doesn’t find it proceed to the install process. I’m pretty certain you’ve made an installer that deals with link files so this sounds completely doable. It’s what my installer does.

                          yeah - sadly our entire install process just got a lot worse - based around the vendors download manager - better called: a download-fail-to-manager...

                          @d-healey - I may well be looking to your advice on how to do downloads inside the plugin...

                          HISE Development for hire.
                          www.channelrobot.com

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

                            @Lindon well give me a shout if you need help. It’s not that complicated.

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

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

                              @DanH thanks mate - feeling pretty low at the moment so this is a great help.

                              HISE Development for hire.
                              www.channelrobot.com

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

                                @Lindon haha. Hold tight. I’ll fire over my proj when home. Hopefully you can make some sense of it 😅

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

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

                                  Would it help if we had a script API call to trigger the built in installer?

                                  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 said in Setting(flag) to not have the plugin start the sample install process when the link file is missing:

                                    Would it help if we had a script API call to trigger the built in installer?

                                    No sorry - our custom installer installs a lot more than Samples and linkFiles - it does presets, metadata files, audio Files etc. etc. the list and locations are long - 16 different types of thing in Horizen.

                                    I built an installer that gracefully handles all this - given it is provided with all the zip files it needs (called .sfc files) , but their download manager refuses to call it - well they refuse to let it... and their download manager even refuses to download the 16 sfc files, so I may be back to using innosetup and whitebox packages - the only thing their download manager supports - to install the plugin then get the plugin to do the remaining downloads and the install from inside the plugin - yes yes I know its benightedly stupid design.... but I can see little other choice.

                                    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 They don't even support zip files with the standard extension?

                                      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 Lindon

                                        @d-healey of course they do,...partly: they pass the zip off to the OS to deal with it - so on MacOS it gets unzipped into the download folder - bad for us, because now everything is in the wrong place, and on Windows it gets "shown to the user" in the download folder - not great for the user...who has little or no idea what to do with it at this point...

                                        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 Ah that's a pain

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

                                          virtuscapeaudioV 1 Reply Last reply Reply Quote 0
                                          • virtuscapeaudioV
                                            virtuscapeaudio @d.healey
                                            last edited by

                                            @d-healey my project is just under 300MB and I also would love to know how to go about bypassing default system so the user has to do nothing but open the plug-in...I'm watching your FileSystem videos on youtube but still scratching my head on this one

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            59

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts