MSI install Scripting fails. I think its something to do with the after installation batch file.
Hi.
We have a java update msi script here which seems to run and the product installs ok.
Except the run now status shows failing.
here is the log
Creating process returned non-zero: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\157\kace3203.bat : (0) The operation completed successfully.
Error Code: 0
Status Code: 1
Im sure its something to do with this status code of 1. although it says it completed ok.
Here isĀ what the batch file does.
%SystemRoot%\System32\taskkill.exe /f /im jusched.exe
%SystemRoot%\System32\Reg.exe DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f
%SystemRoot%\System32\Reg.exe DELETE HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f
%SystemRoot%\System32\Reg.exe DELETE "HKLM\SOFTWARE\JavaSoft\Java Update" /f
%SystemRoot%\System32\Reg.exe DELETE "HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update" /f
anyone any ideas
Why not just use the builtin scripting tasks to do this? - htomlinson 9 years ago