Using the steps detailed here:
http://docs.oracle.com/cd/E11882_01/install.112/e24187/advance.htm I was able to create a response file for Oracle client 22.214.171.124.win32. I created the response file by starting a manual installation (On a Windows 7 client) and then clicking on the option to create and save a response file. I exited out of the Oracle install before completing it.
I then used this response file during a Windows 7 unattended install using this at the command prompt: setup.exe -silent -nowelcome -nowait -noconfig - responseFile [location]
My question is how do I set up variables in the response file so that it will work on installs for other users?
# This variable holds the hostname of the system as set by the user.
# It can be used to force the installation to use an alternative
# hostname rather than using the first hostname found on the system
# (e.g., for systems with multiple hostnames and network interfaces). ORACLE_HOSTNAME=[HOW DO I SETUP A VARIABLE HERE FOR THE USER'S PCNAME?]
# Complete path of the Oracle Home ORACLE_HOME=C:\app\[HOW DO I SETUP A VARIABLE FOR THE USER's FOLDER HERE?]\product\11.2.0\client_1
# Complete path of the Oracle Base. ORACLE_BASE=C:\app\[HOW DO I SETUP A VARIABLE FOR THE USER's FOLDER HERE?]
What variables can I use so that I can use a single response file for multiple users?
I know no way of doing so, but I am not a Windows expert. For the last two parameters (ORACLE_HOME and ORACLE_BASE), it is best practice to have these values the same across multiple machines, for ease of maintainability - think of future maintenance scripts you will likely have to write - if these parameters are the same across many computers, your scripting would be much easier/simpler/cleaner