data0002 Posted June 5, 2006 Share Posted June 5, 2006 Is there a way i can install xp from a normal cd backup and get it to install all the aps, Hotfixs & cmd's from a usb stickThanks Paul Link to comment Share on other sites More sharing options...
mmarable Posted June 5, 2006 Share Posted June 5, 2006 Yes.The simple way would be to have a flag file on the root of the USB stick, and have a batch file look for it and assign a variable like %USB% to it.You're install script would read something like this:ECHO Installing Application "A"%USB%\Apps\Application A\Setup.exe /...... Link to comment Share on other sites More sharing options...
T D Posted June 5, 2006 Share Posted June 5, 2006 You could use IF EXIST commands to search for a file like apps.txt that is on the root of the memstick or something.FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\apps.txt SET USB=%%i:This is an example you could put at the top of the batch.Replace apps.txt with whatever file you want. Maybe a real setup name so you don't have to create a separate file. Link to comment Share on other sites More sharing options...
data0002 Posted June 6, 2006 Author Share Posted June 6, 2006 At what point will the usb stick be seen by the os Link to comment Share on other sites More sharing options...
T D Posted June 6, 2006 Share Posted June 6, 2006 (edited) Put your stick in before it says installing drivers. Or to make things easier, for full unattended install, just before you boot from the cd. It wouldn't work after "installing drivers" because plug and play service isn't enabled until first boot. Edited June 6, 2006 by T D Link to comment Share on other sites More sharing options...
data0002 Posted June 7, 2006 Author Share Posted June 7, 2006 ok thanks will give it a try 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