ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/replace_installer.bat
Revision: 490
Committed: Mon Jan 25 07:22:06 2010 UTC (15 years, 8 months ago) by gumby
Content type: application/x-msdos-program
File size: 308 byte(s)
Log Message:
Tentative batch file.

File Contents

# Content
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
6 )
7 else (
8 exit
9 )
10 MOVE %~dp/AEInstaller.exe %~dp\..\..\..\install\
11 RUN %~dp\..\..\..\install\AEInstaller.exe
12 )
13 ELSE (
14 RUN %~dp\AEInstaller.exe
15 )