Comments

12 comments

  • SelfMan

    AFAIK the skype installation ID did not change sice Microsoft took it over.

    I am using a batch for skype update. Just replace the msi file with your version,

    The msi download is pretty hidden, but can be downloaded from here: http://www.skype.com/en/business/downloading/

    ---------------------- cut -----------------

    @echo off

    echo Closing skype...
    taskkill /F /IM Skype.exe

    echo Removing previous versions...
    MsiExec.exe /X{375943E2-B268-4AD7-B7A4-0FD90E9C2AC7} /quiet
    MsiExec.exe /X{5C474A83-A45F-470C-9AC8-2BD1C251BF9A} /quiet
    MsiExec.exe /X{9C538746-C2DC-40FC-B1FB-D4EA7966ABEB} /quiet
    MsiExec.exe /X{F1CECE09-7CBE-4E98-B435-DA87CDA86167} /quiet
    MsiExec.exe /X{1845470B-EB14-4ABC-835B-E36C693DC07D} /quiet

    echo Installing latest version
    msiexec /i SkypeSetup_v6.21.32.104.msi /qb INSTALLLEVEL=1 ALLUSERS=1 FEATURE_IEPLUGIN=0 FEATURE_FFPLUGIN=0 TRANSFORMS=:RemoveStartup.mst STARTSKYPE=FALSE SKYPEREMOVAL=INNO

    -------------------- cut ------------------

    0
    Comment actions Permalink
  • Rjansick

    Thanks for the quick response. I am actually just wanting to uninstall Skype because it is not a program we support and some users have "accidentally" installed it. So I am looking for a way to uninstall all versions of Skype from users PCs, no need to install a different version afterwards.

     

    Thanks,

    0
    Comment actions Permalink
  • SelfMan

    OK, then just use the uninstall part of the batch and you are good to go.

    0
    Comment actions Permalink
  • Rjansick

    I tried to create a package using the uninstall part and it failed. I have attached a screenshot of the package I created.

    0
    Comment actions Permalink
  • SelfMan

    Some of the commands will report as failed, because the application does not exist. Onle the one which is installed will return a 0 (as of no errors). You should check the computer if the skype got removed.

    0
    Comment actions Permalink
  • Austin O'Kelly

    I'm in the same boat. There are so many versions installed across our organization and the uninstall script comes back with error 1605 - version not installed.

    0
    Comment actions Permalink
  • Brian Camp

    What about something like

    wmic product where "name like 'Skype%%'" call uninstall

    That usually works pretty well for me as a last resort to remove something stubborn.  It'll remove anything with that word in the name.  It also works really well if you want to remove multiple programs from a single vendor, if you do something like replace 'Skype%%' with 'Adobe%%', it'll catch everything with Adobe in the name, so be careful with that.

    0
    Comment actions Permalink
  • Scott Mikules

    Unfortunately "MsiExec.exe /X{1845470B-EB14-4ABC-835B-E36C693DC07D} /quiet" (even for the correct version of Skype) no longer works in PDQ

    Back to manually uninstalling Skype per PC :/

    0
    Comment actions Permalink
  • SelfMan

    The Skypye 7.36 has the same uninstall string as before
    MsiExec.exe /X{1845470B-EB14-4ABC-835B-E36C693DC07D} so if it does not work for you, there must be some other problem.

    0
    Comment actions Permalink
  • Scott Mikules

    Toyed around with it longer and discovered the video I was watching of the two guys at the company was very, very outdated. What you posted is what I found that worked earlier - I was placing a string behind it, which it no longer needs.

    Because there are several other versions I keep finding throughout the company I added multiple MSIExec's to other versions. It works - but PDQ acts a little dumb at this point. After it uninstalls the version it finds it will continue to look for the other versions I added (like above) and report back errors because it's only designed to spit out a "catch all" error. I really which the developers would change this. It'd be nice to have a report that doesn't show a bunch of "fails" because it tried to uninstall something that wasn't there or spit out a different type of error in relation to "hey, I didn't see any of these versions to uninstall, but it's not a fail"

    Wishful thinking on my part, most likely. Thank you, though. I was glad to get that working

    0
    Comment actions Permalink
  • SelfMan

    what should also work is the following command:
    wmic product where "name like 'Skype™ %'" call uninstall /nointeractive

    you just have to be carefull with the TM part and if used in batch double the %%.
    I've tested it just now and skype got uninstalled.

    In theory you could also use this:
    wmic product where "name like 'Skype%'" call uninstall /nointeractive

    But that might have some unwanted effects like the uninstallation of othe skype related utilities. Like Skype Exporter.

    0
    Comment actions Permalink
  • Scott Mikules

     

    ok, editing all of my post here. 

     

    "Wmic product where "name like 'Skype%%'" call uninstall /nointeractive" worked! Flawlessly, too. Skype for Business still installed and working. The other suggestion witout %% didn't work. Just FYI for anyone else coming to this thread.

     

    Thank you!

    0
    Comment actions Permalink

Please sign in to leave a comment.