ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/replace_installer.bat
(Generate patch)

Comparing AE/Installer/trunk/source/replace_installer.bat (file contents):
Revision 495 by gumby, Mon Jan 25 07:27:25 2010 UTC vs.
Revision 496 by gumby, Mon Feb 22 00:00:55 2010 UTC

# Line 1 | Line 1
1 < SLEEP 1
2 < REM %~dp is the directory of the batch file
3 < if exist %~dp\AEInstaller.exe (
4 <        if exist %~dp\..\..\..\install\AEInstaller.exe (
5 <                DEL %1
1 > PING -n 1 127.0.0.1>nul
2 > cd "%~dp0" /D
3 > if exist AEInstaller.exe (
4 >        if exist .\..\..\..\install\AEInstaller.exe (
5 >                DEL .\..\..\..\install\AEInstaller.exe
6          )
7 <        else (
8 <                exit
9 <        )
10 <        MOVE %~dp/AEInstaller.exe  %~dp\..\..\..\install\
11 <        START %~dp\..\..\..\install\AEInstaller.exe
7 >
8 >        COPY AEInstaller.exe  .\..\..\..\install\
9 >        START ..\..\..\install\AEInstaller.exe
10   )
13 ELSE (
14        START %~dp\AEInstaller.exe
15 )

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)