HISE Logo Forum
    • Categories
    • Register
    • Login

    How to avoid users having to unpack an hr1 file on first run of an instrument

    Scheduled Pinned Locked Moved General Questions
    27 Posts 5 Posters 579 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 @pcs800
      last edited by

      @pcs800 said in How to avoid users having to unpack an hr1 file on first run of an instrument:

      I do not know how to create a script that allows the user to set the samples location.

      This is what the hr installer does already.

      @pcs800 said in How to avoid users having to unpack an hr1 file on first run of an instrument:

      Couldn't I just include this linkwindows file with that path already defined?

      I didn't even think of that but yeah, actually I think that would work since it's the same location on both systems. The only issue I see is how do you get it in the app data folder on the user's system because they will have a different username to you. It's possible Innosetup provides a wildcard for the username though, I can't remember, so check the documentation.

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

      pcs800P 1 Reply Last reply Reply Quote 0
      • pcs800P
        pcs800 @d.healey
        last edited by

        @d-healey inno actually does provide a wildcard for that. I think it's something like {userprof}\etc\etc
        So, where exactly do I put this linkwindows file?

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

          @pcs800 said in How to avoid users having to unpack an hr1 file on first run of an instrument:

          where exactly do I put this linkwindows file?

          Link Preview Image
          How to avoid users having to unpack an hr1 file on first run of an instrument

          @Christoph-Hart Ok, i set the right path in the LinkWindows file located at File -> show Project app data folder in Explorer. re-exported the plugin, bundled...

          favicon

          Forum (forum.hise.audio)

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

          pcs800P 1 Reply Last reply Reply Quote 0
          • pcs800P
            pcs800 @d.healey
            last edited by

            @d-healey So I have inno put it in {userProf}\AppData\Roaming\company name\Product name\LinkWindows ?

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

              @pcs800 said in How to avoid users having to unpack an hr1 file on first run of an instrument:

              Couldn't I just include this linkwindows file with that path already defined?

              I made a post about that a long time ago:

              Link Preview Image
              Automatic Installer for Windows: Inno Setup Script

              Hello! I thought that maybe for some this Inno Setup script could be useful. It installs the plugin + samples automatically on the user's computer. It does t...

              favicon

              Forum (forum.hise.audio)

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

                @pcs800 I think so, try it and report back

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

                pcs800P 1 Reply Last reply Reply Quote 0
                • pcs800P
                  pcs800 @d.healey
                  last edited by

                  @d-healey I just did it manually (not in inno) and it worked.
                  I put the LinkWindows file at C:\Users\pcs80\AppData\Roaming\company name\product name\LinkWindows
                  Which would be {userProf}\AppData\company name\product name\LinkWindows

                  Inside the file I specified the location of the samples, and it worked.

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

                  15

                  Online

                  1.8k

                  Users

                  12.0k

                  Topics

                  104.4k

                  Posts