Jump to content

Recommended Posts


Posted

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 /......

Posted

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.

Posted (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 by T D

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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