Skip to content
⌘ NSIS Forum Archive

running a jar command inside of nsis.

3 posts

IYIaster#

running a jar command inside of nsis.

I have a jar file that extracts i would like to run a command inside of nsis that would extract this. here is the command I run from a command line: jar xvf file.jar (jar is jar.exe and the path is already setup so from a windows command line we use jar)
IYIaster#
OK I got it working using Nzipdll::nzip /PROGBAR "$EXEDIR\Shared\file.jar" "C:\"

already using nzipdll to extract some zips in my installer
malcolmdavis#
nsExec will execute command-line based programs and capture the output without opening a dos box.