Hi there,
I know this topic has come up several times in the past but I haven't managed to find an answer that I think is suitable for my project.
There are files installed on the target computer that need to store values entered during install time. i.e. the installer accepts a directory path and outputs this to the rewritten file.
The method of rewriting the file is through a java class, but in order to launch that java class, I'm using a batch file to call "java [className] [commandLineParameters]".
And so, to call the batch file I use "Exe with Working Dir..." I call my batch file with the params needed in the java file. ([#FileRewrite.bat] etc).
Anyway, I have switched echo off in the batch file and called "javaw" instead of java, but I still get an empty DOS window popping up...I've tried using <viewer.exe> but the problem remains, and I don't want to use VBS due to it's restrictions on using parameters (I repeat the rewrite operation around 10/15 times with varying parameters each time).
What else can I do to prevent these popups? Or am I going to be falling back to writing a new DLL or EXE to perform this operation?
Thanks,
Tom