Kaseya Community

Script for Remove Messenger

  • Hello,

    I am making a script for remove Messenger, but, when I run the script, Confused does nothing. I am sure that execute the THEN sentence, but I´m not sure where is my error?

    I hope that you can help, This is my script

    IF user is logged in

    THEN
    Step 1.
    Execute Shell Command
    C:\Archivos de Programa\InstallShield Installation Information\{5BCED75A-909A-4DED-A95D-64D3C51784AA}\Setup.exe/Uninstall /s

    Execute as system

    Step 2.
    Send Message
    Finished Messenger Installation

    ELSE
    Nothing

    Thanks a lot

    ABRIL SEGURA

    Legacy Forum Name: Script for Remove Messenger,
    Legacy Posted By Username: asegura
  • Think msiexec.exe then..... uninstall line.
    google msiexec.exe.

    Your Welcome,

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: integricor
  • i have (only XP):

    step 1
    execute shell command:
    RunDll32 advpack.dll,LaunchINFSection %windir%\inf\msmsgs.inf,BLC.Remove
    execute as system

    step 2
    set registery value
    HKEY_LOCAL_MACHINE\Software\Microsoft\Outlook Express\Hide Messenger
    2
    reg_dword

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Switch
  • Hello, Thanks a lot for your help, and if its possible that you answer, my question, I made the script and works fine, but I dont see, the effects in the messenger, because the program is still running.
    What happend with this?
    I think that can be, that I wont remove the Windows Live Messenger, and this script its for remove windows default messenger.
    WHAT CAN I DO?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: asegura
  • Hello Again

    I Now Resolved, Scrpt's Problem, I Was Seeking, At Internet And I Found The Next:

    In The Value Of Registration Of Windows, It's Important Get, The Correct Number For Each Aplication, That You Wont Unisntall, For Example Acrobat Reader 8.0, You Need Find Search, In Value Register Windows The Key, For Example For Acrobat It's:

    Hkey_local_machine/software/adobe/acrobat Reader/8.0/installer/
    {ac76ba86-7ad7-1034-7b44-a81000000003}

    And That Key It's Necessary Put In The Script:

    If True

    Then
    Execute File
    C:\windows\system32\msiexec.exe
    /x {ac76ba86-7ad7-1034-7b44-a81000000003}/quiet
    Execute As System Or User (if You Wont It)

    And Its All, The Application Will Start To Uninstall....Wink

    I Hope That This Help For Future

    Regards

    Abril Segura Big Smile

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: asegura