Set WshShell = CreateObject("WScript.Shell") OShell.Run "%comspec% /c \\servername\path_to_uninstallfile\uninstall_flash_player.exe -uninstall", 2, Trueįunction InstallFlash() 'Installation Adobe FlashPlayer version 10.2.159.1 Set oShell = CreateObject("WScript.Shell") ("Select * from Win32_Process Where Name = 'iexplore.exe'")įunction UninstallOldFlash() 'Uninstall of older versions Adobe FlashPlayer Set colProcessList = objWMIService.ExecQuery _ You will have to use the uninstaller rather than msiexec /x!\\"
0 Comments
Leave a Reply. |