cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
raghuveer
Level 2

Silent Installation Response file

Hi All,

I am trying to install our product on French machine (build with IA 2008 VP1) in silent mode with a reponse file(ini file). The response has some file path entries, for which the file separtor is '\'. With this response file, the installation is aborting. If I replace all the file separtor entries in the response file, the product is getting installed successfully.

my sample response file is:
[OTHER]
QUIET=/qn
[INSTALL]
AS_DIR="C:\bea\user_projects\domains\base_domain"

With file separator '\', If I run in debug mode, I am getting following messages:
ocal Settings\Temp\1\I1264700731\Windows\InstallerData\Execute.zip;C:\Documents
and Settings\Administrateur\Local Settings\Temp\1\I1264700731\InstallerData\Reso
urce1.zip;C:\Documents and Settings\Administrateur\Local Settings\Temp\1\I126470
0731\Windows\InstallerData\Resource1.zip;C:\Documents and Settings\Administrateu
r\Local Settings\Temp\1\I1264700731\InstallerData;C:\Documents and Settings\Admi
nistrateur\Local Settings\Temp\1\I1264700731\Windows\InstallerData;" com.zerog.l
ax.LAX "C:/Documents and Settings/Administrateur/Local Settings/Temp/1/I12647007
31/Windows/install.lax" "C:/Documents and Settings/Administrateur/Local Settings
/Temp/1/lax7.tmp" -i silent -f C:\\cabi-windows-3_1_0_0\\test.ini -DSILENT_INSTA
LL_RESPONSE_FILE="C:\\cabi-windows-3_1_0_0\\test.ini"
Picked up _JAVA_OPTIONS: -Xmx256m

LAX Version = 9.5
IAResourceBundle: create resource bundle: en
IACommandLineParser:: ---starting---
SETTING COMMAND LINE SYS-PROP: SILENT_INSTALL_RESPONSE_FILE=C:\cabi-windows-3_1_
0_0\test.ini
IACommandLineParser:: ---ending---
Command Line Arguments contain illegal values.

Usage: install [-f | -options]
(to execute the installer)

where options include:
-?
show this help text
-i [swing | console | silent]
specify the user interface mode for the installer
-D=
specify installer properties

notes:
1. the path to the installer properties file may be either absolute,
or relative to the directory in which the installer resides.
2. if an installer properties file is specified and exists, all other
command line options will be ignored.
3. if a properties file named either 'installer.properties' or
.properties resides in the same directory as the
installer, it will automatically be used, overriding all other command
line options, unless the '-f' option is used to point to another valid
properties file.
4. if an installer properties file is specified but does not exist, the
default properties file, if present, will be used. Otherwise, any
supplied command line options will be used, or if no additional
options were specified, the installer will be run using the default
settings.
[press enter to close this window]

Can any body tell me what is the problem with IA, in this case?
Labels (1)
0 Kudos
(1) Reply
purcellk24
Level 7

To me it looks like your problem is finding the response file.
SETTING COMMAND LINE SYS-PROP: SILENT_INSTALL_RESPONSE_FILE=C:\cabi-windows-3_1_
0_0\test.ini
IACommandLineParser:: ---ending---
Command Line Arguments contain illegal values.

Usage: install [-f | -options]
(to execute the installer)


Also, the response file should be a properties file, not an ini file. I don't think it will like your [sections]. Try using # as a comment.
0 Kudos