windows - How to install a software and then run java class from batch file -


i have batch file runs java class file.
want install software before running class file? when runs batch file again should not ask installing software again.

file.bat

@echo off cd acr122u_msi_winx64_1120_p setup.exe java -cp zpay-client-1.5-jar-with-dependencies.jar;.\resources com.abc.posgui.licensevalidator 

but asks install software everytime , not execute java class. appreciated.

if java doesn't work have tried launch batch without "setup.exe"?

@echo off cd acr122u_msi_winx64_1120_p rem setup.exe java -cp zpay-client-1.5-jar-with-dependencies.jar;.\resources com.abc.posgui.licensevalidator 

otherwise, sure installation has stopped?


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -