[version]
signature="$Chicago$"
Provider=ELSA AG, Germany

[DefaultInstall]
CopyFiles = Util.Files.ELSAUtil, Util.Files.Inf
AddReg    = Util.Add.Reg.Common, Util.Add.Reg.Win
DelReg    = Prev.Del.Reg
DelFiles  = Util.Files.Sys
UpdateInis= ProgrIconAdd

[DefaultInstall.NT]
CopyFiles = Util.Files.ELSAUtil, Util.Files.Inf
AddReg    = Util.Add.Reg.Common, Util.Add.Reg.NT
DelFiles  = Util.Files.Sys
UpdateInis= ProgrIconAdd

[DefaultUnInstall]
AddReg	  = Util.Add.Reg.Uninstall
DelFiles  = Util.Files.ELSAUtil.Del, Util.Files.Inf, Util.SourceFiles.Del
DelReg    = Util.Del.Reg

[DestinationDirs]
Util.Files.ELSAUtil = 10,%ELSAUTIL%
Util.Files.ELSAUtil.Del = 10,%ELSAUTIL%
Util.Files.Inf = 17
Util.Files.Sys = 11
Util.SourceFiles.Del = 10,%ELSAUTIL%

[SourceDisksNames]
1="ELSA WINNERware CD",WINMSUIT.CAB,

[ProgrIconAdd]
Setup.ini, Progman.groups,, "Group1=ELSAware"
Setup.ini, Group1,, ""WINman Suite","%10%\%ELSAUTIL%\WINMSUIT.EXE""

[SourceDisksFiles]
Winmps.dll=1
Winmsuit.exe=1
Winmsuit.inf=1
ELSA_EN.HLP=1
Wsuit_DE.dll=1
ELSA_DE.HLP=1
Wsuit_FR.dll=1
ELSA_FR.HLP=1
Wsuit_JA.dll=1
ELSA_JA.HLP=1
Wsuit_NL.dll=1
ELSA_NL.HLP=1
Wsuit_PT.dll=1
ELSA_PT.HLP=1
Wsuit_SV.dll=1
ELSA_SV.HLP=1
Wsuit_ES.dll=1
ELSA_ES.HLP=1
Wsuit_IT.dll=1
ELSA_IT.HLP=1
Wsuit_KO.dll=1
ELSA_KO.HLP=1
Wsuit_ZH.dll=1
ELSA_ZH.HLP=1
Wsuit_ZT.dll=1
ELSA_ZT.HLP=1

[Util.Files.Inf]
Winmsuit.inf

[Util.SourceFiles.Del]
Winmsuit.inf
Winmsuit.cab

[Util.Files.ELSAUtil]
Winmsuit.exe
Winmps.dll
ELSA_EN.HLP
Wsuit_DE.dll
ELSA_DE.HLP
Wsuit_FR.dll
ELSA_FR.HLP
Wsuit_JA.dll
ELSA_JA.HLP
Wsuit_NL.dll
ELSA_NL.HLP
Wsuit_PT.dll
ELSA_PT.HLP
Wsuit_SV.dll
ELSA_SV.HLP
Wsuit_ES.dll
ELSA_ES.HLP
Wsuit_IT.dll
ELSA_IT.HLP
Wsuit_KO.dll
ELSA_KO.HLP
Wsuit_ZH.dll
ELSA_ZH.HLP
Wsuit_ZT.dll
ELSA_ZT.HLP

[Util.Files.ELSAUtil.Del]
Winmps.dll
ELSA_EN.HLP
ELSA_EN.GID
Wsuit_DE.dll
ELSA_DE.HLP
ELSA_DE.GID
Wsuit_FR.dll
ELSA_FR.HLP
ELSA_FR.GID
Wsuit_JA.dll
ELSA_JA.HLP
ELSA_JA.GID
Wsuit_NL.dll
ELSA_NL.HLP
ELSA_NL.GID
Wsuit_PT.dll
ELSA_PT.HLP
ELSA_PT.GID
Wsuit_SV.dll
ELSA_SV.HLP
ELSA_SV.GID
Wsuit_ES.dll
ELSA_ES.HLP
ELSA_ES.GID
Wsuit_IT.dll
ELSA_IT.HLP
ELSA_IT.GID
Wsuit_KO.dll
ELSA_KO.HLP
ELSA_KO.GID
Wsuit_ZH.dll
ELSA_ZH.HLP
ELSA_ZH.GID
Wsuit_ZT.dll
ELSA_ZT.HLP
ELSA_ZT.GID

[Util.Add.Reg.Common]
; WinmanSuite
HKCR,CLSID\%CLSID%,,,"%NAME%"
HKCR,CLSID\%CLSID%\LocalServer32,,,"%10%\%ELSAUTIL%\%MAINFILE%"
HKLM,%WINMANSUITE%\%CLSID%,,,%MAINFILE%
;
; WinmPS.DLL, proxy stub
HKCR,CLSID\%CLSIDPS%,,,"%NAME%"
HKCR,CLSID\%CLSIDPS%\InprocServer32,,,"%10%\%ELSAUTIL%\%PSSERVER%"
HKCR,Interface\%IELSAINFO_ID%,,,"IELSAInfo"
HKCR,Interface\%IELSAINFO_ID%\NumMethods,,,7
HKCR,Interface\%IELSAINFO_ID%\ProxyStubClsid32,,,"%CLSIDPS%"
HKCR,Interface\%IELSAINFO2_ID%,,,"IELSAInfo2"
HKCR,Interface\%IELSAINFO2_ID%\NumMethods,,,8
HKCR,Interface\%IELSAINFO2_ID%\ProxyStubClsid32,,,"%CLSIDPS%"
;
; run section
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run","%NAME%",%REG_SZ%,"%10%\%ELSAUTIL%\WINMSUIT.EXE /startup"

[Util.Add.Reg.Win]
; uninstall
HKLM,%UNINSTALL%,DisplayName,,"%NAME%"
HKLM,%UNINSTALL%,UninstallString,,"rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\%INFFILE%"


[Util.Add.Reg.NT]
HKLM,%UNINSTALL%,DisplayName,,"%NAME%"
HKLM,%UNINSTALL%,UninstallString,,"rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 %17%\%INFFILE%"

[Util.Del.Reg]
HKLM,%UNINSTALL%
HKCR,CLSID\%CLSIDPS%
HKCR,CLSID\%CLSID%
HKCR,Interface\%IELSAINFO_ID%
HKCR,Interface\%IELSAINFO2_ID%
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run","%NAME%"
HKLM,%WINMANSUITE%\%CLSID%

[Util.Add.Reg.Uninstall]
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup","%NAME%",%REG_SZ%,"%10%\%ELSAUTIL%\WINMSUIT.EXE /delete"

[Strings]
NAME="ELSA WINman Suite"
; //Name used in program, don't change
ELSAUTIL="ELSAutil"
INFFILE=WinmSuit.inf"
UNINSTALL="Software\Microsoft\Windows\CurrentVersion\Uninstall\WINman Suite"
WINMANSUITE="Software\ELSA\WINmanSuite"
CLSID="{55F53380-2C7E-11d2-A423-00609715A4AF}"
CLSIDPS="{737A0D40-88D3-11d0-A8A0-00001B321118}"
IELSAINFO_ID="{737A0D40-88D3-11d0-A8A0-00001B321118}"
IELSAINFO2_ID="{737A0D41-88D3-11d0-A8A0-00001B321118}"
PSSERVER="WinmPS.dll"
MAINFILE="WINMSuit.EXE"

