Changes

Microsoft Windows Management Framework

3,040 bytes added, 21:09, 30 December 2013
Created the page
The Windows Management Framework includes several features, the most useful of which are probably PowerShell and WMI.

=WMF 3=

WMF 3 requires the [[Microsoft .NET Framework]] 4.5 and can be installed on Windows 7 SP1, Windows Server 2008 SP2 and Windows Server 2008 R2 SP1. It is already present on Windows 8.

Heed well the warnings on [http://www.microsoft.com/en-us/download/details.aspx?id=34595 the download page]: '''Do not install WMF 3 with System Center 2012 Configuration Manager, System Center Virtual Machine Manager, Exchange 2007, Exchange 2010, SharePoint 2010, Windows Small Business Server 2008 or Windows Small Business Server 2011.'''

Note that a reboot will almost certainly be required.

<source lang="xml">
<package
id="wmf3"
name="Microsoft Windows Management Framework 3"
revision="1-%PS_VERSION"
reboot="false"
priority="0">

<variable name="PS_VERSION" value="6.2.9200" />

<variable name="PKG_SOURCE" value="%SOFTWARE%\WMF\3\Windows6.0-KB2506146-x86.msu" os=".+6\.0\.\d{4}" architecture="x86"/>
<variable name="PKG_SOURCE" value="%SOFTWARE%\WMF\3\Windows6.0-KB2506146-x64.msu" os=".+6\.0\.\d{4}" architecture="x64"/>

<variable name="PKG_SOURCE" value="%SOFTWARE%\WMF\3\Windows6.1-KB2506143-x86.msu" os=".+6\.1\.\d{4}" architecture="x86"/>
<variable name="PKG_SOURCE" value="%SOFTWARE%\WMF\3\Windows6.1-KB2506143-x64.msu" os=".+6\.1\.\d{4}" architecture="x64"/>

<!-- dotnetfx4 will also work -->
<depends package-id="dotnetfx45" os=".+6\.[0-1]\.\d{4}"/>

<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\WindowsPowerShell\v1.0\powershell.exe" value="%PS_VERSION%" />

<!-- Warning: the KB977632 hotfix is needed if for some reason you're
installing this on Windows 7 without SP1. You probably shouldn't be
running non-SP1 Windows 7 anyway. -->

<!-- If you can't use Windows Update for some reason, you should apply
KB2823180 as part of this installation process, especially if you want
to be unable to remove WMF 3 cleanly later. -->

<!-- We'll need to reboot after installing WMF 3.0 if we want to install
other packages that depend on it. Otherwise, we can put it off until
the next time the computer's rebooted and continue from there; of
course, things that require WMF 3.0 will fail to install until that
happens. -->
<install cmd="wusa &quot;%PKG_SOURCE%&quot; /quiet /norestart" os=".+6\.[0-1]\.\d{4}" >
<exit code="0" />
<exit code="3010" reboot="true" />
</install>

<!-- this may not work! Trying to install this while it's already present
returns 23593202 in my testing. -->
<!-- <upgrade include="install" /> -->

<remove cmd="wusa /uninstall /kb:2506143 /quiet /norestart" os=".+6\.1\.\d{4}" />
<remove cmd="wusa /uninstall /kb:2506146 /quiet /norestart" os=".+6\.0\.\d{4}" />
</package>
</source>

[[Category:Silent Installers]]
[[Category:Microsoft software]]
Anonymous user