views:

272

answers:

1

Using an arbitrary Windows machine (2000/XP or later), I can

  1. install Eclipse CDT to a USB drive

  2. move that USB drive onto a different Windows machine--one that does not have any form of Eclipse software already installed, and potentially a different version of Windows (but 2000/XP or later)

  3. use Eclipse to develop application-level C/C++ programs on that second machine (and that includes using the debugger), running directly from the USB drive without copying anything to C:.

I can do all this without having Administrator privileges on either machine.

I can do the same with NetBeans, and with several other IDEs that support C/C++ development.

Is it possible to do this with any version of Visual Studio Express?

If not, can you explain the technical reason(s) this doesn't work?

+2  A: 

Eclipse is apparently designed to be what Microsoft calls an XCOPY deployment...meaning that it doesn't require any special entries in the Windows Registry (or any other "installation identity" on the target machine) in order to work properly.

Visual Studio is most decidedly not designed like this. It makes extensive modifications to the registry during installation, and those entries (and any other resources like special folder locations) will be missing on any other computer.

So you might be able to install Visual Studio on a thumb drive, but some artifacts of the installation will be put on the C: drive, and you will only be able to use the thumb drive with that machine.

Robert Harvey
Thanks. But when you say "the registry", are you referring to HKLM or some other section that requires Administrator privileges?
system PAUSE
+1 Correct unless you want to use something like Thinstall. With that, it should be possible, but may not be terribly fast. Visual Studio uses a lot of registry entries, associations and does install quite a few shared components into Program Files. Unless you're able to capture all of those and include them (which is what Thinstall does), it's not really feasible to create a portable VS.
peachykeen
And just to be sure, are you including "Visual Studio Express" when you refer to "Visual Studio"?
system PAUSE
Yes, VS Express follows similar installation principles.
Robert Harvey
@peachy - Thanks for the pointer to Thinstall! Put it in a separate answer and I'll upvote.
system PAUSE