Hello
I'm trying to run a. Bat file from the installer. I try with Exec, ExecWait and also with a plugin but not working.
Exec "C:\Tomcat_4.1\bin\service.bat"
I want to execute the file service.bat in order that installs the TOMCAT as service
Any ideas?
Problems when I want to execute a file .bat
3 posts
Do you set the working path correctly?
See following for a related topic:
Anyway, why do you need a batch file?
You can install a service by using a plugin like http://nsis.sourceforge.net/NSIS_Simple_Service_Plugin
See following for a related topic:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
Anyway, why do you need a batch file?
You can install a service by using a plugin like http://nsis.sourceforge.net/NSIS_Simple_Service_Plugin
I think you need a shell to execute a .bat file.
You should Exec "c:\windows\system32\cmd.exe /C C:\Tomcat_4.1\bin\service.bat" or something similar.
Best way should be to look at what is done by 'service.bat' and do the same using nsis and its plugins.
hope this helps
Stefano
You should Exec "c:\windows\system32\cmd.exe /C C:\Tomcat_4.1\bin\service.bat" or something similar.
Best way should be to look at what is done by 'service.bat' and do the same using nsis and its plugins.
hope this helps
Stefano