Groups | Blog | Home
all groups > dotnet framework > april 2007 >

dotnet framework : naive question on applicatonrunnig from USB drive


GS
4/21/2007 9:46:43 AM
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

GS
4/21/2007 10:55:59 AM
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
..
[quoted text, click to view]

Norman Yuan
4/21/2007 11:19:32 AM
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).


[quoted text, click to view]

GS
4/21/2007 2:40:15 PM
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

[quoted text, click to view]

MagicBox
4/21/2007 6:09:58 PM
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.

"GS" <gsmsnews.microsoft.comGS@msnews.Nomail.com> schreef in bericht
news:%2308KExChHHA.3852@TK2MSFTNGP04.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button