Programming

“Microsoft Advertising SDK”Visual Studio 확장을 제거하는 방법은 무엇입니까?

procodes 2020. 5. 20. 22:07
반응형

“Microsoft Advertising SDK”Visual Studio 확장을 제거하는 방법은 무엇입니까?


Visual Studio (2012 년 1 월)에 나열된 확장 중 하나는 "Windows 8.1 용 Microsoft Advertising SDK"입니다. 필요하지 않은 확장 프로그램을 제거하고 싶지만이 확장 프로그램은 허용되지 않습니다. (enabled!) 버튼을 가리키면 툴팁에 표시됩니다.

확장 및 업데이트를 통해이 제품을 제거 할 수 없습니다

다음과 같이 보입니다 :

확장

두 번째 검사에서 비슷한 (더 유용한) 메시지가 오른쪽 아래에 표시됩니다.

이 확장을 제거하려면 Windows 제어판의 프로그램 및 기능 창을 사용해야합니다.

충분히 쉬운가요? 그러나 그것은 없습니다!

제거

또는:

검색 제거

화면의 지시 사항 외에도 검색했습니다. 유일하게 유용한 소스는 기본적으로 동일한 내용을 나타내는 이 MSDN 페이지 였습니다 . 링크가 끊어졌습니다 .

의견 제시 자 들은 확장 웹 페이지 ( "검토"및 "Q AND A"탭 참조)에 비슷한 불만이 있다고 언급했습니다 . 이 질문도 거기에 게시했습니다. 링크가 이제 끊어졌지만 다른 사람을 검색해도 MSDN 포럼에서 여전히 불평하고 있습니다 .

어쨌든이 확장 프로그램을 쉽게 제거 할 수 있습니까?


가에서 다음을 실행 상승 파워 쉘 프롬프트 :

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

그런 다음 실제로 제거하려면 다음 | foreach { $_.Uninstall() }과 같이 명령에 add 추가하십시오 .

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   : 

The important thing to look for is ReturnValue : 0 which means success. If you get ReturnValue : 1603 it likely means your Powershell prompt wasn't elevated (running as admin). (Full list of ReturnValues documented here)


Total Uninstaller is a simple UI tool for removing "Microsoft Advertising SDK" and similar sw.


The PowerShell answer given by Duncan Smith above is great. However, as an alternative, in the case of VS2013, if you have the iso image for the Visual Studio installation, if you navigate to the packages\AdsSDK10 folder, you will find two files,

MSAdvertisingServiceExtension.msi
Win8_1AdSDK.msi

If you right click on these, you can choose the uninstall option, and this will remove the pubCenter Integration and the Advertising SDK for Windows 8.1


For this, and all other bloatware that comes with VS 2012 and 2013 (and 2015 - I highly doubt that the current trend will ever revert back to the advanced customization options of 2010), simply install Revo Uninstaller (has a fully functional free trial), and enable "Show system components" in its options, and voila - simple as that.

Some integrated components may refuse to be removed - but if you are absolutely sure about it, just right click on them and select "Forced Uninstall", and that's it. The most offending ones, especially the extensions with their "Uninstall" button disabled (grayed out) in VS, are perfectly safe to remove - they even warn if something else depends on them, so no worries there either.


The uninstall is not available with the version of Advertising SDK that you are using. You have install the latest update to the Advertising SDK, after that an uninstaller will become available under Programs and Features.


Sharing my prefered method. There were a few other extensions I wanted to remove as well (The windows Phone Tools and F#)

https://stackoverflow.com/a/28050106/376487

Direct link to the uninstaller http://totaluninstaller.codeplex.com/

You can configure it to remove more or less depending on your needs.

Edit: @Max actually posted a forked version of this. This one is file based setup with a command line interface. I use it to script the cleanup as post visual studio install.


I solved this with installers downloaded from this page: https://visualstudiogallery.msdn.microsoft.com/site/search?query=Advertising&f%5B0%5D.Value=Advertising&f%5B0%5D.Type=SearchText&ac=2

Be sure to run the msi file as administrator and choose Remove from the main interface page. I also had to point the uninstaller back to the msi file I started with before it would continue (duh).

Edit: After using these installers the Advertising Pubcenter Extension still remained installed. I tried the commandline version of TotalUninstaller and that worked fine (I had tried the UI version initially which left some stuff that the commandline version could uninstall).

I had problems with most of the approaches suggested here, possibly because of my specific setup, I am on a virtual machine on our companies network. Uninstalling through the Programs and features control panel failed with an error saying the installer msi couldn't be found. The powershell answer of Duncan Smart would run endlessly (until I stopped it after 15 minutes or so), so I'm not sure it doesn't work, but it took so long I gave up waiting for it. The Total uninstaller gave me the same error as uninstalling through the control panel. I also tracked down an installer msi file on one of our network drives, but it complained a newer version was already installed. Some googling turned up the visualstudiogallery site where I could download the installers that allowed me to uninstall.

참고 URL : https://stackoverflow.com/questions/24134693/how-to-uninstall-the-microsoft-advertising-sdk-visual-studio-extension

반응형