;-------------------------------------------------------
; FWLAN Client 
;
; (C) AVM GmbH, Berlin 2006
;
;-------------------------------------------------------
[Version]
Signature="$CHICAGO$"
Provider = %V_AVM%
AVMVer   = 08/02/2006,01.03.16

[Strings]
;
;16422 sollte 'c:\programme' sein
;0x4000+CSIDL_PERSONAL (0x5)aus shlobj.inf
;16389 sollte 'c:\Dokumente und Einstellungen\<User>\Eigene Dateien' sein
;0x4000+CSIDL_SENDTO (0x9)aus shlobj.inf
;16393 sollte 'c:\Dokumente und Einstellungen\<User>\SendTo' sein
;
;
V_AVM               = "AVM GmbH"
Language            = "deutsch"
DiskName            = "AVM FRITZ!WLAN"
AVMWLANServiceName    = "AVM WLAN Connection Service"
AVMWLANServicePathHKU = ".DEFAULT\Software\AVM\AVMWlanService"
AvmWlanServicePath  = "Software\AVM\AVMWlanService"
instdir             = "avmwlanstick"
ProgGroup           = "FRITZ!WLAN"
SHORT_DESC_CLIENT   = "FRITZ!WLAN"
PRODUCT_DESC_CLIENT = "AVM FRITZ!WLAN"
CLIENT_HELP_DESC    = "FRITZ!WLAN Hilfe"
DESC_MINICLIENT     = "FRITZ!WLAN Mini"
ClientName          = "wlangui.exe"
WlanClientName      = "wlangui.exe"
FRITZWlanPath       = "Software\AVM\FRITZWlanClient"
UninstallPath       = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AVMWLANCLI"
AVMRegPath          = "Software\AVM"
RunOncePath         = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
RunPath             = "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
AVMDriverDate       = "07/31/2006"

;-----------------------------------------------------------
; I N S T A L L
;-----------------------------------------------------------

[DefaultInstall]
CopyFiles=Setup.Files,Setup.inf
DelFiles=OldFiles
AddReg=Setup.Add.Reg
UpdateInis=DelSmallCli.links,Product.links

[PostInstall]
;DelFiles=Setup.FTP.Dummy,Setup.PUSH.Dummy

[DefaultInstall.Services]
AddService = %AVMWLANServiceName%,,AVMWLAN.Service, AVMWLANService.AddEventLog

[Setup.Add.Reg]
HKLM,%UninstallPath%, DisplayName,    ,%DiskName%
HKLM,%UninstallPath%, DisplayIcon,    ,"%16422%\%instdir%\WLanGUI.exe"
HKLM,%UninstallPath%, UninstallString,,"%16422%\%instdir%\instwcli.exe -d1"
HKLM,%RunPath%,       AVMWlanClient,,"%16422%\%instdir%\%ClientName%"
HKCU,%FRITZWlanPath%, StartProg,      ,"%16422%\%instdir%\%ClientName% -2"
;HKCU,%AVMRegPath%,    LinkName,       ,%PRODUCT_DESC_CLIENT%
HKCU,%AVMRegPath%,    LinkExe,        ,%16422%\%instdir%\%ClientName%
HKCU,%AVMRegPath%,    LinkID,        ,"1"

[Setup.Del.Reg]
HKLM,%UninstallPath%
HKLM,%RunPath%,       AVMWlanClient
HKCU,%RunPath%,       AVMWlanClient
HKCU,%FRITZWlanPath%
HKU,%AVMWLANServicePathHKU%
;HKU,%FRITZWlanPathHKU%
;HKCU,%AVMRegPath%,    LinkName
HKCU,%AVMRegPath%,    LinkExe
HKCU,%AVMRegPath%,    LinkID
HKLM,SOFTWARE\AVM,    StartProgCmd
HKCU,%AvmWlanServicePath%

[Product.links]
setup.ini, progman.groups,,"ProductGroup=%16407%\%ProgGroup%"
setup.ini, ProductGroup,,"""%SHORT_DESC_CLIENT%"",""""""%16422%\%instdir%\%WlanClientName%"""""" -1,,,,""%16422%\%instdir%"""
setup.ini, ProductGroup,,"""%CLIENT_HELP_DESC%"",""""""%16422%\%instdir%\FRITZ!WLAN.chm"""""",,,,""%16422%\%instdir%"""

[DelSmallCli.links]
setup.ini, progman.groups,,"ProductGroup=%16407%\%ProgGroup%"
setup.ini, ProductGroup,,"%DESC_MINICLIENT%"

[del.links]
setup.ini, progman.groups,,"ProductGroup=%16407%\%ProgGroup%"
setup.ini, ProductGroup,,"%SHORT_DESC_CLIENT%"
setup.ini, ProductGroup,,"%CLIENT_HELP_DESC%"
setup.ini, ProductGroup,,"%DESC_MINICLIENT%"


;-----------------------------------------------------------
; W L A N A P I
;-----------------------------------------------------------
[AVMWLAN.Service]
DisplayName    = %AVMWLANServiceName%
ServiceType    = 0x10 ; SERVICE_WIN32_OWN_PROCESS
StartType      = 0x2  ; SERVICE_AUTO_START
;StartType      = 0x3  ; SERVICE_AUTO_DEMAND
ErrorControl   = 1  ; SERVICE_ERROR_NORMAL
ServiceBinary  = "%16422%\%instdir%\WlanNetService.exe"
;LoadOrderGroup = NDIS

[AVMWLANService.AddEventLog]
AddReg = AVMWLANService.AddEventLogReg

[AVMWLANService.AddEventLogReg]
HKR,,EventMessageFile,0x00020000,"%16422%\%instdir%\WlanNetService.exe"
HKR,,TypesSupported,0x00010001,7

;-----------------------------------------------------------
; U N I N S T A L L
;-----------------------------------------------------------
[DefaultUninstall.Services]
DelService = %AVMWLANServiceName%

[DefaultUninstall]
DelFiles=Setup.Del.Files, OldFiles
DelReg=Setup.Del.Reg,
UpdateInis=del.links

;-----------------------------------------------------------
; F I L E - S E C T I O N S
;-----------------------------------------------------------
[OldFiles]
Msvcrtd.dll
msvcp60.dll
odSupp_M.dll

[Setup.Files]
avmsysnet.dll
avmwlapi.dll
instwcli.exe
instwcli.inf
WLanGUI.exe
WLanNetService.exe
Wlangui.ini
FRITZ!WLAN.chm
prehook.dll

[Setup.inf]
instwcli.inf

[Setup.Del.Files]
avmsysnet.dll
avmwlapi.dll
instwcli.exe
instwcli.inf
WLanGUI.exe
WLanNetService.exe
Wlangui.ini
FRITZ!WLAN.chm
FRITZWlanMini.exe
fwlanmini.inf
prehook.dll

[DestinationDirs]
DefaultDestDir    = 16422,%instdir%
OldFiles          = 16422,%instdir%
Setup.Files       = 16422,%instdir%
Setup.Del.Files   = 16422,%instdir%
Setup.log         = 16422,%instdir%
Pan.log           = 16422,%instdir%\Logs
Setup.cpl         = 11
Setup.Del.cpl     = 11
setup.inf         = 10
;Setup.FTP.Dummy  = 16422,%instdir%\%ObexFtpDir%
;Setup.PUSH.Dummy = 16422,%instdir%\%ObexPushDir%
Setup.FTP.Dummy   = 16389,%ObexFtpDir%
Setup.PUSH.Dummy  = 16389,%ObexPushDir%
Setup.SendTo      = 16393,%AvmSendTo%

[SourceDisksNames]
1 = %DiskName%,"","",

[SourceDisksFiles]
avmsysnet.dll   = 1
avmwlapi.dll    = 1
instwcli.exe    = 1
instwcli.inf    = 1
odSupp_M.dll    = 1
WLanGUI.exe     = 1
WLanNetService.exe  = 1
avmadd32.dll    = 1
Wlangui.ini     = 1
FRITZ!WLAN.chm  = 1
Msvcrtd.dll     = 1
msvcp60.dll     = 1
prehook.dll     = 1

