newexhsh
asked on
silent install Java runtime by script through GPO
Hi All,
is there anyone experience silent install software by script through GPO (eg. Java runtime or whatever)?
is yes, can post the code here?
Thanks.
is there anyone experience silent install software by script through GPO (eg. Java runtime or whatever)?
is yes, can post the code here?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
look good, thanks.
The script can be run, but whether it will be run everytime when the computer startup or if the computer already installed the software, it will not run automatically?
The script can be run, but whether it will be run everytime when the computer startup or if the computer already installed the software, it will not run automatically?
I am not sure what you wrote 10221022:, sorry can you rephrase. The script runs on startup. If the Java is already installed the installer will fail gracefully so no need to worry there.
mmcodefive,
I would like to run it in domain level, is it possble to exclude severs to install this? Or you suggest to run it by OU?
I would like to run it in domain level, is it possble to exclude severs to install this? Or you suggest to run it by OU?
OU definately. Not good to do this on servers this way. Do the servers manually or not at all. If you dont browse the web from the servers you have, its not entirely necessary to even have java installed. This really depends on your orginization.
You can get an MSI from the downloaded java installer by doing the following:
a. Run the exe, that is it, do not click accept!
b. look in
i. XP %APPDATA%\Sun\Java\ jre1.6.0_14
ii. Vista C:\Users\username\AppData\ LocalLow\S un\Java\jr e1.6.0_14
c. Copy the files to where ever.
d. Cancel the install
Here is the command line for installing in silent mode:
<jre>.exe [/L<language ID>] /s /v/qn" [ADDLOCAL=jrecore[,extra][ ,other_US] | ALL] [IEXPLORER=1] [NETSCAPE6=1] [MOZILLA=1] [INSTALLDIR=<drive>:\<inst all_path>] [REBOOT=Suppress] [JAVAUPDATE=0] [WEBSTARTICON=0]"
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/silent.html
a. Run the exe, that is it, do not click accept!
b. look in
i. XP %APPDATA%\Sun\Java\ jre1.6.0_14
ii. Vista C:\Users\username\AppData\
c. Copy the files to where ever.
d. Cancel the install
Here is the command line for installing in silent mode:
<jre>.exe [/L<language ID>] /s /v/qn" [ADDLOCAL=jrecore[,extra][
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/silent.html
http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/silent.html
Regards