Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Updating DLLs on the Fly with Large EXEs

Keywords: 	Updating DLLs on the Fly with Large EXEs  FileVersion

;In a "large exe" this code will attempt to update the wwwnt34I.dll
; if a version older than 11007 is found
dll=FileLocate("wwwnt34I.dll")
if dll != ""
   dllver=FileVerInfo(dll,"","FileVersion")
   fileversion=ItemExtract(1,dllver,",")
   if fileversion < 11007
      FileDelete(dll)
      Run(WinExeName(""),"")
      exit
   endif
endif

AddExtender(dll)

Article ID:   W14584
Filename:   Updating DLLS on the fly with large exes.txt