Download issues (above 2GB?)
-
So the samples are contained within the installers?
-
@d-healey aye
-
@DanH That's a weird way to do things, but whatever makes you happy :) How much RAM does the system have?
-
@d-healey well I got loads of complaints about using the standard hise sample installer it just seemed easier to make my own.
The download app is because f-ing wix has a max file size of 1GB for a store.
Plenty of RAM on MAc, only 4GB on PC. Does it save to Ram first?! surely not...
-
@DanH If it's downloading a single file it probably has to store it in memory while it downloads before writing the final thing to the disk, unless it can break up it into chunks as it downloads it but I don't think HISE does that.
Why not send your users a standard installer and use your app to download the samples directly as hr files, install the samples for the user, and then delete the hrs?
Is the PC OS 32bit or 64bit?
-
@d-healey PC is 64 bit
Why not send your users a standard installer and use your app to download the samples directly as hr files, install the samples for the user, and then delete the hrs?
hmmmm potentially a good idea. Can it be done automatically? i.e the user hits one button and does nothing else (no finding the hr1 file etc)
-
@DanH Yes
-
@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?