Download issues (above 2GB?)
-
@d-healey my plugin installer - so a .pkg and a .zip
-
@DanH Does the zip contains the samples? and is that what is accounting for most of the file size?
-
@d-healey they are (roughly) the same size.
It's an all-in-one installer, so the .pkg is for mac, and the .zip is for PC (because InnoSetup has a max file size of 2GB in one slice)
So yes the large file size is samples, but not the way you just imagined it
-
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?