|
#7
|
||||
|
||||
|
Hey senseman, great job!
I did a little .bat script that does the job from point 4 to 10, all automatic! Just save the script in a file called "setup.bat", put in the same dir with your files (iscab) and delete repack_cabs.bat. Use setup.bat as "installer". Try please and let me know if it works fine! Here is the script: Code:
cls @echo off color 0C echo. echo. echo Repacking cabs, please wait... echo. echo. echo. iscab data1.cab -r -i"list.ini" cls echo. echo. echo Moving cabs... echo. echo. echo. move /y data3.cab "..\AP2" >nul move /y data4.cab "..\AP3" >nul move /y data5.cab "..\AP3" >nul echo. echo. echo Coping files... echo. echo. echo. xcopy APLauncher.exe "..\AP2" >nul xcopy APLauncher.exe "..\AP3" >nul xcopy /Y /S /E support\*.* ..\AP2\support\ >nul xcopy /Y /S /E support\*.* ..\AP3\support\ >nul xcopy /Y /S /E root\*.* ..\AP2\root\ >nul xcopy /Y /S /E root\*.* ..\AP3\root\ >nul echo. echo. echo Creating autorun.inf... echo. echo. echo. > "..\AP2\autorun.inf" ECHO [autorun] >> "..\AP2\autorun.inf" ECHO open=0 >> "..\AP2\autorun.inf" ECHO icon=APLauncher.exe >> "..\AP2\autorun.inf" ECHO label=Alpha Protocol copy /Y "..\AP2\autorun.inf" "..\AP3\autorun.inf" >nul cls echo. echo. echo Deleting files... echo. echo. echo. del /F /Q setup.bat repack_cabs.bat MediaBuild40.dll make_list.bat list.ini ISTools.dll ISCAB.exe >nul cls echo. echo. echo All done! echo. echo. echo. pause |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|