- You need a file archiver that can extract files from ISO and CAB archives. If you don't have one, download freeware 7-Zip.
- Download ISO image of "Microsoft Windows SDK for Windows 7 and .NET Framework 4" version 7.1 from Microsoft Download Center page. Select the ISO file to download based upon your CPU architecture (x86, x64 or Itanium).
- Open ISO file with 7-Zip and extract the
Setup\WinSDKNetFxTools\cab1.cab
file. - Open
cab1.cab
with 7-Zip and extract theWinSDK_FxCopSetup.exe_all_enu_1B2F0812_3E8B_426F_95DE_4655AE4DA6C6
file. - Rename it to
WinSDK_FxCopSetup.exe
. This file is the FxCop 10.0 standalone installer.
set iso=GRMSDK_EN_DVD.iso
set cab=cab1.cab
set unzip="%ProgramFiles%\7-Zip\7z.exe"
%unzip% e %iso% Setup\WinSDKNetFxTools\%cab%
%unzip% e -r %cab% WinSDK_FxCopSetup.exe*
ren WinSDK_FxCopSetup.exe* WinSDK_FxCopSetup.exe
Change first line accordingly if your CPU architecture is not x86.
Thanks for your very good instructions, I was able to extract and install FxCop from the 64-bit ISO of the Windows SDK for Windows 7, on a Windows 8 machine.
ReplyDeleteI wonder why Microsoft makes it so difficult to install FxCop, it would be in their best interest to help developers make better software...
Or you can download it from CodePlex:
ReplyDeletehttps://fxcopinstaller.codeplex.com
Thanks for the step-by-step instructions, before I started to work with archives,
ReplyDeleteI had to understand in more detail how to open 7z files https://wikiext.com/7z without loss of information (the previous archive downloaded 87% and stopped so strange thing)
In the end, I didn`t find anything better than using the universal file viewer and the .bat extension I also opened with it. Pretty handy tool, especially when working with a bunch of extensions every day.