Archive: Installer has problems with batch file


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


Make sure you set the correct working directory first with SetOutPath.

Stu


I did that and the I still have the same problem


How did you update the class path? Did you also update the environment block of the installer?


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?


never mind i followed the link, thanks for your help!


With the code from the page I linked to in my last reply.

http://nsis.sourceforge.net/Setting_...taller_Process