Hi all,
First - Happy new year and that 2016 will be full of success!
Second...
I'm trying to create a simple script that install Java on a computer. The script is the following:
@echo java
@echo off
@set CWD=
SET CWD=%~dp0
:Install
echo Installing...
@start /wait %CWD%setup.exe /s
On the SCCM I have create one deployment type to execute this script (install.cmd). On the same folder where the script is, I have setup.exe (which is JAVA installer).
The detection method is on the java.exe... user experience is Install for system and on the content (deployment options), I'm downloading the content and running locally on the computer.
The deployment is set to be available so that the user can choose to install the program. I don't know how many times I tried this, but it fails when I press install on the software center nor application catalog and the logs don't show errors (appEnforce.log). Note that other deployments (using MSI) work very well. However scripts seems to need something else or more details. Does any has this kind of issue or know how to workaround this problem?
p.s. install Java is only an example. I need to change other programs that don't use MSI.
Thank you in advanced