; syncmgr.inf
;

[Version]
Signature  = "$CHICAGO$"
SetupClass = BASE


; entry-point for Windows 98 Setup
; the BaseWinOptions sections of the INFs are ALWAYS processed during main setup
[BaseWinOptions]
Register_syncmgr

; register the optional component(s) and copy this inf to the inf directory
[Register_syncmgr]
AddReg    = Register_syncmgr.AddReg
CopyFiles = syncmgr.sys, syncmgr.dir

; entry-point for right-click, Install
; (good for testing)
;
; entry-point for NT install (I think)
[DefaultInstall]
AddReg    = Register_syncmgr.AddReg
CopyFiles = syncmgr.sys, syncmgr.dir

[TargetInstall]
AddReg=Register_syncmgr.AddReg
CopyFiles = syncmgr.sys,syncmgr.dir

[DestinationDirs]
syncmgr.sys       = 11    ; System Directory
syncmgr.dir       = 30,%syncmgrPATH%   ; System Directory

[SourceDisksNames]
55 = "syncmgr Disk","syncmgr",,""

[SourceDisksFiles]
outhndlr.dll = 55
syncmgr.exe = 55
syncmgrp.dll = 55

[syncmgr.sys]
syncmgr.exe
syncmgrp.dll

[syncmgr.dir]
outhndlr.dll


[Register_syncmgr.AddReg]

; register syncmgr proper information. (hivecls.inx)
HKCR,"CLSID\{6295DF27-35EE-11d1-8707-00C04FD93327}","",0x00000002,"SyncMgr Dll"
HKCR,"CLSID\{6295DF27-35EE-11d1-8707-00C04FD93327}\InProcServer32","",0x00000002,"syncmgrp.dll"
HKCR,"CLSID\{6295DF27-35EE-11d1-8707-00C04FD93327}\InProcServer32","ThreadingModel",0x00000002,"Apartment"

HKCR,"CLSID\{6295DF2D-35EE-11d1-8707-00C04FD93327}","",0x00000002,"SyncMgr"
HKCR,"CLSID\{6295DF2D-35EE-11d1-8707-00C04FD93327}\LocalServer32","",0x00000002,"syncmgr.exe"
HKCR,"CLSID\{6295DF2D-35EE-11d1-8707-00C04FD93327}\LocalServer32","ThreadingModel",0x00000002,"Apartment"

HKCR,"CLSID\{6295DF2E-35EE-11d1-8707-00C04FD93327}","",0x00000002,"SyncMgr Proxy"
HKCR,"CLSID\{6295DF2E-35EE-11d1-8707-00C04FD93327}\InProcServer32","",0x00000002,"syncmgrp.dll"
HKCR,"CLSID\{6295DF2E-35EE-11d1-8707-00C04FD93327}\InProcServer32","ThreadingModel",0x00000002,"Both"

HKCR,"Interface\{6295DF2E-35EE-11D1-8707-00C04FD93327}","",0x00000002,"IOfflineSynchronizep"
HKCR,"Interface\{6295DF2E-35EE-11D1-8707-00C04FD93327}\NumMethods","",0x00000002,"8"
HKCR,"Interface\{6295DF2E-35EE-11D1-8707-00C04FD93327}\ProxyStubClsid32","",0x00000002,"{6295DF2E-35EE-11d1-8707-00C04FD93327}"

;dcom interactive user registration
HKCR,"Appid\{6295DF2D-35EE-11d1-8707-00C04FD93327}","",0x00000002,"SyncMgr"
HKCR,"Appid\{6295DF2D-35EE-11d1-8707-00C04FD93327}","RunAs",0x00000002,"Interactive User"

; register local machine key (hivesft.inx)
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Syncmgr",,0x00000012
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Syncmgr\Handlers",,0x00000012

; register current user key (hivedef.inx)
HKCU,"Software\Microsoft\Windows\CurrentVersion\Syncmgr",,0x00000012
HKCU,"Software\Microsoft\Windows\CurrentVersion\Syncmgr\Handlers",,0x00000012

; register the Outlook Handler
HKCR,CLSID\%KEY_CLSIDOUTLOOK%,,,"Outlook SyncMgr Handler"
HKCR,CLSID\%KEY_CLSIDOUTLOOK%\InProcServer32,,,"%30%%syncmgrPATH%\%OUTLOOKHANDLER%"
HKCR,CLSID\%KEY_CLSIDOUTLOOK%\InProcServer32,ThreadingModel,,"Apartment"

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Syncmgr\Handlers\"%KEY_CLSIDOUTLOOK%,,0x00000002,"Outlook Handler"

[Strings]
;Non-Localizable strings:
KEY_syncmgr   = "SOFTWARE\Microsoft\Windows\syncmgr\handlers"
KEY_CLSIDOUTLOOK   = "{97484BA1-26C7-11d1-9A39-0020AFDA97B0}"
OUTLOOKHANDLER = "outhndlr.dll"
syncmgrDLL = "syncmgrp.dll"
syncmgrEXE = "syncmgr.exe"

;Localizable strings:
syncmgrPATH = "syncmgr"