Jump to content

Install From Usb


winston

Recommended Posts

Here is what I have in my wpi config for one of the apps:

%usb%\spybotsd13.exe /verysilent /sp-

That may be, but my point is, %usb% wont be set unless something similar to that IF EXIST statement is configured in WPI.. otherwsie WPI isnt gonna know what the heck %usb% is.

Link to comment
Share on other sites


I have edited the WPI.cmd to include usb but it doesn't seem to work. Here is the code I have used:

@ECHO OFF
REM
REM WPI startup something.
REM

REM Example, how to look for CDROM-drive. Must have a file called WIN51 in its root.
for %%i in (C 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:\WIN51 set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

REM Example, how to look for USB-drive. Must have a file called usb.txt in its root.
for %%h in (C 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 %%h:\usb.txt set USB=%%h:
echo Found USB as drive %USB%

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