#How to remove microsoft silverlight on mac osx how to#
Reg delete HKLM\Software\Microsoft\Silverlight /f REM -> If error flag set, we do not have admin.Įcho Requesting administrative privileges.Įcho Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"Įcho UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 > "%temp%\getadmin.vbs"
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" The solution was to add a script to delete registry keys and uninstall Silverlight prior to installing update.Ĭopy/Paste this as a command to run as Step off