Uninstall / reinstall
if $TSClient=$False and $IsServer=$False
$wsKeyfaxInstallVersion = "1.00"
if exist("%windir%\ituadmin\KeyfaxInstall\Version$wsKeyfaxInstallVersion.txt") = $False
if exist("%windir%\ituadmin\KeyfaxInstall\Version*.txt") = $True
del "%windir%\ituadmin\KeyfaxInstall\Version*.txt"
endif
" Installing Keyfax..."
; Uninstall previous version
if exist("%SystemDrive%\Progra~1\Keyfax\INSTALL.LOG") = $True
shell '"%SystemDrive%\Progra~1\Keyfax\UNWISE.EXE" /S C:\Progra~1\Keyfax\INSTALL.LOG'
endif
; Install new version
shell '\\WEBSERVER\KFinstallationCD\KF40client_4-0-0-7.exe /S'
; Create version stamp
if exist("%windir%\ituadmin") = $False
md "%windir%\ituadmin"
endif
if exist("%windir%\ituadmin\KeyfaxInstall") = $False
md "%windir%\ituadmin\KeyfaxInstall"
endif
$x = RedirectOutput("%windir%\ituadmin\KeyfaxInstall\Version$wsKeyfaxInstallVersion.txt",1)
"Keyfax Install Version $wsKeyfaxInstallVersion"
$x = RedirectOutput("")
"Done.@crlf"
endif
endifLast updated