; Action list for AT 9.x

[Variables]
product=Intel(R) Management Engine Components
installDir=%ProgFilesDir%\Intel\%product%
installDir64=%ProgFilesDir64%\Intel\%product%
menuDir=%startmenu%\Intel\%product%
MEIVer=%getdriverversion(MEI)%
SOLVer=%getdriverversion(SOL)%


[Groups]
MEI=NOT IsCmd(nodrv) AND IfDrvExists(MEI) OR IsCmd(preinst)
WMI=IsGroupSel(MEI) AND NOT IsCmd(drvonly) AND IfExists("%source%"\MEWMIProv\MEProv.dll) AND NOT IsCmd(meidalonly)
SOL=IfDrvExists(SOL) AND NOT IsCmd(meidalonly)
LMS=IsGroupSel(MEI) AND NOT IsCmd(drvonly) OR IsCmd(nodrv) AND IfExists("%source%"\LMS\LMS.exe) AND NOT IsCmd(meidalonly)
IMSS=NOT IsCmd(noimss) AND IsGroupSel(LMS) AND IfExists("%source%"\IMSS\PIconStartup.exe)
NAC=IsGroupSel(LMS)
SHORTCUTS=IsGroupSel(IMSS) AND NOT IsCmd(nosc)
ARP=NOT IsCmd(noarp)
ICC=NOT IsCmd(noicc) AND IsGroupSel(SHORTCUTS) AND NOT IsCmd(meidalonly) AND IfExists("%source%"\Intel Control Center)
DNDV=IfExists("%source%"\DAL) AND IsCmd(nodrv)
DAL=IsGroupSel(MEI) AND NOT ISCmd(nodal) AND IsOS(WINXP,MAXOS) AND IfExists("%source%"\DAL) OR IsGroupSel(DNDV)
VC2010=IsGroupSel(LMS) OR IsGroupSel(DAL) AND NOT IsCmd(novc)
ICLS=IfExists("%source%"\IUS)
IFRs=IfExists("%source%"\IFR)
@IFRRM=0
FUA=NOT IsCmd(notc) AND IfExists("%source%"\Firmware Recovery Agent\UpdateAgent-setup.msi)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Setup files             ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[File]
operation=copyonly
mode=overwrite
source=%setup%
destination=%installDir%\uninstall\Setup.exe
sequence=500

[Folder]
operation=copy
mode=overwrite
source=%source%\lang
destination=%installDir%\uninstall
sequence=505
usequence=10000

[File]
operation=copy
mode=overwrite
source=%source%\x64\Drv64.exe
destination=%installDir%\uninstall\x64\Drv64.exe
condition=Is64
sequence=510
usequence=9000

[File]
operation=copyonly
mode=ifnewer
source=%source%\difxapi.dll
destination=%system%\difxapi.dll
error=ignore
sequence=515

[File]
operation=copyonly
mode=ifnewer
source=%source%\x64\difxapi.dll
destination=%system64%\difxapi.dll
condition=Is64
error=ignore
sequence=515

[Uninstall]
name={65153EA5-8B6E-43B6-857B-C6E4FC25798A}
display=%product%
display_mui=@%installDir%\Uninstall\Setup.exe,-2018
command=%installDir%\Uninstall\setup.exe -uninstall
location=%installDir%
estimatedsize=20959
publisher=Intel Corporation
icon=%installDir%\Uninstall\Setup.exe,0
modify=no
repair=no
version=%getpackageversion(MEI)%
sequence=520
group=ARP

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Drivers                 ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[INF]
name=MEI
sequence=600
usequence=5002
group=MEI

[Registry]
operation=create
root=HKLM
path=SOFTWARE\Intel\AMT
value=MEIVersion
data=%MEIVer%
type=sz
sequence=601
GROUP=MEI

[INF]
name=SOL
removedevice=yes
sequence=610
usequence=5001
group=SOL

[Registry]
operation=create
root=HKLM
path=SOFTWARE\Intel\AMT
value=SOLVersion
data=%SOLVer%
type=sz
sequence=611
GROUP=SOL


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; NAC                           ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[File]
operation=copy
source=%source%\NAC_PP\IntelAMTPP.dll
destination=%progfilesdir%\Common Files\postureAgent\plugins\install\IntelAMTPP.dll
sequence=1000
GROUP=NAC

[File]
operation=copy
source=%source%\NAC_PP\IntelAMTPP.inf
destination=%progfilesdir%\Common Files\postureAgent\plugins\install\IntelAMTPP.inf
sequence=1005
GROUP=NAC

[File]
operation=copy
source=%source%\NAC_PP\IntelAMTPP.dll
destination=%progfilesdir%\Common Files\postureAgent\plugins\IntelAMTPP.dll
sequence=1010
GROUP=NAC

[File]
operation=copy
source=%source%\NAC_PP\IntelAMTPP.inf
destination=%progfilesdir%\Common Files\postureAgent\plugins\IntelAMTPP.inf
sequence=1015
GROUP=NAC


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; UNS                           ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Service]
operation=stop
name=UNS
error=ignore
sequence=535
group=LMS

[Process]
operation=runonly
bin=%installDir%\UNS\UNS.exe
commandline=/unregserver
wait=yes
error=ignore
sequence=1022
group=LMS

[Folder]
operation=deleteoninstall
destination=%installDir%\UNS
delete_if_not_empty=yes
error=ignore
sequence=1023
GROUP=LMS

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; LMS                           ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Service]
operation=stop
name=LMS
sequence=540
group=LMS

[Process]
operation=runonly
bin=%installDir%\LMS\LMS.exe
commandline=/unregserver
wait=yes
sequence=1025
error=ignore
group=LMS

[Folder]
operation=deleteoninstall
destination=%installDir%\LMS
delete_if_not_empty=yes
error=ignore
sequence=1027
GROUP=LMS

[Folder]
operation=copy
source=%source%\LMS
destination=%installDir%\LMS
sequence=1028
GROUP=LMS

[Service]
operation=install
name=LMS
display=Intel(R) Management and Security Application Local Management Service
description=Allows applications to access the local Intel(R) Management and Security Application using its locally-available selected network interfaces.
servicetype=own
starttype=delay
bin="%installDir%\LMS\LMS.exe"
sequence=1070
GROUP=LMS

[Process]
operation=runonly
bin=%installDir%\LMS\LMS.exe
commandline=/service
wait=yes
sequence=2050
group=LMS

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; IMSS                          ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Process]
operation=stoponinstall
bin=PrivacyIconClient.exe
sequence=530
group=IMSS

[Folder]
operation=copy
source=%source%\IMSS\
destination=%installDir%\IMSS
sequence=1035
group=IMSS

[Shortcut]
target=%installDir%\IMSS\PrivacyIconClient.exe
path=%menuDir%\Intel(R) Management and Security Status.lnk
description=%getstring(11009)%
description_mui=@%installDir%\Uninstall\Setup.exe,-11009
pathmui=%installDir%\Uninstall\Setup.exe,11004
mui1=%menuDir%;%installDir%\Uninstall\Setup.exe,11004
sequence=2020
group=SHORTCUTS
appuserid=Intel.IMSS

[Registry]
operation=create
root=HKLM
path=SOFTWARE\Microsoft\Windows\CurrentVersion\Run
value=IMSS
data="%installDir%\IMSS\PIconStartup.exe"
type=sz
sequence=2030
group=IMSS

[Registry]
operation=create
root=HKLM
path=SOFTWARE\Intel\PIcon\Setting
value=ShowUserNotification
data=1
type=sz
sequence=2032
GROUP=IMSS

[Registry]
operation=create
hive=64
root=HKLM
path=SOFTWARE\Intel\PIcon\Setting
condition=Is64
value=ShowUserNotification
data=1
type=sz
sequence=2032
GROUP=IMSS


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Intel Control Center          ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[registry]
operation=create
root=HKLM
path=SOFTWARE\Intel\ICC\Applications\IMSS
value=Path
data=%menuDir%\Intel(R) Management and Security Status.lnk
type=sz
sequence=2070
group=ICC


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; WMI Provider                  ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Folder]
operation=copy
source=%source%\MEWMIProv\
destination=%installDir%\MEWMIProv
sequence=3000
usequence=20
group=WMI

[Process]
operation=runonly
bin=mofcomp.exe
commandline=ME\wmi_build.mof
workdir=%installDir%\MEWMIProv
wait=yes
hide=yes
sequence=3010
group=WMI

[Process]
operation=runonly
bin=mofcomp.exe
commandline=ME\register.mof
workdir=%installDir%\MEWMIProv
wait=yes
hide=yes
sequence=3020
group=WMI

[Process]
operation=runonly
bin=regsvr32.exe
commandline=/S "%installDir%\MEWMIProv\MeProv.dll"
workdir=%installDir%\MEWMIProv
wait=yes
sequence=3030
group=WMI


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;        Version Info Files      ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[File]
operation=copy
mode=overwrite
source=%source%\IntelMEFWVer\IntelMEFWVer.dll
destination=%system64%\drivers\IntelMEFWVer.dll
error=ignore
sequence=4040


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;     Visual C++ redist files    ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Process]
operation=runonly
bin=%source%\DAL\vcredist_x86.exe
commandline=/q /norestart
wait=yes
exitaswarn=5100
condition=IsOS(WINXP,MAXOS)
sequence=2039
group=VC2010

[Process]
operation=runonly
bin=%source%\DAL\vcredist_x64.exe
commandline=/q /norestart
wait=yes
exitaswarn=5100
condition=Is64 AND IsOS(WINXP,MAXOS)
sequence=2039
group=VC2010


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; DAL                           ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Process]
operation=runonly
bin=regsvr32.exe
commandline=/S /U "%installDir%\IPT\IntelWebAPIUpdaterActiveX.dll"
workdir=%installDir%\IPT
wait=yes
sequence=2096
error=ignore
group=DAL

[Process]
operation=runonly
bin=regsvr32.exe
commandline=/S /U "%installDir%\IPT\IntelWebAPIIPTActiveX.dll"
workdir=%installDir%\IPT
wait=yes
hide=yes
sequence=2096
error=ignore
group=DAL

[Service]
operation=stop
name=jhi_service
sequence=3060
condition=ifexists("%installedDir%\DAL\jhi_service.exe")
error=ignore

[Process]
operation=runonly
bin=%installedDir%\DAL\jhi_service.exe
commandline=uninstall
wait=yes
hide=yes
error=ignore
condition=ifexists("%installedDir%\DAL\jhi_service.exe")
sequence=3061

[EnvVar]
operation=remove
name=path
value=%installedDir%\DAL
allowmulti=y
sequence=3062
group=DAL

[EnvVar]
operation=remove
name=path
value=%installDir64%\DAL
allowmulti=y
condition=Is64
sequence=3062
group=DAL

[EnvVar]
operation=remove
name=path
value=%installedDir%\IPT
allowmulti=y
sequence=3062
group=DAL

[EnvVar]
operation=remove
name=path
value=%installDir64%\IPT
allowmulti=y
condition=Is64
sequence=3062
group=DAL

[File]
operation=copy
source=%source%\DAL\Jhi_service.exe
destination=%installDir%\DAL\Jhi_service.exe
sequence= 3065
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\JHI.dll
destination=%installDir%\DAL\JHI.dll
sequence=3065
GROUP=DAL


[File]
operation=copy
source=%source%\DAL\JhiSharp.dll
destination=%installDir%\DAL\JhiSharp.dll
sequence=3065
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\iha.dll
destination=%installDir%\IPT\iha.dll
sequence=3065
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\oath.dalp
destination=%installDir%\IPT\oath.dalp
sequence=3065
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\SpoolerApplet.dalp
destination=%installDir%\DAL\SpoolerApplet.dalp
sequence= 3066
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\dalp.xsd
destination=%installDir%\DAL\dalp.xsd
sequence= 3067
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\iptWys.dll
destination=%installDir%\IPT\iptWys.dll
condition=IsOS(VISTA,MAXOS)
sequence= 3068
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\IntelWebAPIUpdaterActiveX.dll
destination=%installDir%\IPT\IntelWebAPIUpdaterActiveX.dll
sequence=3068
usequence=3002
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\npIntelWebAPIUpdater.dll
destination=%installDir%\IPT\npIntelWebAPIUpdater.dll
sequence=3068
usequence=3002
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\IntelWebAPIIPTActiveX.dll
destination=%installDir%\IPT\IntelWebAPIIPTActiveX.dll
sequence=3068
usequence=3002
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\npIntelWebAPIIPT.dll
destination=%installDir%\IPT\npIntelWebAPIIPT.dll
sequence=3068
usequence=3002
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\UpdateServiceCProxy.dll
destination=%installDir%\IPT\UpdateServiceCProxy.dll
sequence= 3068
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\JHI64.dll
destination=%installDir64%\DAL\JHI64.dll
condition=Is64
sequence= 3069
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\iha64.dll
destination=%installDir64%\IPT\iha64.dll
condition=Is64
sequence= 3071
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\iptWys64.dll
destination=%installDir64%\IPT\iptWys64.dll
condition=IsOS(VISTA,MAXOS) AND Is64
sequence= 3072
GROUP=DAL

[File]
operation=copy
source=%source%\DAL\UpdateServiceCProxy64.dll
destination=%installDir64%\IPT\UpdateServiceCProxy64.dll
condition=Is64
sequence= 3071
GROUP=DAL

[Process]
operation=runonly
bin=%installDir%\DAL\jhi_service.exe
commandline=install
wait=yes
hide=yes
sequence=3080
error=ignore
group=DAL

[Process]
operation=runonly
bin=%installDir%\DAL\jhi_service.exe
commandline=start
wait=yes
hide=yes
sequence=3081
error=ignore
group=DAL

[EnvVar]
operation=add
name=PATH
value=%installDir64%\DAL
allowmulti=Y
condition=Is64
sequence=3074
GROUP=DAL

[EnvVar]
operation=add
name=PATH
value=%installDir%\DAL
allowmulti=Y
sequence=3075
GROUP=DAL

[EnvVar]
operation=add
name=PATH
value=%installDir%\IPT
allowmulti=Y
sequence=3075
GROUP=DAL

[EnvVar]
operation=add
name=PATH
value=%installDir64%\IPT
allowmulti=Y
condition=Is64
sequence=3074
GROUP=DAL

[Registry]
operation=create
root=HKLM
path=SOFTWARE\Intel\Services\DAL
value=FILELOCALE
data=%installDir%\DAL
type=sz
sequence=3076
GROUP=DAL

[Registry]
operation=create
root=HKLM
path=SOFTWARE\Intel\Services\DAL
value=APPLETSLOCALE
data=%progdata%\Intel\DAL\Applets
type=sz
sequence=3077
GROUP=DAL

[Registry]
operation=create
hive=64
root=HKLM
path=SOFTWARE\Intel\Services\DAL
value=FILELOCALE
data=%installDir%\DAL
type=sz
condition=Is64
sequence=3076
GROUP=DAL

[Registry]
operation=create
hive=64
root=HKLM
path=SOFTWARE\Intel\Services\DAL
value=APPLETSLOCALE
data=%progdata%\Intel\DAL\Applets
type=sz
condition=Is64
sequence=3077
GROUP=DAL

[Registry]
operation=create
root=HKLM
path=SOFTWARE\Intel\Services\IPT
value=FILELOCALE
data=%installDir%\IPT\
type=sz
sequence=3078
GROUP=DAL

[Registry]
operation=create
hive=64
root=HKLM
path=SOFTWARE\Intel\Services\IPT
value=FILELOCALE
data=%installDir%\IPT\
type=sz
condition=Is64
sequence=3078
GROUP=DAL

[Registry]
operation=create
root=HKLM
path=SYSTEM\CurrentControlSet\services\eventlog\Application\IntelDalJhi
value=EventMessageFile
data=%installDir%\DAL\jhi_service.exe
type=sz
sequence=3079
GROUP=DAL

[Registry]
operation=create
root=HKLM
path=SYSTEM\CurrentControlSet\services\eventlog\Application\IntelDalJhi
value=TypesSupported
data=7
type=dw
sequence=3080
GROUP=DAL

[Folder]
operation=deleteoninstall
destination=%progdata%\Intel\DAL\Applets
delete_if_not_empty=yes
error=ignore
sequence=3081
GROUP=DAL

[Folder]
operation=create
destination=%progdata%\Intel\DAL\Applets
sequence=3082
group=DAL

[Process]
operation=runonly
bin=regsvr32.exe
commandline=/S "%installDir%\IPT\IntelWebAPIUpdaterActiveX.dll"
workdir=%installDir%\IPT
wait=yes
hide=yes
sequence=3086
group=DAL

[Process]
operation=runonly
bin=regsvr32.exe
commandline=/S "%installDir%\IPT\IntelWebAPIIPTActiveX.dll"
workdir=%installDir%\IPT
wait=yes
hide=yes
sequence=3086
group=DAL


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;      IFR Service        ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Process]
operation=runonly
bin=%installDir%\FWService\IntelMeFWService.exe
commandline=-uninstall
wait=yes
hide=yes
error=ignore
sequence=5000
group=IFRs

[File]
operation=deleteoninstall
destination=%installDir%\FWService\IntelMeFWService.exe
error=ignore
sequence= 5004
group=IFRs

[File]
operation=copy
source=%source%\IFR\IntelMeFWService.exe
destination=%installDir%\FWService\IntelMeFWService.exe
sequence= 5012
GROUP=IFRs

[Process]
operation=runonly
bin=%installDir%\FWService\IntelMeFWService.exe
commandline=-install
wait=yes
hide=yes
sequence=5022
group=IFRs

[Process]
operation=runonly
bin=%installDir%\FWService\IntelMeFWService.exe
commandline=-start
wait=yes
hide=yes
sequence=5023
group=IFRs


[Process]
operation=runonly
bin=%installDir%\FWService\IntelMeFWService.exe
commandline=-uninstall
wait=yes
hide=yes
sequence=6005
group=@IFRRM

[File]
operation=deleteoninstall
destination=%installDir%\FWService\IntelMeFWService.exe
sequence= 6010
group=@IFRRM

[Folder]
operation=deleteoninstall
destination=%installDir%\FWService
delete_if_not_empty=yes
error=ignore
sequence=6014
GROUP=@IFRRM


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;            iCLS Stack          ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[File]
operation=copy
mode=overwrite
source=%source%\IUS\iclsClientInstaller_x86.msi
destination=%installDir%\IUS\iclsClientInstaller_x86.msi
condition=NOT Is64
sequence=3000
GROUP=ICLS

[File]
operation=copy
mode=overwrite
source=%source%\IUS\iclsClientInstaller_x64.msi
destination=%installDir64%\IUS\iclsClientInstaller_x64.msi
mode=ifnewer
condition=Is64
sequence= 3000
GROUP=ICLS

[Process]
operation=runonly
bin=%system%\msiexec.exe
commandline=/I "%source%\IUS\iclsClientInstaller_x86.msi" /qn
wait=yes
condition=NOT Is64
sequence=3001
group=ICLS

[Process]
operation=runonly
bin=%system%\msiexec.exe
commandline=/I "%source%\IUS\iclsClientInstaller_x64.msi" /qn
wait=yes
condition=Is64
sequence=3001
group=ICLS


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Launch apps                    ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Service]
operation=start
name=LMS
sequence=3050
group=LMS

[Process]
operation=runonly
bin=%installDir%\IMSS\PrivacyIconClient.exe
commandline=-startup
wait=no
hide=no
condition=NOT IsCmd(norun)
sequence=3070
group=IMSS


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;    Firmware Recovery Agent   ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[File]
operation=copy
mode=overwrite
source=%source%\Firmware Recovery Agent\UpdateAgent-setup.msi
destination=%installDir%\Firmware Recovery Agent\UpdateAgent-setup.msi
sequence=6003
GROUP=FUA


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; These actions run on uninstall ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Process]
operation=stoponuninstall
bin=PrivacyIconClient.exe
sequence=602
usequence=-10
group=IMSS

[Service]
operation=stoponuninstall
name=LMS
sequence=1020
usequence=-9
group=LMS

[Process]
operation=runonuninstall
bin=%installDir%\LMS\LMS.exe
commandline=/unregserver
wait=yes
hide=yes
sequence=1020
usequence=-8
group=LMS

[Registry]
operation=deleteonuninstall
root=HKCU
path=SOFTWARE\Intel\PIcon
delete_if_not_empty=yes
sequence=602
usequence=10000
group=IMSS

[Registry]
operation=deleteonuninstall
root=HKLM
path=SOFTWARE\Intel\PIcon
delete_if_not_empty=yes
sequence=602
usequence=10000
group=IMSS

[Registry]
operation=deleteonuninstall
hive=64
root=HKLM
path=SOFTWARE\Intel\PIcon
condition=Is64
delete_if_not_empty=YES
sequence=602
usequence=10000
group=IMSS

[Registry]
operation=deleteonuninstall
root=HKLM
path=SYSTEM\CurrentControlSet\Services\Eventlog\Application\Intel(R) AMT
sequence=1020
group=LMS

[Registry]
operation=deleteonuninstall
root=HKLM
path=SOFTWARE\Intel\IntelAMTPP
value=Posture
sequence=1000
group=NAC

[Registry]
operation=deleteonuninstall
root=HKLM
path=SOFTWARE\Intel\IntelAMTPP
value=PostureHash
sequence=1000
group=NAC

[Registry]
operation=deleteonuninstall
root=HKLM
path=SOFTWARE\Intel\IntelAMTPP
value=OldPostureHash
sequence=1000
group=NAC

[Registry]
operation=deleteonuninstall
root=HKLM
path=SOFTWARE\Intel\ICC\Applications\IMSS
delete_if_not_empty=yes
sequence=602
usequence=4999
group=IMSS

[Process]
operation=runonuninstall
bin=mofcomp.exe
commandline=ME\remove.mof
workdir=%installDir%\MEWMIProv
wait=yes
hide=yes
sequence=3000
usequence=15
group=WMI

[Process]
operation=runonuninstall
bin=regsvr32.exe
commandline=/S /U "%installDir%\MEWMIProv\MeProv.dll"
workdir=%installDir%\MEWMIProv
wait=yes
sequence=3000
usequence=17
group=WMI

[Process]
operation=runonuninstall
bin=regsvr32.exe
commandline=/S /U "%installDir%\IPT\IntelWebAPIUpdaterActiveX.dll"
workdir=%installDir%\IPT
condition=ifexists("%installDir%\IPT\IntelWebAPIUpdaterActiveX.dll")
wait=yes
sequence=3000
usequence=3000

[Process]
operation=runonuninstall
bin=regsvr32.exe
commandline=/S /U "%installDir%\IPT\IntelWebAPIIPTActiveX.dll"
workdir=%installDir%\IPT
condition=ifexists("%installDir%\IPT\IntelWebAPIIPTActiveX.dll")
wait=yes
sequence=3000
usequence=3000

[Registry]
operation=deleteonuninstall
root=HKLM
path=SOFTWARE\Intel
usequence=12000

[Registry]
operation=deleteonuninstall
hive=64
root=HKLM
path=SOFTWARE\Intel
condition=Is64
usequence=12000

[EnvVar]
operation=removeonuninstall
name=path
value=%installDir%\DAL
allowmulti=y
usequence= -13000

[EnvVar]
operation=removeonuninstall
name=path
value=%installDir64%\DAL
allowmulti=y
condition=Is64
usequence= -13000

[EnvVar]
operation=removeonuninstall
name=path
value=%installDir%\IPT
allowmulti=y
usequence= -13000

[EnvVar]
operation=removeonuninstall
name=path
value=%installDir64%\IPT
allowmulti=y
condition=Is64
usequence= -13000

[Service]
operation=stoponuninstall
name=jhi_service
condition=ifexists("%installedDir%\DAL\jhi_service.exe")
error=ignore
usequence= -13000


[Process]
operation=runonuninstall
bin=%installDir%\DAL\jhi_service.exe
commandline=uninstall
wait=yes
hide=yes
error=ignore
condition=ifexists("%installedDir%\DAL\jhi_service.exe")
usequence= -13000

[Registry]
operation=deleteonuninstall
root=HKLM
path=SOFTWARE\Intel\Services\DAL
usequence= -13000

[Registry]
operation=deleteonuninstall
root=HKLM
path=SYSTEM\CurrentControlSet\services\eventlog\Application\IntelDalJhi
delete_if_not_empty=YES
usequence= -13000

[Process]
operation=runonuninstall
bin=%system%\msiexec.exe
commandline=/x "%installDir%\IUS\iclsClientInstaller_x86.msi" /qn
wait=yes
condition=NOT Is64
usequence= -13001
group=ICLS

[Process]
operation=runonuninstall
bin=%system%\msiexec.exe
commandline=/x "%installDir64%\IUS\iclsClientInstaller_x64.msi" /qn
wait=yes
condition=Is64
usequence= -13001
group=ICLS

[Folder]
operation=deleteonuninstall
destination=%installDir%\DAL
delete_if_not_empty=yes
usequence=14450

[Folder]
operation=deleteonuninstall
destination=%installDir%\IPT
delete_if_not_empty=yes
usequence=14450

[Folder]
operation=deleteonuninstall
destination=%installDir%\IUS
delete_if_not_empty=yes
usequence=14450
group=ICLS

[Folder]
operation=deleteonuninstall
destination=%installDir64%\DAL
delete_if_not_empty=yes
condition=Is64
usequence=14450

[Folder]
operation=deleteonuninstall
destination=%installDir64%\IPT
delete_if_not_empty=yes
condition=Is64
usequence=14450

[Folder]
operation=deleteonuninstall
destination=%installDir64%\IUS
delete_if_not_empty=yes
condition=Is64
usequence=14450
group=ICLS

[Folder]
operation=deleteonuninstall
destination=%installDir64%\uninstall
delete_if_not_empty=yes
condition=Is64
usequence=14460

[Folder]
operation=deleteonuninstall
destination=%installDir%\uninstall
delete_if_not_empty=yes
usequence=14460

[Folder]
operation=deleteonuninstall
destination=%installDir64%
delete_if_not_empty=no
condition=Is64
usequence=14500

[Folder]
operation=deleteonuninstall
destination=%installDir%
delete_if_not_empty=no
usequence=14500

[Folder]
operation=deleteonuninstall
destination=%ProgFilesDir64%\Intel
delete_if_not_empty=no
condition=Is64
error=ignore
usequence=14600

[Folder]
operation=deleteonuninstall
destination=%ProgFilesDir%\Intel
delete_if_not_empty=no
error=ignore
usequence=14600

[Registry]
operation=deleteonuninstall
root=HKLM
path=SOFTWARE\Intel\Services
delete_if_not_empty=yes
usequence=11090

[Registry]
operation=deleteonuninstall
hive=64
root=HKLM
path=SOFTWARE\Intel\Services
condition=Is64
delete_if_not_empty=yes
usequence=11100

[Process]
operation=runonuninstall
bin= %installDir%\FWService\IntelMeFWService.exe
commandline=-uninstall
wait=yes
hide=yes
error=ignore
usequence=-10
group=IFRs

[Folder]
operation=deleteonuninstall
destination=%installDir%\FWService
delete_if_not_empty=yes
error=ignore
usequence=11200
GROUP=IFRs

[Folder]
operation=deleteonuninstall
destination=%progdata%\Intel\DAL
delete_if_not_empty=yes
error=ignore
sequence=11300

[Folder]
operation=deleteonuninstall
destination=%installDir%\Firmware Recovery Agent
delete_if_not_empty=yes
error=ignore
sequence=14400