Skip to content
⌘ NSIS Forum Archive

Installer has problems with batch file

7 posts

gephcott#

Installer has problems with batch file

Hi,

I am trying to run a bat file that looks like this from the installer.

java sjsql org.h2.Driver jdbc:h2:tcp://localhost/Integrity sa "" Integrity.sql

while being run from the installer it gives the error that is can't find the sjsql driver, even though it is contained in the same directory as the bat file. When the bad file is run by itself it works perfectly. I updated the classpath EV during the installation and before i call the bat file, is this the problem? If so is there anyway around it?

Thanks for your time,
Jeff Wolcott
kichik#
How did you update the class path? Did you also update the environment block of the installer?
gephcott#
I updated the class path through a bat file run before the one i am having problems with, so i guess i didn't update the installer. How do I do this?
kichik#
With the code from the page I linked to in my last reply.