winston
Mar 2 2005, 10:32 AM
Is there anyway to install applications from a usb drive(hard drive or pen/thumb drive)? I have searched but have not found the answer.
just do it like any other way
if exist c:\filename.txt set usb=c:\
do the same for all drives
just have filename.txt on your usb drive
durex
Mar 2 2005, 07:40 PM
and if you meant is there anyway to do your UA windows install from a usb key, the answer is no, you cant.
eagle00789
Mar 3 2005, 09:20 AM
QUOTE (durex @ Mar 2 2005, 07:40 PM)
and if you meant is there anyway to do your UA windows install from a usb key, the answer is no, you cant.
Sorry to disappoint you, but yes you can.
The only downside to this, is that your bios has to support it.
batman75
Mar 3 2005, 09:41 AM
@Eagle,
Have you done this?
I was thinking of giving this a try.
Thanks
winston
Mar 3 2005, 09:50 AM
No I'm not looking on how to do a ua from a usb key. My ua is on cd and I want to be able to go to a usb key for the applications to install. My CD with what applications I have on it is already at 690mb and still have more apps to go. I am using wpi to pick what apps to install.
durex
Mar 3 2005, 01:43 PM
QUOTE (eagle00789 @ Mar 3 2005, 11:20 AM)
Sorry to disappoint you, but yes you can.
The only downside to this, is that your bios has to support it.
Interesting... you're the 1st to say that around here... Ive seen about 5 different threads asking this question and they all say you cant. Mind shedding some light how to do it or how to verify if you bios supports it?
Thanks!
bledd
Mar 3 2005, 02:18 PM
if your bios supports it, it'll have USB-ZIP, USB-DRIVE options for boot priority, I've never used it, but have seen those options, on a shuttle I saw them
Bâshrat the Sneaky
Mar 3 2005, 02:41 PM
It's possible indeed. But you need a relative new motherboard for it... (and the money for a expensive USB stick)
mow9779
Mar 4 2005, 12:47 AM
Hey guys, I hate to rain on your parade but windows does not allow you to boot from a usb device. What happens is during the boot process windows re-initializes the usb devices which in turn disconnects the primary drive because it is a usb device. When this happens windows freaks out and crashes. I have tried this a few times and yes I have 2 different new boards that support booting from usb. I believe there may be some linux distributions that this may work on but as for windows, as of right now, it does not.
Just my two sense...
mow
mow9779
Mar 4 2005, 12:49 AM
One more comment, if you're going to try this anyway, make sure you disconnect your primary hd before trying to install to the usb drive. Odds are it will corrupt your primary when trying to load windows to the usb drive...
mow
winston
Mar 4 2005, 08:01 AM

Ok we seem to be missing the real question here. My question is: I have an unattended install of XP on cd with as many applications that will fit on it(683mb). I have extra applications that I need to install, that are on my usb key and/or usb hard drive. My original question is is this possible and how to do it. I have tried the following code in runonceex.cmd:
CODE
@Echo Off
SET PP=%SystemDrive%\Install\
IF EXIST D:\usb.txt set usb=D;
IF EXIST E:\usb.txt set usb=E;
IF EXIST F:\usb.txt set usb=F;
IF EXIST G:\usb.txt set usb=G;
IF EXIST H:\usb.txt set usb=H;
IF EXIST I:\usb.txt set usb=I;
IF EXIST J:\usb.txt set usb=J;
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Starting Windows Post Installer" /f
REG ADD %KEY%\000 /VE /D "Windows Post installer" /f
REG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Installs\wpi\wpi.cmd" /f
EXIT
This didn't seem to work the usb.txt(which is a blank text file) file is located on my usb device root.
durex
Mar 4 2005, 08:25 AM
This isnt going to work because while youre setting the 'usb' variable in your runonceex script, it wont be set in wpi. I dont use WPI, so Im not familar with how it works, but if theres something in on of the scripts which say where you want to install from (cdrom, hard drive, usb), this is what you need to change... not your runonceex. Youd be better off posting something in that section for an answer.
winston
Mar 4 2005, 08:28 AM
Here is what I have in my wpi config for one of the apps:
%usb%\spybotsd13.exe /verysilent /sp-
winston
Mar 4 2005, 08:31 AM
In the options in wpi for disc path the description says blank or 'root'- not used, when using %xxx% in path
durex
Mar 4 2005, 08:47 PM
QUOTE (winston @ Mar 4 2005, 10:28 AM)
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.
winston
Mar 7 2005, 03:46 PM
I have edited the WPI.cmd to include usb but it doesn't seem to work. Here is the code I have used:
CODE
@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%
durex
Mar 7 2005, 04:50 PM
Again.. try posting up in the WPI forum section.... youd be much more likely to get an answer there
winston
Mar 8 2005, 09:52 AM
ok moved onto wpi forum and linked to this topic.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.