Jump to content

Installing XP from CD & USB


Recommended Posts


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

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

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 by T D
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...