svLogPath = "-E -i combo.sql -o " + TARGETDIR +
"\\install_log.txt";
MessageBox (svLogPath, INFORMATION);
nResult = LaunchAppAndWait(svISQLW, svLogPath, WAIT);
The application runs, but the output file, "install_log.txt" does not
get created. When I 'hard code' the path (instead of using the
variable), it works fine. The message box returns the correct command
line argument. The problem is, I really want this log file generated to
the TARGETDIR, not to a hard-coded location. This is the last hurdle in
my app.
What version of InstallShield are you using?
Try using the ^ sign insetad of the +, so your commandline will look like
this:
svLogPath="-E =i combo.sql -o "+TARGETDIR^"install log.txt";
Also, what if you specify a short file name, so rather than install log.txt
you name the text file install.txt or just log.txt.
Does that make a difference?
--
Sincerely,
Olga K.
InstallSheild Technical Support
"Susan" <su...@ccc.net> wrote in message news:3A144977...@ccc.net...