How to uninstall Microsoft Advertising SDK for Windows 8.1

Windows 10 Advertising SDK Walkthrough article states that “it is highly recommended that you uninstall all prior instances of the Advertising SDK”. I am not sure that the article is relevant, because it mentions some preview version of SDK, but never too much of a good thing, so I decided to get rid of Advertising SDK for Windows 8.1 that is listed in VS2015 extensions along with the new SDK:

Microsoft Advertising SDK for Windows 8.1

For some reason Advertising SDK is not found in Apps & features:

 Apps & features

So after doing some internet search I found a way how to uninstall it using PowerShall, below I briefly described steps I did:

Run PowerShall as administrator:

PowerShall

listed all the Microsoft Advertising components:

gwmi Win32_Product -Filter "Name LIKE 'Microsoft Advertising%'"

IdentifyingNumber : {6AB13C21-C3EC-46E1-8009-6FD5EBEE515B}
Name              : Microsoft Advertising SDK for Windows 8.1 – ENU
Vendor            : Microsoft Corporation
Version           : 8.1.30809.0
Caption           : Microsoft Advertising SDK for Windows 8.1 – ENU

IdentifyingNumber : {6AC81125-8485-463D-9352-3F35A2508C11}
Name              : Microsoft Advertising SDK for Windows Phone 8.1 XAML – ENU
Vendor            : Microsoft Corporation
Version           : 8.1.40427.0
Caption           : Microsoft Advertising SDK for Windows Phone 8.1 XAML – ENU

IdentifyingNumber : {5C87A4DB-31C7-465E-9356-71B485B69EC8}
Name              : Microsoft Advertising SDK for Windows Phone – ENU
Vendor            : Microsoft Corporation
Version           : 6.2.960.0
Caption           : Microsoft Advertising SDK for Windows Phone – ENU

IdentifyingNumber : {EBD9DB6D-180B-4C59-9622-B75CC4B32C94}
Name              : Microsoft Advertising Service Extension for Visual Studio
Vendor            : Microsoft Corporation
Version           : 12.0.40402.0
Caption           : Microsoft Advertising Service Extension for Visual Studio

uninstalled them:

gwmi Win32_Product -Filter "Name LIKE 'Microsoft Advertising%'" | foreach { $_.Uninstall() }

__GENUS          : 2
__CLASS          : __PARAMETERS
__SUPERCLASS     :
__DYNASTY        : __PARAMETERS
__RELPATH        :
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
ReturnValue      : 0
PSComputerName   :

__GENUS          : 2
__CLASS          : __PARAMETERS
__SUPERCLASS     :
__DYNASTY        : __PARAMETERS
__RELPATH        :
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
ReturnValue      : 0
PSComputerName   :

__GENUS          : 2
__CLASS          : __PARAMETERS
__SUPERCLASS     :
__DYNASTY        : __PARAMETERS
__RELPATH        :
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
ReturnValue      : 0
PSComputerName   :

__GENUS          : 2
__CLASS          : __PARAMETERS
__SUPERCLASS     :
__DYNASTY        : __PARAMETERS
__RELPATH        :
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
ReturnValue      : 0
PSComputerName   :

A zero ReturnValue here indicates that uninstall was complete successfully, so do not have old SDK listed in VS2015 anymore:

Microsoft Advertising SDK

1 Response to How to uninstall Microsoft Advertising SDK for Windows 8.1

  1. dmitriano says:

    https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-windows-10-universal-applications
    A toolchain file to configure Visual Studio Generators for a Windows 10 Universal Application may look like this:

    set(CMAKE_SYSTEM_NAME WindowsStore)
    set(CMAKE_SYSTEM_VERSION 10.0)

Leave a Reply

Your email address will not be published. Required fields are marked *