Running a batch script via Dell Kace.
Hi,
I am try to run the script as shown below. Basically what it does is that it will copy java properties file to user's c drive and run java silent installation via UNC path as shown below. It does not work. But the strange thing is that if I run the batch file locally on my computer it works perfectly fine. I had done similar things such as installing font via VBS using wscript command in my batch script. It works fine. But it does not work for this??? Strange isn't it? I run the batch file using a domain account which has rights to install and retrieve files from shared folder.
@ECHO OFF
xcopy "\\\Java\installjavaconfig.properties" "C:\" /Y
"\\\Java\jre-8u65-windows-i586.exe" INSTALLCFG="C:\installjavaconfig.properties"
Answers (2)
https://blogs.oracle.com/thejavatutorials/entry/jdk_8u65_released
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html