mar, 29 Dec 2009, Bill Harris skribis:
> I'm having some success, I think, in using Inno Setup to field my app. 
> Right now, I've got a number of libraries included by Inno Setup and a
> number included by PM.
> 
> I'm struggling to figure out how to load a library with Inno Setup.
> 
> For example, I include the files in their original locations (e.g., into
> myapp/addons/tables/tara/tara.ijs from the analogous spot in j602/).  That
> doesn't execute the code, of course, so I resort to 0!:0
> <'addons/tables/tara/tara.ijs'.  That fails, as does ./addons/... (okay:
> I've been in a *nix world a long time).  Putting in the full path name
> works, but I don't really know where the user might install the program. 
> Any quick tips to make that happen?

I guess it is not related to innosetup itself but rather from running
J scripts outside the J development installation. 

you can load script or dll relative to BINPATH at runtime, eg
0!:0 < jhostpath BINPATH, '/../addons/tables/tara/tara.ijs'

However I've never used addons folder but instead put all those
scripts inside the standalone script and related dll inside the bin
folder.  

You can also put jprce.dll inside the bin folder, the jregex is
written to be able to loading it in that place.  If not, amend that
script. ;-)

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to