Jump to content
Excelsior Forums
TimHogan

Is there a JetPack command line mode?

Recommended Posts

If I need to use JetPack to create deployable executables, is there a command line (non-GUI) mode for running JetPack? I would like to integrate the packaging into a build process.

Share this post


Link to post
Share on other sites

from JET support mail:

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

Here goes the explanation on how to use JetPack in the batch mode.

1) Create a plain text file (e.g tempfileDepScr) in the working directory

with following format:

===============

-f<name of file with full path from working directory>

-f<....>

-f<....>

---- the following items are not obligatory

-fLicense314.txt      - file of License

-fSplash314.bmp       - file of  Splash

-b<name of bat file>  - at start .bat file

-J                              - add JIT      

-R                           - add JRE

    or

-R-                       - don't use JRE

===============

Note: if you use License314.txt and fSplash314.bmp, they must be present in

the working directory with exactly such names

2) run DepScr as

 DepScr @tempfileDepScr -dPackageScr.txt

3) Create resulting archive "ArchiveName" as

 DepMk -dArchiveName.exe -eDepGUI.exe -z PackageScr.txt

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

I never got this working but that was with older version of JET I believe

try some experiments and tell how it goes :)

Share this post


Link to post
Share on other sites

This does seem to work, but the resulting JetPack file runs in GUI mode. Is there an option to allow packing from the command line without the "GUI unpack" option? I would prefer not to have the GUI appear when I run the resulting JetPack file (I want all the packed files to just be extracted into the current directory).

Share this post


Link to post
Share on other sites
This does seem to work, but the resulting JetPack file runs in GUI mode. Is there an option to allow packing from the command line without the "GUI unpack" option?

Yes, just omit the "-eDepGUI.exe" parameter in the DepMk's command line.

Share this post


Link to post
Share on other sites

Thanks  ;D

One more question on this subject. When I run the JetPack executable to unpack it contents, I also get a file called CRTSR314.exe. What is the purpose of this executable? What will happen if I run it?

Share this post


Link to post
Share on other sites

×