HISE Logo Forum
    • Categories
    • Register
    • Login

    Packages script to remove ~/Library/Application Support/ data

    Scheduled Pinned Locked Moved Scripting
    5 Posts 3 Posters 309 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.
    • Dan KorneffD
      Dan Korneff
      last edited by

      @Christoph-Hart said in Exporting fx plugin with presets problem:

      When you launch it it checks if the AppData folder exists and only if it doesn't exist it extracts the presets.

      I'm wondering what everyone is doing with their installers when they release new presets? If a plugin is already installed, it sees the previous appdata folder at launch and doesn't extract new presets.
      I assume you can make a script to remove this folder during install. Anyone have the details?

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        @dustbro You don't want to remove that folder, you'd be deleting any changes the user had made. You could provide the additional presets separately and allow the user to install them through the drop down menu in the preset browser. Or perhaps your installer could add the new presets to that folder, and maybe it could rename existing presets so not to remove the user's changes. Or it could just ask the user if they are happy to overwrite existing presets with the same name.

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

        Dan KorneffD 1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff @d.healey
          last edited by

          @d-healey The plug will only contain factory presets. The user wont have the ability to save their own. Is there anything else in that folder that would be jeopardized?

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            @dustbro Anything they've changed in the plugin's settings, if they have access to them.

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

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

              Just reviving this old discussion as I'm trying to think of how user presets might be updated when rolling out updates to a plugin.

              Example
              Version 1.0 of a plugin has a total of 10 presets
              Version 2.0 of a plugin has a total of 19 presets (9 of which are new)

              What's the best way to add the 9 new presets to the plugins 'Preset Folder'?

              If doing this on installation is still the only way, what installers are people using to achieve this?

              I've found that InstallForge is limited as it doesn't allow the creation of an installation exe that can install files to mulitple folder destinations.
              This is a requirement as the installer will need to:

              A. Install plugin vst/component to plugin directory
              B. Install the new presets to the presets folder

              Any thoughts?

              I'm thinking about how this might done on Windows and Mac.

              Cheers

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

              51

              Online

              1.7k

              Users

              11.7k

              Topics

              102.1k

              Posts