Archive: Check if Oracle XE silent installation finished


Check if Oracle XE silent installation finished
Hi,

It is the first time I am using NSIS for creating installer which contains Oracle XE silent installation. After that silent installation a log file is made, which contains response text - line of text with value 0 in case of successful installation and other values if installation was unsuccessful.

1. How can I start silent installation? If I start it from command line I do this with next command:
OracleXE.exe /s /f1"path_to_the_iss_file" /f2"path_of_the_produced_log_file"

2. How can I watch when log file is produced and how can I read response text from this file? Is there any file or directory watcher in NSIS?

Thanx for all help and answers,

Jani


Originally posted by JaniG
1. How can I start silent installation? If I start it from command line I do this with next command:
OracleXE.exe /s /f1"path_to_the_iss_file" /f2"path_of_the_produced_log_file"
I would assume you can use
ExecWait '"YourOraclePath With Spaces\OracleXE.exe" /s /f1"path_to_the_iss_file" /f2"path_of_the_produced_log_file"'
(Note the use of ' quotes around a string with " quotes.)

Originally posted by JaniG
2. How can I watch when log file is produced and how can I read response text from this file? Is there any file or directory watcher in NSIS?
You can take a look at the File Instructions paragraph of the manual. Or just use ${If} ${FileExists} "SomePath\log*.txt" , or whatever.
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.5