
Load A new Version of an Exe File From the same Exe file
Like this:
copy the new version to the folder as XAPP.EXE
write a batch file to rename XAPP.EXE as APP.EXE
add the path and filename of the batch file to the RunOnce key in the
registry.
Next time your user bootsup,(bootups?) they get the new version.
OR add a second small program to your application suite to do just this
task!
writes
Quote:
>Hi
>I need to copy a new version of app.exe from within the app.exe how can I do
>it ?
>App.Exe
>Sub Main()
> if there is new version of App.exe then
> load the new version
> and run the new version
> endif
>End Sub
--
Chris Petchey