Sesshoumaru Posted August 13, 2004 Share Posted August 13, 2004 cleanup.cmd ?prepeare.cmd ?i find examples of those in the unattended guide, but it doesn't tell me how to use them i think using a batch file is old stile now, where can i read about those ? Link to comment Share on other sites More sharing options...
RichTJ99 Posted August 13, 2004 Share Posted August 13, 2004 http://unattended.msfn.org/xp/runonceex.htmThat should cover it but the quick version is that if your runonceex.cmd file was this:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdobeReader6\AR6.msi /qn" /fREG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITYou would make a prepare.cmd file for things you want the runonceex.cmd to do before it got rolling. Then you would use a cleanup.cmd for what you want it to do at the end (like deleting stuff, etc).You could use it all in the runonceex.cmd if you wanted to but it looks cooler this way. Link to comment Share on other sites More sharing options...
Klif! Posted August 13, 2004 Share Posted August 13, 2004 To be honest if there is not a special reason to devide those commands in different files I would use just the RunOnceEx.cmd. But that is just me. Link to comment Share on other sites More sharing options...
Alanoll Posted August 13, 2004 Share Posted August 13, 2004 you don't want to use RunOnceEX.CMD to call the commands within the other two. If you added an entry (another reg set) to call the combined second batch file (prepare.cmd and cleanup.cmd) then it will work.runonceex.cmd does NOT execute the programs. Technically setupapi.dll does upon restart. Runonceex.cmd just adds the entries to the registry telling setupapi.dll what to do. If you were to remove the files in runonceex.cmd (cleanup.cmd) then when setupapi.dll runs upon start you'll have nothign but errors. Link to comment Share on other sites More sharing options...
Sesshoumaru Posted August 13, 2004 Author Share Posted August 13, 2004 well, i gave it a try, but my instalation stalls during th e final steps, of the OS instalation (way before it loads for the first time).maybe i did something wrong when i moved forom the batch files to this method, so i am attaching the new files along with the old batch file, can someone take a look at it?also, i didn't find instructions for intalling RegscrubXP or SAV corporate 9, or a .exe for usb instalation.here are their spesific lines:REG ADD %KEY%\041 /VE /D "regscrubXP 3.25" /fREG ADD %KEY%\041 /V 1 /D "%systemdrive%\install\applications\regscrubXP\RegScrubXPSetup_3.2.exe /VERYSILENT /SP-" /fREG ADD %KEY%\045 /VE /D "usb" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\usb\U2V2_1_2_1.EXE /s /qn"REG ADD %KEY%\035 /VE /D "SAV corporate v9" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\SAV\Symantec AntiVirus.msi /qn" /fxp_con_sp2.rar Link to comment Share on other sites More sharing options...
Sesshoumaru Posted August 14, 2004 Author Share Posted August 14, 2004 also, is this line ok, or is it TOO long ?OemPnPDriversPath="drivers\SATA;drivers\video;drivers\audiodrv;drivers\audioutl;drivers\ethernet;drivers\GART;drivers\smbus;drivers\IDE\winxp;drivers\memctl;drivers\ethernet\preNRM\winxp;drivers\monitor;Drivers\006_storage;Drivers\006_storage\3ware;Drivers\006_storage\3ware\6000;Drivers\006_storage\3ware\7k&8k;Drivers\006_storage\acard;Drivers\006_storage\acard\6280;Drivers\006_storage\acard\6290;Drivers\006_storage\acard\67160;Drivers\006_storage\acard\671x;Drivers\006_storage\acard\6880;Drivers\006_storage\acard\6890;Drivers\006_storage\acard\68x5;Drivers\006_storage\adaptec;Drivers\006_storage\adaptec\aac;Drivers\006_storage\adaptec\aar1210;Drivers\006_storage\adaptec\i2o;Drivers\006_storage\adaptec\u160;Drivers\006_storage\adaptec\u320;Drivers\006_storage\adaptec\u320r;Drivers\006_storage\ali;Drivers\006_storage\amd;Drivers\006_storage\highpoint;Drivers\006_storage\highpoint\hpt366;Drivers\006_storage\highpoint\hpt371;Drivers\006_storage\highpoint\hpt374;Drivers\006_storage\highpoint\hpt3xx;Drivers\006_storage\highpoint\rr182x;Drivers\006_storage\intel;Drivers\006_storage\intel\eide;Drivers\006_storage\intel\sataraid;Drivers\006_storage\intel\u320r;Drivers\006_storage\ite;Drivers\006_storage\lsilogic;Drivers\006_storage\lsilogic\megaide;Drivers\006_storage\lsilogic\mraid35x;Drivers\006_storage\lsilogic\mylex;Drivers\006_storage\lsilogic\symmpi;Drivers\006_storage\nvidia;Drivers\006_storage\nvidia\eide;Drivers\006_storage\nvidia\raid;Drivers\006_storage\promise;Drivers\006_storage\promise\fasttrak;Drivers\006_storage\promise\fasttx2k;Drivers\006_storage\promise\sx4000;Drivers\006_storage\promise\sx6000;Drivers\006_storage\promise\ulsata;Drivers\006_storage\promise\ultra;Drivers\006_storage\qlogic;Drivers\006_storage\qlogic\12160;Drivers\006_storage\siimage;Drivers\006_storage\siimage\3112;Drivers\006_storage\siimage\3112r;Drivers\006_storage\siimage\3114;Drivers\006_storage\siimage\3114r;Drivers\006_storage\siimage\3124;Drivers\006_storage\siimage\3124r;Drivers\006_storage\siimage\649r;Drivers\006_storage\siimage\680;Drivers\006_storage\siimage\680r;Drivers\006_storage\sis;Drivers\006_storage\sis\eide;Drivers\006_storage\sis\raid;Drivers\006_storage\via;Drivers\006_storage\via\eide;Drivers\006_storage\via\ideraid;Drivers\006_storage\via\miniport;Drivers\006_storage\via\sataraid" 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