[Installer_Config]
AppID=MSC
Shared=0
VersionToInstall=9.11.109 
CurrentVersionRegKey=HKLM,SOFTWARE\McAfee\MSC\AppInfo\Substitute,build

[Env-Var]
%MSCINSTALL_DIR%=$REG$Key=Software\McAfee\MSC:Name=Install Dir
%MSCCMN_INSTALL_DIR%=$REG$Key=Software\McAfee\MSC:Name=CommonFiles Dir
%SELECTED_LCID%=$REG$Key=Software\McAfee\MSC\AppInfo\Substitute:Name=lcid

[DirIds]
;Env-Var Defined ==> Program Files
;33100 ==> All Users\Application Data
;33000 ==> Program Files\Common files
;33200 ==> McIns.exe Module dir
;33300 ==> ExtractCAB location
;16422 ==> Program Files

; The DirIds should be read from the registry later. Currently, I am assuming
; it to be the standard paths...
; 46100=%MSCINSTALL_DIR%
; 46200=%MSCCMN_INSTALL_DIR%

46100=%16422%\McAfee\MSC
46200=%33000%\McAfee\MSC
48000=%33000%\McAfee\Core
45000=%16422%\McAfee.com\Agent
46000=%16422%\McAfee.com\Shared
50000=%33500%\McAfee\MQC
75000=%33100%\McAfee\MSC

[Install_NT]
CabFilesNT=ExtractCAB
DefaultInstall=Setup
AddObfuscateRegEntry=RegObfuscate
InstallMSCLD.NT=RunINF2
InstallMSC.NT=RunINF

[UnInstall_NT]
PreUninstall=DLL
UninstallMSC=RunINF
CoreUninstall=RunINF
DefaultUninstall=Setup
MSCCleanup=DelFolders

[UnInstall_NT_x64]
PreUninstall=DLL
UninstallMSC64=RunINF
UninstallMSC=RunINF
DefaultUninstall=Setup
DelLinkMcAfeeKeys=DelRegLink
MSCCleanup=DelFolders

[Install_NT_x64]
LinkMcAfeeKeys=RegLink
CabFilesNT64=ExtractCAB
CabFilesNT=ExtractCAB
DefaultInstall=Setup
AddObfuscateRegEntry=RegObfuscate
InstallMSCLD.NT=RunINF2
InstallMSC64.NT=RunINF
InstallMSC.NT=RunINF

[LinkMcAfeeKeys]
LinkKey=HKLM,Software\McAfee
Target=HKLM,Software\Wow6432Node\McAfee

[DelLinkMcAfeeKeys]
LinkKey=HKLM,Software\McAfee

[CabFilesNT64]
mscpf64.cab

[CabFilesNT]
mccore.cab
mcmispps.cab
msccmn.cab
mscreg.cab
mscres.cab
mscmisc.cab
mscmnmgr.cab
mscprmgr.cab
msccfmgr.cab
mscshll.cab
mscupd.cab
mscsvc.cab
mscuimgr.cab
mghtml.cab
mcuc.cab
mcactwiz.cab
mcoemmgr.cab
mcappins.cab
msclgmis.cab
mcpLI.cab
nmcLI.cab
mscpstLI.cab

[InstallMSC64.NT]
mscpf64.inf

[InstallMSCLD.NT]
mscLD.inf=%33200%

[InstallMSC.NT]
mccore.inf
msccmn.inf
mcmispps.inf
mscshll.inf
mscreg.inf
mscres.inf
mscmisc.inf
mscmnmgr.inf
msccfmgr.inf
mscupd.inf
mscsvc.inf
mscuimgr.inf
mscprmgr.inf
mghtml.inf
mcuc.inf
mcactwiz.inf
mcoemmgr.inf
mcappins.inf
msclgmis.inf
mcpLI.inf
nmcLI.inf
mscpstLI.inf

[UninstallMSC64]
%46100%\mscpf64.inf

[UninstallMSC]
%46100%\NMC\nmcLI.inf
%50000%\mcpLI.inf
%46200%\mcuc.inf
%46000%\mghtml.inf
%46000%\mcappins.inf
%45000%\msclgmis.inf
%46100%\mscshll.inf
%46100%\mscuimgr.inf
%46100%\mscprmgr.inf
%46100%\mscsvc.inf
%46100%\mscupd.inf
%46100%\msccfmgr.inf
%46100%\mscmnmgr.inf
%46100%\mscmisc.inf
%46100%\mscres.inf
%46100%\mscreg.inf
%46100%\mcmispps.inf
%46100%\mscshll.inf
%46200%\msccmn.inf
%48000%\mccore.inf
%46100%\oemcfg.inf
%46100%\mscsbt.inf
%46100%\mscpstLI.inf
%46100%\mscLD.inf

[PreUninstall]
%46100%\mcmscins.dll=DllPreUninstall

[MSCCleanup]
%45000%=1
%46000%=1
%46100%=1
%46200%=1

;%16422%\McAfee
;%16422%\McAfee.com

%16422%\McAfee.com\download

%33100%\McAfee\Installer
%33100%\McAfee\MCLOGS
%33100%\McAfee\MSC\News
%33100%\McAfee\MSC\Logs
%33100%\McAfee\MSC\Updates
%33100%\McAfee\MSC\regwiz
%33100%\McAfee\WinCore


[MSCLegacyCleanup]
; delete the Agent\Data folder in "All Users"
%33100%\McAfee.com\Agent

; On Windows 2000 there is a "Data" folder under "Program Files\McAfee.com\Agent"
%45000%\Data

;///////////////

[Version]
Signature="$Chicago$"
AdvancedINF=2.5
LayoutFile=mscLI.inf

[SourceDisksNames]
1="SecurityCenter Main File","",1

[DestinationDirs]   
; Destination Directories for CopyFiles/Delfiles Sections.
; 10 indicates LDID_WIN - windows directory   
MSCMainFiles=46100
MSCDataFiles=75000
MSCLegacyFiles=46100

[DefaultInstall]
CopyFiles=MSCMainFiles
AddReg=AddRegEntry, Links, ProductInfo
DelReg=DelLegacyRegEntry
Cleanup=MSCLegacyCleanup
DelFiles=MSCLegacyFiles

[DefaultUninstall]
DelFiles=MSCMainFiles, MSCDataFiles
DelReg=DelRegEntry

; These are Falcon files and will be removed for Sapphire...
[MSCLegacyFiles]
mscmain.inf,,,65568
mscpost.inf,,,65568
mscinres.dll,,,65568

[MSCDataFiles]
mcconfig.dat,,,65568
mcusers.dat,,,65568
mcsetng.ini,,,65568
mcifolog.log,,,65568

[MSCMainFiles]
mscLI.inf,,,65568

[DelRegEntry]
HKLM,Software\McAfee
HKLM,Software\McAfee.com
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MSC
HKCU,Software\McAfee

[DelLegacyRegEntry]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mcafee SecurityCenter

; this is really not a legacy key. But I dont want to create a new section for this.
HKLM,SOFTWARE\McAfee\MSC\Install

[AddRegEntry]
HKLM,Software\McAfee\MSC,"Install Dir",,"%46100%"
HKLM,Software\McAfee\MSC, "CommonFiles Dir",,"%46200%"
HKLM,Software\McAfee.com\Agent, "Install Dir",,"%45000%"

[AddObfuscateRegEntry]
; this entry is to fake legacy MIS Uninstallation Wizard into running a successful MSC
; un-installation.
HKLM,Software\McAfee.com\Agent,SilentUninstall,,"%46100%\mcinfo.exe"

[Progress_DLL]
DLLPATH=%33200%\..\..\InstProg.dll
EVNT_PROGRESS=NotifyInstallProgress
EVNT_REBOOT=SetReboot

	
