; Unimodem/V install script

[version]
signature="$CHICAGO$"

[DefaultInstall]
CopyFiles=Op.copy.wave1, Op.copy.wave2, Uni.copy.inf, Uni.copy.sys, VV.copy.sys, VV.copy.app, VV.copy.hlp
UpdateInis=Op.Links
AddReg=Op.AddReg

[Strings]
MEDIA              = "Media"                    ; name of media folder
OPERATOR           = "Operator"                 ; short name of operator greeting folder
OPERATORERR        = "Operat~1"			; short name of operator error folder	
Operator           = "Operator"	                ; long name of operator greeting folder
OperatorError      = "OperatorError"            ; long name of operator error folder
Female_Operator	   = "Female Operator.wav"      ; long name of female greeting wave file
Male_Operator      = "Male Operator.wav"        ; long name of male greeting wave file
Female_Message     = "Female Message.wav"       ; long name of female error wave file
Male_Message	   = "Male Message.wav"         ; long name of male error wave file
Operator_Loc       = "Accessories"              ; location for shortcut
Operator_Desc      = "Operator"                 ; shortcut name
Operator_ShortDesc = "Operator"                 ; details view
TEMPFILE           = "!$!$!$!$.$!$"             ; temporary file name for renames

[DestinationDirs]
Op.copy.wave1    = 10,%MEDIA%\%OPERATOR%
Op.copy.wave2    = 10,%MEDIA%\%OPERATORERR%
Uni.copy.sys     = 11     ;LDID_SYS
Uni.copy.inf     = 17     ;LDID_INF
VV.copy.sys      = 11     ;LDID_SYS
VV.copy.app      = 10     ;LDID_WIN
VV.copy.hlp      = 18     ;LDID_HELP

[SourceDisksNames]
55="Unimodem Voice","",1

[SourceDisksFiles]
;unimodem "executables"
modemui.dll=55
serwave.vxd=55
serwvdrv.drv=55
tamaudio.drv=55
umdmxfrm.dll=55
umdm16.dll=55
umdm32.dll=55
unimdm.tsp=55
unimodem.vxd=55
vmodctl.dll=55
wavewrap.drv=55
operator.exe=55
waveedit.dll=55
tamwiz.dll=55
unimdm.hlp=55
awfxex32.exe=55

;modem inf files
serwave.inf=55
tamwrap.inf=55
mdmdsi.inf=55
mdmrock.inf=55
mdmrock2.inf=55
mdmrock3.inf=55
mdmrock4.inf=55
mdmcpq.inf=55

; operator wave files
femopera.wav=55
malopera.wav=55
femermes.wav=55
malermes.wav=55

;voice view files
fte.dll=55
vvexe32.exe=55
wsvv.vxd=55
wsock32.dll=55
wsock.vxd=55
vtdi.386=55
filexfer.exe=55
filexfer.hlp=55
filexfer.cnt=55

[Op.Links]
setup.ini, progman.groups,, "group1=%Operator_Loc%"
setup.ini, group1,, """%Operator_Desc%"", ""%11%\Operator.exe"",,,,,%Operator_ShortDesc%"

[Uni.copy.sys]
modemui.dll
serwave.vxd
serwvdrv.drv
tamaudio.drv
umdmxfrm.dll
umdm16.dll
umdm32.dll
unimdm.tsp
unimodem.vxd
vmodctl.dll
wavewrap.drv
operator.exe
waveedit.dll
tamwiz.dll
unimdm.hlp
awfxex32.exe

[Uni.copy.inf]
serwave.inf
tamwrap.inf
mdmdsi.inf
mdmrock.inf
mdmrock2.inf
mdmrock3.inf
mdmrock4.inf
mdmcpq.inf

[Op.copy.wave1]
femopera.wav
malopera.wav

[Op.copy.wave2]
femermes.wav
malermes.wav

[VV.copy.sys]
fte.dll
vvexe32.exe
wsvv.vxd
wsock32.dll
wsock.vxd
vtdi.386

[VV.copy.app]
filexfer.exe

[VV.copy.hlp]
filexfer.hlp
filexfer.cnt

[Op.AddReg]
; create the path to the default greeting and error wave files
HKLM,Software\Microsoft\Microsoft Operator,Operator,,"%10%\%MEDIA%\%Operator%\%Female_Operator%"
HKLM,Software\Microsoft\Microsoft Operator,OperatorError,,"%10%\%MEDIA%\%OperatorError%\%Female_Message%"

; create the long-names for operator wave folders and files
; Note that when you rename a long name, VFAT changes the short name from
; foobar~1 to foobar~2.  To avoid this, we introduce a work around in the form of
; an intermediate rename
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpFolder1,,,"%10%\%MEDIA%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpFolder1,%OPERATOR%,,%TEMPFILE%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpFolder1,%TEMPFILE%,,%Operator%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpFolder2,,,"%10%\%MEDIA%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpFolder2,%OPERATORERR%,,%TEMPFILE%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpFolder2,%TEMPFILE%,,%OperatorError%

HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpWave1,,,"%10%\%MEDIA%\%OPERATOR%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpWave1,femopera.wav,,%Female_Operator%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpWave1,malopera.wav,,%Male_Operator%

HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpWave2,,,"%10%\%MEDIA%\%OPERATORERR%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpWave2,femermes.wav,,%Female_Message%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\OpWave2,malermes.wav,,%Male_Message%
