Changes
fixed upgrade process and path weirdness
<packages>
<package id="emet" name="Microsoft EMET 4.1 Update 1" revision="57" 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"/>
<install cmd="msiexec /qn /i "%SOFTWARE%\%pkgpath%\EMET Setup.msi""/>
<install architecture="x64" cmd="%PROGRAMFILES(x86)%\%pkgpathpfpath%\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}"/>