Difference between revisions of "Microsoft EMET"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(fixed upgrade process and path weirdness)
(Tidied up)
Line 1: Line 1:
== Enhanced Mitigation Experience Toolkit 4.1 Update 1 ==
+
== Enhanced Mitigation Experience Toolkit ==
  
This is a silent installer to deploy EMET 4.1 Update 1 and load a custom policy as specified in %configpath%. If you don't want to create a custom policy, EMET comes with sample policies in %PROGRAMFILES(x86)%\EMET 4.1 Update 1\Deployment\Protection Policies.
+
This is a silent installer to deploy Microsoft Enhanced Mitigation Experience Toolkit (EMET), a toolkit for deploying and configuring security mitigation technologies.
  
The EMET GUI is a 32-bit program, but EMET itself works on 32- and 64-bit machines.
+
This installer will also load a custom policy as specified in %CONFIGPATH%. If you don't want to create a custom policy, EMET comes with sample policies in (for example) "%PROGRAMFILES(x86)%\EMET 4.1 Update 1\Deployment\Protection Policies".
  
Download EMET and its user's guide at http://www.microsoft.com/en-us/download/details.aspx?id=41138
+
The EMET GUI is a 32-bit program that will work on 32-bit and 64-bit editions of Windows.
 +
 
 +
Download EMET and the User's Guide from http://www.microsoft.com/en-us/download/details.aspx?id=41138
 +
 
 +
==WPKG Package==
 +
 
 +
===EMET 4.1 Update 1===
  
 
<source lang="xml">
 
<source lang="xml">
Line 11: Line 17:
 
<packages>
 
<packages>
  
<package id="emet" name="Microsoft EMET 4.1 Update 1" revision="7" reboot="false" priority="50">
+
<package id="emet" name="Microsoft" revision="7" reboot="false" priority="50">
  
 
   <variable name="pkgstring" value="EMET 4.1 Update 1"/>
 
   <variable name="pkgstring" value="EMET 4.1 Update 1"/>
 +
 
   <variable name="pkgpath" value="EMET 4.1U1"/>
 
   <variable name="pkgpath" value="EMET 4.1U1"/>
 +
 
   <variable name="pfpath" value="EMET 4.1"/>
 
   <variable name="pfpath" value="EMET 4.1"/>
 +
 
   <variable name="configpath" value="%SOFTWARE%\%pkgpath%\prod-20140521.xml"/>
 
   <variable name="configpath" value="%SOFTWARE%\%pkgpath%\prod-20140521.xml"/>
 +
  
 
   <check type="uninstall" condition="exists" path="%pkgstring%"/>
 
   <check type="uninstall" condition="exists" path="%pkgstring%"/>
 
   <!-- N.B. this does not implement checking to see if your policy is loaded! -->
 
   <!-- N.B. this does not implement checking to see if your policy is loaded! -->
  
  <install cmd="msiexec /qn /i &quot;%SOFTWARE%\%pkgpath%\EMET Setup.msi&quot;"/>
 
  <install architecture="x64" cmd="%PROGRAMFILES(x86)%\%pfpath%\EMET_Conf.exe --import &quot;%configpath%&quot;"/>
 
  <install architecture="x86" cmd="%PROGRAMFILES%\%pfpath%\EMET_Conf.exe --import &quot;%configpath%&quot;"/>
 
  
   <upgrade cmd="msiexec /qn /i &quot;%SOFTWARE%\%pkgpath%\EMET Setup.msi&quot;">
+
   <install cmd='msiexec /qn /i "%SOFTWARE%\%pkgpath%\EMET Setup.msi" '/>
 +
 
 +
  <install architecture="x64" cmd='%PROGRAMFILES(x86)%\%pfpath%\EMET_Conf.exe --import "%configpath%" '/>
 +
 
 +
  <install architecture="x86" cmd='%PROGRAMFILES%\%pfpath%\EMET_Conf.exe --import "%configpath%" '/>
 +
 
 +
 
 +
  <upgrade cmd='msiexec /qn /i "%SOFTWARE%\%pkgpath%\EMET Setup.msi" '>
 
     <exit code="0" />
 
     <exit code="0" />
 
     <exit code="1638" />
 
     <exit code="1638" />
 
   </upgrade>
 
   </upgrade>
   <upgrade architecture="x86" cmd="%PROGRAMFILES%\%pfpath%\EMET_Conf.exe --import &quot;%configpath%&quot;"/>
+
 
   <upgrade architecture="x64" cmd="%PROGRAMFILES(x86)%\%pfpath%\EMET_Conf.exe --import &quot;%configpath%&quot;"/>
+
   <upgrade architecture="x86" cmd='%PROGRAMFILES%\%pfpath%\EMET_Conf.exe --import "%configpath%" '/>
 +
 
 +
   <upgrade architecture="x64" cmd='%PROGRAMFILES(x86)%\%pfpath%\EMET_Conf.exe --import "%configpath%" '/>
  
  
Line 36: Line 52:
  
 
</package>
 
</package>
 
 
</packages>
 
</packages>
 
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]
 
[[category:Microsoft software]]
 
[[category:Microsoft software]]

Revision as of 08:24, 23 May 2014

Enhanced Mitigation Experience Toolkit

This is a silent installer to deploy Microsoft Enhanced Mitigation Experience Toolkit (EMET), a toolkit for deploying and configuring security mitigation technologies.

This installer will also load a custom policy as specified in %CONFIGPATH%. If you don't want to create a custom policy, EMET comes with sample policies in (for example) "%PROGRAMFILES(x86)%\EMET 4.1 Update 1\Deployment\Protection Policies".

The EMET GUI is a 32-bit program that will work on 32-bit and 64-bit editions of Windows.

Download EMET and the User's Guide from http://www.microsoft.com/en-us/download/details.aspx?id=41138

WPKG Package

EMET 4.1 Update 1

<?xml version="1.0" encoding="UTF-8"?>
<packages>

<package id="emet" name="Microsoft" revision="7" reboot="false" priority="50">

   <variable name="pkgstring" value="EMET 4.1 Update 1"/>

   <variable name="pkgpath" value="EMET 4.1U1"/>

   <variable name="pfpath" value="EMET 4.1"/>

   <variable name="configpath" value="%SOFTWARE%\%pkgpath%\prod-20140521.xml"/>


   <check type="uninstall" condition="exists" path="%pkgstring%"/>
   <!-- N.B. this does not implement checking to see if your policy is loaded! -->


   <install cmd='msiexec /qn /i "%SOFTWARE%\%pkgpath%\EMET Setup.msi" '/>

   <install architecture="x64" cmd='%PROGRAMFILES(x86)%\%pfpath%\EMET_Conf.exe --import "%configpath%" '/>

   <install architecture="x86" cmd='%PROGRAMFILES%\%pfpath%\EMET_Conf.exe --import "%configpath%" '/>


   <upgrade cmd='msiexec /qn /i "%SOFTWARE%\%pkgpath%\EMET Setup.msi" '>
     <exit code="0" />
     <exit code="1638" />
   </upgrade>

   <upgrade architecture="x86" cmd='%PROGRAMFILES%\%pfpath%\EMET_Conf.exe --import "%configpath%" '/>

   <upgrade architecture="x64" cmd='%PROGRAMFILES(x86)%\%pfpath%\EMET_Conf.exe --import "%configpath%" '/>


   <remove cmd="msiexec /qb /x{6A09FEB2-691C-456B-B982-2F6D21B19602}"/>

</package>
</packages>