Hi Greggory,
This is a great idea, I gave it a try and I have a couple of comments...
iintl6i.dll is apparently required for something (got an error because I didn't have it and downloaded it from Hobbes) - that should be mentioned in the README. Also, it wasn't clear that you need to put the archive where it will stay, the files are not copied during install - only objects are created.
My Java is in \Programs\Java6 and I want to store my java programs in \Programs\JavaApps. It would be nice if the install program asked for these locations (with defaults offered) and then used them for all of the install objects. Maybe create some kind of *.ini file at install that is used by all objects?
Maybe it would be good if all programs on your server have a generic name (like JMol.zip) that contains the latest version known to work so a user doesn't have to download a new install file just to update - they simply run the same one again.
Inside the 'eJava Apps' folder created at install is a folder called 'Get eJava Apps' that contains shadows of install files for various apps. It would be nice if there was a directory called '\Get eJava Apps' that had only these files in it and then put a shadow of that directory in the 'eJava Apps' folder. That way, if I copy a new install file to that directory, it automatically shows up in the 'Get eJava Apps' folder.
I use ImageJ a lot, so here is ImageJ in your template:
CreateObjects:
rc = CreateObject( 'WPProgram',,
'ImageJ',,
'<WP_EJAVA>',,
'NOTDEFAULTICON=YES;'||,
'NOPRINT=YES;'||,
'DEFAULTVIEW=RUNNING;'||,
';'||,
'ICONPOS=2,12;'||,
'ICONFILE='||CurrentDir||'\icons\os2\ImageJ.ICO;'||,
'EXENAME='||JavaHome||'\BIN\JAVAW.EXE;'||,
'STARTUPDIR='||JavaProg||'\ImageJ;'||,
'PARAMETERS=-Xmx256m -jar ij.jar;'||,
'PROGTYPE=PM;'||,
'OBJECTID=<IMAGEJ>',,
CreateCollision )
return
Here is the link to it:
http://rsb.info.nih.gov/ij/download/zips/ij149.zip and I attached an icon for it. Once installed, you can update ImageJ to the latest version from within ImageJ.
Thanks!