Siginet Posted August 18, 2005 Share Posted August 18, 2005 (edited) This is very important if you wish to have everything unattended during the packing process. It is actually very easy when you know what to change. I will post my current RUN_ME.cmd file... but make sure you manually do the changes because later releases of the BTS DriverPack Base may change.OK. first thing you need to do is get rid of every instance of PAUSEThe easiest way to do this would be...1. Right click the RUN_ME.cmd file and "Open With NotePad"2. Press CTRL+H (Or go to the tab EDIT and choose REPLACE)3. In the Find What box type: PAUSE4. In the Replace With box type: REM ### Siginet PAUSE (You must at least use REM but I add the other text so I can easily reference back to it later if I want to put the changes back to normal.)5. Now click on the Replace All button.It should quickly make all of the changes thus far.6. Find and replace each section below:-------------------------------------------------------------------------------------------------------------------------------Find "GUIRunOnce" or "RunOnceEx" Options:SET CHOICE=SET /P CHOICE=" "IF /I '%CHOICE%'=='G' GOTO CPLs_GUIRunOnceIF /I '%CHOICE%'=='R' GOTO CPLs_RunOnceExIF NOT /I '%CHOICE%'=='G' IF NOT /I '%CHOICE%'=='R' GOTO REPEAT_SETTING_1Replace with:REM ### Siginet SET CHOICE=REM ### Siginet SET /P CHOICE=" "REM ### Siginet IF /I '%CHOICE%'=='G' GOTO CPLs_GUIRunOnceREM ### Siginet IF /I '%CHOICE%'=='R' GOTO CPLs_RunOnceExREM ### Siginet IF NOT /I '%CHOICE%'=='G' IF NOT /I '%CHOICE%'=='R' GOTO REPEAT_SETTING_1The choice I reccommend is in blue... but you can replace it with the red text if you wish.-------------------------------------------------------------------------------------------------------------------------------Find "SET ROE_NUMBER" Options:SET ROE_NUMBER=SET /P ROE_NUMBER=" "IF /I '%ROE_NUMBER%'=='' GOTO REPEAT_CPLs_RunOnceExReplace With:SET ROE_NUMBER=937REM ### Siginet SET /P ROE_NUMBER=" "REM ### Siginet IF /I '%ROE_NUMBER%'=='' GOTO REPEAT_CPLs_RunOnceExYou may change the numbers in green if you wish. I think they have to be a 3 digit number though. -------------------------------------------------------------------------------------------------------------------------------Find "KtD_ENABLE" or "KtD_DISABLE" Options:SET CHOICE=SET /P CHOICE=""IF /I '%CHOICE%'=='Y' GOTO KtD_ENABLEIF /I '%CHOICE%'=='N' GOTO KtD_DISABLEIF NOT /I '%CHOICE%'=='Y' IF NOT /I '%CHOICE%'=='N' GOTO REPEAT_SETTING_2Replace with:SET CHOICE=REM ### Siginet SET /P CHOICE=""REM ### Siginet IF /I '%CHOICE%'=='Y' GOTO KtD_ENABLEREM ### Siginet IF /I '%CHOICE%'=='N' GOTO KtD_DISABLEREM ### Siginet IF NOT /I '%CHOICE%'=='Y' IF NOT /I '%CHOICE%'=='N' GOTO REPEAT_SETTING_2The choice I reccommend is in blue... but you can replace it with the red text if you wish.-------------------------------------------------------------------------------------------------------------------------------You can setup your RUN_ME.cmd file any way you like. The settings I chose above work best for me... and they save a lot of room on the disk. In my opinion those are the best settings. Good luck... and post here any questions pertaining to this tutorial. Edited August 26, 2005 by Siginet Link to comment Share on other sites More sharing options...
Siginet Posted August 18, 2005 Author Share Posted August 18, 2005 (edited) deleted Edited August 26, 2005 by Siginet Link to comment Share on other sites More sharing options...
dale5605 Posted August 19, 2005 Share Posted August 19, 2005 I know this is a bit off-topic. But I like the smilies you have in your RUN_ME.cmd. B) You might want to try the CODE tags? Link to comment Share on other sites More sharing options...
Siginet Posted August 19, 2005 Author Share Posted August 19, 2005 (edited) The smilies aren't messing up the code. They are in a section of the code that does not matter anyways. I used the quote feature because i wanted to use color tags. If I used a code box I wouldn't have been able to use color tags. B)I fixed it for ya though. Edited August 19, 2005 by Siginet Link to comment Share on other sites More sharing options...
dale5605 Posted August 19, 2005 Share Posted August 19, 2005 I miss the smilies, I want them back. Link to comment Share on other sites More sharing options...
Siginet Posted August 19, 2005 Author Share Posted August 19, 2005 LOL! Link to comment Share on other sites More sharing options...
Siginet Posted August 19, 2005 Author Share Posted August 19, 2005 I fixed the tutorial. I posted a way that did not work correctly. Please try again if you tried previously. Link to comment Share on other sites More sharing options...
djbe Posted August 25, 2005 Share Posted August 25, 2005 (edited) Uuuuuuuuuuhmyou really really should want to try something like this:put the following text in some file, call it keys.txt (for this example):1PLEASE pay attention to the newlines, it's '1' and then ONE newline.then put keys.txt in the same dir as BTS_DPs_Slipstreamer_V5081.cmd, open a cmd prompt, go to the dir, and type this:BTS_DPs_Slipstreamer_V5081.cmd < keys.txtTADAA, you got past the question wich asks for the method. Now implement that in your scripts, or yeah, since you are using autoIt, why not just use sendkeys to get past those questions instead of having people editing huge files?just a suggestion edit: and why did you post the whole cmd? Edited August 25, 2005 by djbe Link to comment Share on other sites More sharing options...
Siginet Posted August 26, 2005 Author Share Posted August 26, 2005 Uuuuuuuuuuhmyou really really should want to try something like this:put the following text in some file, call it keys.txt (for this example):1PLEASE pay attention to the newlines, it's '1' and then ONE newline.then put keys.txt in the same dir as BTS_DPs_Slipstreamer_V5081.cmd, open a cmd prompt, go to the dir, and type this:BTS_DPs_Slipstreamer_V5081.cmd < keys.txtTADAA, you got past the question wich asks for the method. Now implement that in your scripts, or yeah, since you are using autoIt, why not just use sendkeys to get past those questions instead of having people editing huge files?just a suggestion edit: and why did you post the whole cmd?<{POST_SNAPBACK}>Nice tip. So how would I answer all of the questions? I will play around with it. I deleted the post of the cmd file You are right... there was no need. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now