> From: Bill Harris
> 
> On Wed, January 6, 2010 7:20 pm, Sherlock, Ric wrote:
> > Hi Bill,
> > I've been meaning to try and make an iapp from one my applications
> using
> > the Application Distribution - Installer. It should be much more
> forgiving
> > of Addon dependencies because it essentially is doing a minimal (well
> sort
> > of) J install, and of course it will let you prepare installers for
> > multiple platforms. I see you ran into some hiccups using it,
> hopefully we
> > can identify them & get them ironed out.
> > Will let you know how I get on.
> 
> Ric,
> 
> Please do.  I tried the ADI without much success, at least when I got
> to addons.  I admit that I gave up rather quickly when Bill L. 
> mentioned Inno Setup.

I got around to testing this and with the change to appdist.ijs that Bill H 
suggested earlier (now committed to base system) was able to successfully 
create working installers on Windows & Linux (untested on Mac). My application 
included both the tables/tara and data/sqlite addons so I can report that at 
least some addons work.

To include the addons I used the following setting in installer.ijs
APP_ADDONS=: 0 : 0
~addons\data\sqlite\*
~addons\tables\tara\*
)

and ( require 'data/sqlite tables/tara' ) in my application.

The installer created is always named ~temp/app.exe (or ~temp/app.sh), but 
there is no problem with renaming the file as desired.

ADI creates a directory tree with all the files necessary in the ~temp 
directory, and I imagine it would be relatively easy to use that directory tree 
in conjunction with Inno Setup to create a more fully-featured installer for 
Windows if desired.

Ric

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to