Can Visual Studio Express run from USB drive?

删除回忆录丶 提交于 2019-11-28 01:44:47

问题


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?


回答1:


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.




回答2:


It can definitely be done! I've seen a technician with a copy of it on a USB stick. the only visible flaw was that when you run on a different PC it requires you to enter the license. I could not see any other problems (speed/debugger etc. it all worked on his copy). check this out: http://technet.microsoft.com/en-us/appvirtualization/dd334515.aspx I believe the virtualized package I saw was made by this means: http://spoon.net/Studio/ Unfortunately it would be matter of experimenting with it...

No VM or extra software was needed!




回答3:


Maybe you could install VS Express in a VM running from the USB drive using Portable VirtualBox or VMPlayer. Not the best performance but its usable for not too big projects or learning.



来源:https://stackoverflow.com/questions/2877290/can-visual-studio-express-run-from-usb-drive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!