Download issues (above 2GB?)
-
@DanH How did you make that app? Electron??
-
@UrsBollhalder You can do it in HISE
-
@d-healey Sorry what??
-
@UrsBollhalder You can make such an app in HISE, and I think that's what Dan has done.
-
@d-healey Pray tell monsieur Healey :grinning_squinting_face:
-
@DanH You didn't make it in HISE?
-
@d-healey That reply was to your earlier message, sorry.
Yes I made it in Hise, it's not that fancy, happy to share a version the code tomorrow though if anyone finds it useful.
Your idea is much nicer, but sounds like (yet) another rabbit hole to go down!
-
@DanH You're already half way there. Just download the hrs then run the expansion installer (can't remember the name of the function but it's in the docs).
-
@d-healey said in Download issues (above 2GB?):
@UrsBollhalder You can make such an app in HISE, and I think that's what Dan has done.
Well. But you're right... I thought of it actually but then abandoned the idea... But hell, why not? Since @ulrik is building MS Paint with HISE, I have started to believe that there's no limit to this!
-
@d-healey said in Download issues (above 2GB?):
@DanH You're already half way there. Just download the hrs then run the expansion installer (can't remember the name of the function but it's in the docs).
But so you need to hook up the app to your preferred online store API for this, right? I was following that thread along... looks rather difficult, no?
-
@d-healey ok so:
-
I'll need to figure out how to download 2 files back to back
-
Can I make the expansion installer install the samples to a custom location because I'm not using the default HISE one anymore?
-
-
@UrsBollhalder
. looks rather difficult, no?
The difficulty level is proportional to your web development and HISE skills :) For me it's not so difficult, using wordpress also makes it a lot simpler because there are plugins available to do some of the heavy lifting.
I'll need to figure out how to download 2 files back to back
Check out my thread about downloading images from a server. You can download two files in a loop one after another but I found it a little unreliable so I used a recursive function - a function that calls itself, but careful you don't make a mess :p
Can I make the expansion installer install the samples to a custom location because I'm not using the default HISE one anymore?
It depends on which location. What I do is ask the user where they want the samples to be installed.
-
Check out my thread about downloading images from a server. You can download two files in a loop one after another but I found it a little unreliable so I used a recursive function - a function that calls itself, but careful you don't make a mess :p
Will do
It depends on which location. What I do is ask the user where they want the samples to be installed.
In this case Users/Shared on Mac and C:/Program Files on PC
I'm confused though - My download app / installer would have to be named the same as my plugin in order for the appdata folder and files (esp the sample link file) to be created correctly, no?
-
@DanH Who wants to install samples on their C drive? Let the user choose where they want them, most have dedicated drives for their samples.
My download app / installer would have to be named the same as my plugin in order for the appdata folder and files (esp the sample link file) to be created correctly, no?
Correct. What's stopping you making two HISE projects with the same name? Another option is to build the downloader/installer into the plugin, like PercX.
-
@d-healey said in Download issues (above 2GB?):
@DanH Who wants to install samples on their C drive? Let the user choose where they want them, most have dedicated drives for their samples.
My download app / installer would have to be named the same as my plugin in order for the appdata folder and files (esp the sample link file) to be created correctly, no?
Correct. What's stopping you making two HISE projects with the same name? Another option is to build the downloader/installer into the plugin, like PercX.
But how do they handle copy protection?
-
@UrsBollhalder User enters a serial key into the plugin, serial key connects to the server for validation, if all is well the plugin does its thing.
-
@d-healey But when and by whom do the serials get generated and sent to the customer?
-
@UrsBollhalder That's up to you, there are lots of ways to do it. If you're using wordpress you can get a plugin to generate and send serials with the purchase receipt.
-
@DanH said in Download issues (above 2GB?):
In this case Users/Shared on Mac and C:/Program Files on PC
..oh this is not so good I think....
-
@Lindon why? Where wld you put it? I think a lot of my customer base are laptop users, so C drive suits me (and they can always move it)