Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 01-06-2010, 18:00
Onizuka87k's Avatar
Onizuka87k Onizuka87k is offline
Registered User
 
Join Date: Oct 2009
Location: Italy
Posts: 96
Thanks: 31
Thanked 15 Times in 8 Posts
Onizuka87k is on a distinguished road
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
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 20:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com