So I am in the process of attempting to get a slightly older piece of software pushed out to my test environment. The software has prerequisites, an installer, and then a patch. I created a batch file script that runs perfectly fine when run directly on the PC. However, when I try to deploy it and run it, its failing.
So my questions are these. Is it wise to script something like this out? Or is it best practice to make each component its own package/app?
Also, any thoughts as to why it might fail thru SCCM but not locally?
I am relatively new to SCCM. We just put this server up and have been working in it since mid July. Were making pretty good progress with lots of apps, but this one has been relatively tricky.
Script Text:
@ECHO OFF
color 57
TITLE Workshare (Deltaview)
cls
:PreRequisites
ECHO Registry
Regedit /s "%~dp0WorkshareInstall.reg"
ECHO KB908002
msiexec.exe /i "%~dp0Extracted\WorksharePdfConverter.msi" /qn
ECHO VC++ x64 ATL Security Update
msiexec.exe /i "%~dp0Extracted\WorksharePdfConverter.msi" /qn
ECHO PDF Converter
msiexec.exe /i "%~dp0Extracted\WorksharePdfConverter.msi" /q
:Workshare
ECHO Workshare
msiexec.exe /i "%~dp0Extracted\Professional.msi" REINSTALL=ALL ALLUSERS=1 LICFILE="%~dp0workshare.lic" INSTALL_DVSHORTCUT=ON INSTALL_COMPARE=ON INSTALL_PROTECT=OFF INSTALL_REVIEW=OFF INSTALL_INTERWOVEN=ON /quiet /norestart
:Patches
ECHO Patches
"%~dp0PointRelease\Workshare523-PointRelease3.msp" /quiet /norestart
PAUSE
:END
EXIT