Link in vst
-
@Lunacy-Audio you are a genius .. it seemed so simple ^^. suddenly it will redirect for mac and windows? I suppose so
-
Yup, should work on all operating systems.
-
@Lunacy-Audio thanks u :)
-
@Lunacy-Audio I just tried it is great. suddenly that references well in the file. is it possible to go directly to the expansion folder?
-
All of the documentation for the FileSystem API is here so you can see what special locations are available via scripting.
However, since the
Expansions
isn't in the special locations yet, you'll need to do something like this:FileSystem.getFolder(FileSystem.AppData).getChildFile("Expansions").show();
-
@Lunacy-Audio thank you very much for these answers
-
Sure thing!
-
this function is interesting but does not open the file, it shows it. I can't get the expansions folder to be opened. an idea?
-
HiseSnippet 804.3ocsU0saSCCE1tqAQCzIlDO.Q6pToQUJrMPhKXq+gpftUQFSb2jmi6p0RriRbFqZZ75vKEOD7F.GmjtjNxl1pD4Je94y46b72wdRjjxhikQHbiilGxP3ma3NWnl0aFgKPi5ivqaLlDqXQVYt5NOjDGy7PX7ZeT6.2nNJ862enKwmHnrBWHzwRNk8Yd.WU3cxdeh66Oj3wNhGTJ6s2aDUJ5I8kI.eVyvAERnmSNic.QmVMCD9IC73JYjqhnXwPNckdycmI+tHK+i4w7S8YZiNHWXixbi5Mi66MYQsFiP35SJp70xp7WZLl6wuweQG3EoArJPTtGfqsLkpuDk5bWTZnz2SuA2A8vknW8L5sggKMhGpJhn41yLFIfCmoDnsWlVY4hp8SrQOIjgP0NfbNaXDXbCB6ccb1xZGGmVuuoYSStvmKXVSSDTEWJrjhtIJkTzQuCQReapLHTJf8ZKqKH9IrVMMupoYC9TK6E1Mrfugbel6bPzDz9LlJsTirK4b+vv9DEokNZZsqiYu4fKCIhX3OGuYq1wPKzVyqqS41hhPiXAKr2Lme5z09SYYOhu+oftw91zWuYkpsCjJ1gB6VlWY1v7ZSqaGZ5zJikuY9PEUUXshN59.ZKRBNkEsnCtHQ3XdYczSdX5HZVeoThRwHAWcXHK2tPo0oBkFJuwBq95H8ghV7k6CxKjEo3Z5f6yt.ljyjhML5yhOWICSyM+z.nrJM554B0rtOh6oAjeTftDgMv+B9ay0K9ArfGOVF.3IQfKbsXxErQhIQL3DUKjQ+6j.LOJ8R7IpkGR02FkG.53KMMnU7fxRMu7sUOhIWmJmbqre9.o6FFS3J5rp4asJ3Kbt7+lu42C1zXvzoLppfr0MF9sU8RuGAU9hLQwEmMlnh3ZcxAIAtvSATFvDgf4GqkL0zZ1LaGssty3xDdoF+A9xC1QaiyC1YQPT.gFIOglMKpuo8ood.NIRejoA7ZGXa0AkNeB3LbZ6fBfG.NgR0shWAbuZLudEv7lU.y1q.lcVAL6tBXd6Jf4c2KF8au6mnjAYiIfiICRunBiGHHfJKUQh9K.uveF7
-
@d-healey yes this is what I am using but it does not open folder extensions. you still have to click on it. j trying to figure out how to do it, but impossible.
you will tell me that it is not much use but I prefer that the user is not click on the folder to drag expansions (I am not using the installation system). because the users are often not gifted (like me ^^) -
@yall Works for me
Why not use the expansion installer? Then the user just clicks one button and selects the file.
-
@d-healey because I can not implement it. I only want to have one expansion. and simply provide a .hxi file and the sample folder. from time to time I could like that to send some presets for free. yes me too that opens the folder where the extension folder is located. but the extension folder is not open. that's what I'm trying to tell you ^^
-
Here's a complete implementation (without progress bar). Put it inside a button callback (button should be momentary with saveInPreset disabled).
reg file; inline function install() { Engine.showYesNoWindow("Select .hr1", "Please select the .hr1 file", function(x) { if (x) { FileSystem.browse("", false, "*.hr1", function(f) { file = f; Engine.showYesNoWindow("Samples Folder", "Please select the folder to install the samples", function(x) { if (x) { FileSystem.browseForDirectory("", function(dir) { if (dir.isDirectory()) { expHandler.installExpansionFromPackage(file, dir); } }); } }); }); } }); }
-
@d-healey Thank you. will the .hxi file be integrated into the hr1? if so, it is even better. because creating an installer and then manually dragging the .hxi file was the same as my operation. I'm going to try :)
-
@yall There is a guide here (it's slightly out of date) - https://docs.hise.audio/working-with-hise/project-management/expansions/encrypted_expansion.html#implementation-/-steps-to-do
-
@d-healey yes on this subject I master. I have already created several extensions. I just tried in a button callback nothing happens :(
-
@yall Post a snippet
-
@d-healey I'm going to do it again on an empty project because I'm on a big thing with a lot of lines a little messy ^^
-
@d-healey the reminder is working. I forgot a} I'll come back to you. thank you you're a boss
-
HiseSnippet 1511.3oc4XstaaaCEVJNpqwqoXsn+X.CCfvX+vdHyvtMsc.EE0wNNsFKwwvNq6FFJXjnsIpDo.IUR7Bx6zdD1iTeC1NTWrncbb7BV6J1T9i44B4G+Njmygomf6RjRtvxdiilDRrruiyfIL03ViwTlUmcsr+BGJSpv99HxYJLSIobF5XdjhyrZNIDKkDOKa6BuT6f8FqaE+8tWzD6iYtjbQVVulScI6SCnpbo8Z7cTe+8vdjinAFVuciNtbVKtOOB.WAmZVgX22hGQ5h0lslik8sZ6QUbw.EVQjV1q2j6MYvX9orD6eMURO1mnGT2Z.LQIh2i66oQr92VsFS885kQBRKKamd4TRgDJ4ANGP8nSkmSMeVrBTtGl7g8ZKCd0MgWsEBu5KBd1Fva8D3cOmAtBZnJWiFaepSGlhHFhgPfIrRr0ZsitkSKNXASUM.+VxdBXvTOJ+jZ01B83Z0p7rMKtYQHPHUnSvB3HP3qvLOeh.8bTa1HJiT0UPfcX6yBwL8YiT8kSbcyh4tTURT636yOk3M0Z8VPV9WLLZOpOoIFP6VnMKhVkOCmi2AADOJfnah+sYthIgJh2upge99N6JvyQYj1HhpEOHjyfAkKkpuT1lN6OJyGnHzvHlqReugyRsTOMBteY2r4XKXc7iHUR7SCqyiAW9dPPFgFBjyyxLP+kFCjv4pehH6x+AJyieZ4RCH9DWEp5XQ8RagJMn89sacTmC61s8Oi1uMZuNsdUm18QUeUes9L7U9rJ4S84lbzrTIcHZFSiM+xrsNTNXhTQBpdrfepjTtjdwv9RH3T5qSA2zEeXkKOEmu3XnlGffwvY3ByuqjWvAg9DIJ9ZlPSM87IvoMjLgvTignUrNjhOMrqkJS77pXqU.zWEyshttPFcOtXWp.PNWLobocBC2EqvlXziJpr7477q+ZhF0vDUkJyWrJUtd+Ne0tAZbALkwmle.xKEzKIweYcPeKjdC8rqeduX4lbwxliqv2E5ykDZ37TcaV7h3SpWSxCcBxzDCs.AGC66xymwPOkFoS5xUjCYkqT77haT7hhn4UMb3B0kNYw4oWfZcoXwxbrLKJ3XhHKoUlgPMoYK54b0E8LqI6lvKFFxYcXT0ggD1UUJzJkLge88czm50UGSkA1ERDJpFB16RNAZ6HoV4FN6RjuUwCisMMB.cRnh0d2zJoMiT5tandZGRoeqyl1aRidMlj2nxyaHwmP5v5IHP3KY+PkGvCfYFKljB+KW1FZdf6E4iUy1QgtMpTEz45vRWbCtTnlX1l06k1LVU3dOmdTk63Ei20V.dgXz6a7l1z1lNsGNDRUkC10c16Ge+2glIT9xDnbemAJnGo.JaTR4mjNzJ5jNp9+D8QGtx8QCGT84XuAzeyvr+nQyHfuDyJ82aDuT6DviXyrVoHuOID58CB+F9b6F86+RAOJbdud2KhOrbj.RqATgohCYDf2Ul6wVBtTND1NwykzTUuHwHMWkKoO4DhPNqrtQAPrmwH957P1157DRhNVScO.qDzyLsNdUpcDNNdCOtHdb84F+v4F+n4Fu8bie7biexbieZ93DB8.bn9jwsc5xEAX+KkN8SVszovzzCCabCKaRGMcIRjLahFCSmx7wny3AUK34H25i5WK8gKqagUCtWyC51HCiCn5PUa1IvMUPhFi2GpbMDG4qxjNaViC3Ld3XnYA2YuW.myGMhHLw9B2P6nTv0xbIOnQeRbiw4h9pF6CsTiEydc+uEWTe04hkEu9bmD3hzo5P+2nZYg+2WsbYT2cSqUhfUWn9HONeGm3r6Hcw3+sfZedjBJxlUnyApFN.5.vkXVSbMcc1jw0zi0.Z.g4EO3OguTk0yJfpUVOSoka1TA6szeG2GtcABSW5HtIPenzru4QZIzmgFRPQuOHnL.6J3uwM4cKZrd6XI.JYw+mD2v4.8XTcq32x.94TqZMq.nV0abc0WD9FfgWrOO7F3yitA9r8MvmGeC74I2.ed5Mvmuco9naSXmHEOHIIIHnW6jCV1smdvpf0ewJDcyM
the installation is going well. I integrated the HXI in the HR1 but it does not appear in the target folder.
on the other hand it is impossible to choose the expansions folder of AppData .... from the window of the installer.
I would like the user to be able to click on install and that everything is automatically created in AppData. the extension folder + the rest. for the moment this technique is used only to install samples like opening the plugin the first time;