naive question on applicatonrunnig from USB drive

  • Thread starter Thread starter GS
  • Start date Start date
G

GS

is it possible for a regular(not power nor admin) XP user to run dotnet
applcation from USB drive even if the host does not have dotnet run time?.
if so how?

I am thinking of C# on .net 2
 
AFAIK you can't run the application untill the .NET distributable is
installed on the host. Merely providing the .NET DLL's with your application
is not enough.
 
too bad. there is this new slur of USB flash drives that claims to allow
people to run custom applications off the USB flash drive and does not
require any host disk space nor privilege., also claiming no alternation of
the host os, nor trace behind

I guess Java runtime can be used that way
..
 
You might consider .NET framework as part of (Windows) OS or OS extension.
So, .NET must be installed before you can run .NET app. And yes, once .NET
installed, you can run .NET app from external drive. The same probably also
applies to Java app (not sure, though).
 
with jre, you can use a batch file to setup the relevant temporary
environment to execute java classes
so if java is not installed, you won't be using
java -cp ...
instead you will use something like
x:\myJREFolder\bin\java -cp ....
after setting the relevant environment variables where x is the USB drive or
whatever
 
Back
Top