arrCommands = allineamento (_
“MsiExec.exe /X {5783F2D7-5001-0409-0002-0060B0CE6BBA} /QN /NORESTART„, _
“MsiExec.exe /X {5783F2D7-0301-0409-0002-0060B0CE6BBA} /QN /NORESTART„, _
“MsiExec.exe _ di /QN /X {BA3B0FA5-1EAD-476B-8E8D-6569CBC3E154} /NORESTART„
)
Regolare il objShell = CreateObject (“WScript.Shell„)
lo strResult = “software ha disinstallato: „ & VbCrLf & stringa (21, “=")
Per ogni strCommand nei arrCommands
intReturn = objShell.Run (strCommand, 0, allineare)
Se intReturn = 0 allora
strResult = strResult & VbCrLf & “SUCCESSO: „ & strCommand
Altrimenti
strResult = strResult & VbCrLf & “GUASTO: „ & strCommand
Concluder se
Dopo
strResult di MsgBox
|