Thanks to Devon and others, I've got the Project Manager working, but I'm
still stumped by the application installer.  I think I may try to package
up something myself, but I'd still like to get the installer to work.

Here's my installer.ijs, with a few names changed:

--------------------------------------------------------------------

NB. see lab "Application Distribution - Installer"
NB. build installer for this application
NB.  run this installer file
NB.  build'' - builds installer

load appdist=: jpath '~system\examples\appdist\appdist.ijs'

APP_COMPANY=: 'My Company'
APP_PRODUCT=: 'My app with date and version number'

NB. script that runs the application
APP_IJS=:  '~user\projects\myapp\app.ijs'

NB. path to app.ico app.png app.icns file(s)
APP_ICON=: '~user\projects\apps\example'

NB. files (wildcards allowed) - must be in ~user
APP_COMMON=: 0 : 0
~user\projects\myapp\myapp.ijs
~user\projects\myapp\myapp.sql
)

NB. 1 to lock all user ijs files
APP_LOCK=: 0

NB. ~addons\.... - addons to include
APP_ADDONS=: 0 : 0
)

NB. windows specific
APP_WIN=: 0 : 0
~addons\data\sqlite\lib\sqlite3.dll
)

NB. linux specific
APP_LINUX=: 0 : 0
)

NB. mac specific
APP_MAC=: 0 : 0
)

--------------------------------------------------------------------

When I load that and then run build'', I get the two files (each about
14MB) ~/temp/app.exe and ~/temp/app.zip, but app.zip does not contain
myapp.ijs, and I presume app.exe does not, either.

I also get a directory myapp/myapp/..., which contains four subdirectories:

  drwxrwxrwx   1 wsharri  root             0 12-22 10:47 addons
  drwxrwxrwx   1 wsharri  root             0 12-22 10:47 bin
  drwxrwxrwx   1 wsharri  root             0 12-22 10:47 system
  drwxrwxrwx   1 wsharri  root             0 12-22 10:47 tools
  drwxrwxrwx   1 wsharri  root             0 12-22 10:47 user

user does contain app.ijs (for the installer), myapp.ijs (the output of
PM), and myapp.sql (a needed file).

Start > All Programs > myapp > myapp says it can't find j.exe; when I
select Browse, it opens a dialog in c:/j602/bin.

What am I missing?  I've searched the archives and the Wiki, but I don't
seem to find the answer that works for me.

Thanks,

Bill

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

Reply via email to