View Single Post
Old 09-15-2012, 01:21 AM   #10
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by kovidgoyal View Post
There's no need to have a full NSIS installer for this, just a few hundred lines of C code and a bundled unzip routine should do the trick, I'll cook up something this week.
I do urge you to consider the PortableApps version since it's a bit more robust. calibre-portable.exe requires a library named Calibre Library. If you rename it, it'll just keep spawning the folder. Also, if you have multiple libraries, it uses fixed paths for the additional libraries. It only "portabilizes" Calibre Library.

If you won't consider that, then perhaps you can consider using LZMA compression if you're going the executable route. Saves quite a bit of bandwidth over normal zip. For example, calibre-portable-0.8.68.zip is 59MB while repackaged to 7zip with LZMA compression, it's just 41MB. That's a 30% decrease in file size.

Edit:
Here's a link to the PortableApps installer version of the Calibre 0.8.68 (haven't gotten around to downloading 0.8.69 yet).
http://utterlyinsane.org/calibre/cal...Test_4.paf.exe

Creating an updated installer is simple. Just edit appinfo.ini to change the version number, replace the Calibre folder with the new version and run PortableApps.com Installer to create the installer and you're done. No extra coding required.

Code:
-\ <--- Directory with calibrePortable.exe
  +\App\
    +\AppInfo\
        appinfo.ini
    +\Calibre\

Last edited by ilovejedd; 09-15-2012 at 01:50 AM.
ilovejedd is offline   Reply With Quote