<?xml version="1.0" encoding="utf-16"?>
<Setup>
  <Main Name="360安全卫士" ProductVersion="10.2.0.2001" Version="10.2.0.2002" Executable="setup.exe" Title="360安全卫士 %VER%安装" UninstallTitle="360安全卫士 %VER%卸载" MinimizeSpace="240" RebootFlagName="{360122FF-13C3-3f30-A177-3B9CA9BF7B33}" MutexName="Q360SafeSetup" IsBeta="0" DefaultSkin="defaultskin"/>
  <Application MainApp="360safe.exe" VersionBaseFile="360ver.dll"/>
  <RegAppPath HKEY="HKEY_LOCAL_MACHINE" SubKey="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\360safe.exe" Value="Path"/>
  <DefaultPath Root="ProgramFiles" Dir="360" ForceCreateFolder="360Safe" CanChange="TRUE"/>
  <FileList RootDir="Bin\360safe" List="filelist.xml"/>
  <ExclusiveFileList RootDir="Bin\360safe" List="ExclusiveFileList.xml"/>
  <Register File="Register.xml"/>
  <Plugin File="plugin.xml"/>
  <NotPEFileVersion File="updatecfg.ini"/> 
  <UninstallRootDirFileList File="UninstallRootDirFileList.xml"/>
  <CloseAllPrograms>
    <Program WindowClass="360Down" Message="WM_QUIT" Comment="退出漏洞修复"/>
  	<Program WindowClass="LiveUpdate360" Message="WM_QUIT" Comment="退出应用软件管理"/>	
  	<Program WindowClass="360RepairLeakClass" Comment="退出漏洞修复"/>
  	<Program WindowClass="360SoftManagerClass" Comment="退出应用软件管理"/>
  	<Program WindowClass="360DeepScanClass" Comment="退出深度扫描"/>
  	<Program WindowClass="360DSMainClass" Comment="退出木马查杀主程序"/>
  	<Program WindowClass="360AntiarpClass" Message="WM_ANTIARPEXIT" Comment="退出Arp防火墙"/>
   	<Program WindowClass="Q360FWMainClass" Comment="退出木马防火墙"/>
   	<Program WindowClass="Q360WDClass" Comment="退出网盾"/>
   	<Program WindowClass="WDSafeDownDlg" Comment="退出网盾下载保护"/>
   	<Program WindowClass="360LeakFixer" Comment="退出漏洞提示"/>
   	<Program WindowClass="Q360SafeMainQmZDClass" Comment="退出全面诊断"/>
   	<Program WindowClass="Q360NetOptimizeClass" Comment="退出网络优化"/>
   	<Program WindowClass="Q360FunPre" Comment="退出新功能展现"/>
   	<Program WindowClass="360AdvUtilKJJSClass" Comment="退出开机加速"/>
   	<Program WindowClass="360AdvUtilZZYXClass" Comment="退出正在运行"/>
   	<Program WindowClass="360AdvUtilMRRZClass" Comment="退出默认软件设置"/>
   	<Program WindowClass="Q360NetFosClass" Comment="退出流量监控"/>
   	<Program WindowClass="360OneKeyInstall" Comment="退出一键装机"/>
   	<Program WindowClass="Q360NetSpeedClass" Comment="退出网速测试器"/>
   	<Program WindowClass="Q360PrivacyClass" Comment="退出隐私保护器"/>
   	<Program WindowClass="360sdpub" Comment="退出漏洞修复"/>
   	<Program WindowClass="360AntiarpClass" Comment="退出ARP防火墙"/>
   
   	<!-- 这两个要放在最后 -->	
   	<Program WindowClass="Q360SafeMainClass" Comment="退出主程序"/>
   	<Program WindowClass="Q360SafeMonClass" Comment="退出tray"/>
  </CloseAllPrograms>
  
	<!-- 重启之后才能覆盖的文件 -->	
	<RebootReplaceFile>
		<File Name="SOFTMGR\SOFTMGRLITELAUNCHER.DLL" />
		<File Name="SOFTMGR\SOFTMGRLITELAUNCHER64.DLL" />
		<File Name="SAFEMON\SAFEMON.DLL"/>
		<File Name="SAFEMON\360UDISKGUARD.DLL"/>
		<File Name="SAFEMON\360UDISKGUARD64.DLL"/>
	</RebootReplaceFile>

  <Param File="Param.xml"/>
</Setup>
