Visual Studio 2005 on USB Stick

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • hufaunder@yahoo.com

    Visual Studio 2005 on USB Stick

    I often find myself in the situation where at a customers site I have
    to do some quick debugging or program changes. Obvioiusly, I do not
    want to install VS2005 on their system. Is there a ways to install
    VS2005 on a big and fast USB stick, plug it into a computer without
    VS2005 and start using it there? If not are there any alternatives.

    Thanks

  • =?Utf-8?B?VHJlY2l1cw==?=

    #2
    RE: Visual Studio 2005 on USB Stick

    Hufaunder:

    I don't think you can accomplish that with a USB drive, for Visual Studio is
    very integrated into the OS [i.e. the registry]. And I don't think you can
    remote connect -- or tunnel -- into another computer, for the program is
    LOCAL only to the computer you're running it on. Again, I don't think it's
    possible, but I may be wrong.


    Trecius

    "hufaunder@yaho o.com" wrote:
    I often find myself in the situation where at a customers site I have
    to do some quick debugging or program changes. Obvioiusly, I do not
    want to install VS2005 on their system. Is there a ways to install
    VS2005 on a big and fast USB stick, plug it into a computer without
    VS2005 and start using it there? If not are there any alternatives.
    >
    Thanks
    >
    >

    Comment

    • Chris Mullins [MVP - C#]

      #3
      Re: Visual Studio 2005 on USB Stick

      <hufaunder@yaho o.comwrote:
      >I often find myself in the situation where at a customers site I have
      to do some quick debugging or program changes. Obvioiusly, I do not
      want to install VS2005 on their system. Is there a ways to install
      VS2005 on a big and fast USB stick, plug it into a computer without
      VS2005 and start using it there? If not are there any alternatives.
      Not very likley...

      In that scenario your realistic options are:
      - Create a VM-Ware or Virtual PC image with an O/S and your dev tools.
      - Bring a Laptop.

      You can, of course, copy the .Net compilers to a USB stick, along with your
      favorite text editor. You can debug using WinDbg & Son of Strike (which can
      also be on the USB stick), and then edit your code & compile. This option
      though would really suck compared to using VS.Net.

      --
      Chris Mullins


      Comment

      • Ignacio Machin \( .NET/ C# MVP \)

        #4
        Re: Visual Studio 2005 on USB Stick

        Hi,

        As other people mentioned it's not possible.

        Another possible option is that if your client has internet connection you
        could remote to your dev machine @ your office and do the changes.

        Personally I do not like to have my source codes around so I would not use a
        client machine for any debugging/compilation.

        Of course you can always bring your own notebook :)

        --
        Ignacio Machin
        The #1 Warehouse Management System & Direct Store Delivery Software (DSD) for QuickBooks & ERP Systems – LaceUp Solutions

        Mobile & warehouse Solutions.
        <hufaunder@yaho o.comwrote in message
        news:1192557487 .095489.181590@ v23g2000prn.goo glegroups.com.. .
        >I often find myself in the situation where at a customers site I have
        to do some quick debugging or program changes. Obvioiusly, I do not
        want to install VS2005 on their system. Is there a ways to install
        VS2005 on a big and fast USB stick, plug it into a computer without
        VS2005 and start using it there? If not are there any alternatives.
        >
        Thanks
        >

        Comment

        • hufaunder@yahoo.com

          #5
          Re: Visual Studio 2005 on USB Stick

          On Oct 16, 1:39 pm, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
          laceupsolutions .comwrote:
          Hi,
          >
          As other people mentioned it's not possible.
          >
          Another possible option is that if your client has internet connection you
          could remote to your dev machine @ your office and do the changes.
          >
          Personally I do not like to have my source codes around so I would not use a
          client machine for any debugging/compilation.
          >
          Of course you can always bring your own notebook :)
          >
          --
          Ignacio Machinwww.laceu psolutions.com
          Mobile & warehouse Solutions.<hufa un...@yahoo.com wrote in message
          >
          news:1192557487 .095489.181590@ v23g2000prn.goo glegroups.com.. .
          >
          >
          >
          I often find myself in the situation where at a customers site I have
          to do some quick debugging or program changes. Obvioiusly, I do not
          want to install VS2005 on their system. Is there a ways to install
          VS2005 on a big and fast USB stick, plug it into a computer without
          VS2005 and start using it there? If not are there any alternatives.
          >
          Thanks- Hide quoted text -
          >
          - Show quoted text -
          Thanks for all the input. Currently I am bringing my laptop to do
          changes and then copy to program over to the clients machine. Of
          course that makes it impossible to do any real debugging. Therefore, I
          was looking for a solution where I can have both VS2005 and my source
          on a memory stick. That way none of the two is ever touching their
          computer.

          Is there any other way this could be achieved?

          Thanks

          Comment

          • Peter Duniho

            #6
            Re: Visual Studio 2005 on USB Stick

            hufaunder@yahoo .com wrote:
            Thanks for all the input. Currently I am bringing my laptop to do
            changes and then copy to program over to the clients machine. Of
            course that makes it impossible to do any real debugging. Therefore, I
            was looking for a solution where I can have both VS2005 and my source
            on a memory stick. That way none of the two is ever touching their
            computer.
            >
            Is there any other way this could be achieved?
            Well, other than having your client use the program on your own laptop
            for the purpose of reproducing bugs, another option is to install the
            remote debugging component on your client's computer and then debug from
            your laptop using the installed Visual Studio there.

            It does mean installing at least that one part of Visual Studio on the
            client's computer, but at least the source code would not need to be
            there. Given your apparent need to debug based on the software
            installed on the client's computer, this may in fact be the most
            appropriate solution.

            By the way, I'm a little confused by the "none of the two is ever
            touching their computer" statement. If you have VS and your source code
            on a memory stick, and you then plug that memory stick into your
            client's computer, all of the contents on the memory stick are not
            "touching" your client's computer. It's not clear to me whether your
            concern is one of security, or just of practicality, but if the former
            then using a memory stick isn't a good solution anyway.

            Pete

            Comment

            • Samuel R. Neff

              #7
              Re: Visual Studio 2005 on USB Stick


              The .NET 2.0 SDK includes "Microsoft CLR Debugger" which is a stripped
              down version of visual studio and works very well for debugging (in
              many ways better than VS since it's stripped down and runs faster).

              It needs to be installed but it's much smaller than full VS.

              Sam

              ------------------------------------------------------------
              We're hiring! B-Line Medical is seeking .NET
              Developers for exciting positions in medical product
              development in MD/DC. Work with a variety of technologies
              in a relaxed team environment. See ads on Dice.com.




              On Tue, 16 Oct 2007 10:58:07 -0700, "hufaunder@yaho o.com"
              <hufaunder@yaho o.comwrote:
              >I often find myself in the situation where at a customers site I have
              >to do some quick debugging or program changes. Obvioiusly, I do not
              >want to install VS2005 on their system. Is there a ways to install
              >VS2005 on a big and fast USB stick, plug it into a computer without
              >VS2005 and start using it there? If not are there any alternatives.
              >
              >Thanks

              Comment

              • Rad [Visual C# MVP]

                #8
                Re: Visual Studio 2005 on USB Stick

                On Tue, 16 Oct 2007 10:58:07 -0700, "hufaunder@yaho o.com"
                <hufaunder@yaho o.comwrote:
                >I often find myself in the situation where at a customers site I have
                >to do some quick debugging or program changes. Obvioiusly, I do not
                >want to install VS2005 on their system. Is there a ways to install
                >VS2005 on a big and fast USB stick, plug it into a computer without
                >VS2005 and start using it there? If not are there any alternatives.
                >
                >Thanks
                I don't believe you can do that, because VS has dependencies in the
                file system and registry after installation.

                If it is for quick and dirty coding, you can use Jeff Key's Snippet
                Compiler.

                Alternatively you can carry around on your flash disk SharpDevelop,
                which is pretty functional. You can install it on a client PC, make
                your changes and uninstall it when you're done in a few minutes

                --

                Comment

                • Brian

                  #9
                  Re: Visual Studio 2005 on USB Stick

                  On Oct 16, 12:58 pm, "hufaun...@yaho o.com" <hufaun...@yaho o.com>
                  wrote:
                  I often find myself in the situation where at a customers site I have
                  to do some quick debugging or program changes. Obvioiusly, I do not
                  want to install VS2005 on their system. Is there a ways to install
                  VS2005 on a big and fast USB stick, plug it into a computer without
                  VS2005 and start using it there? If not are there any alternatives.
                  >
                  Thanks
                  An interesting challenge. Here is what you might try:
                  use a clean box that has the same machine name and network info as the
                  one you want to work on and
                  1. Make a backup of your Registry
                  2. Run filemon some other filewatching program
                  3. Attach your USB drive to the box
                  4. Install VS on the USB drive
                  5. Do a textual Dif on the old registry vs the new registry
                  6. Copy all of the different registry keys to a reg file
                  7. Look at the filemon output and copy all of the new files on the C
                  directory over to the USB drive in a specific location
                  8. When you are on the other machine
                  - backup their registry
                  - apply your reg file
                  - copy the C drive over

                  I don't really know if that works. If someone wants to test that out
                  and let us know that would be cool.

                  Comment

                  • Sheng Jiang[MVP]

                    #10
                    Re: Visual Studio 2005 on USB Stick

                    see if your USB can hold a virtual PC image that has win2k+VS2005... maybe xp

                    --
                    Sheng Jiang
                    Microsoft MVP in VC++
                    <hufaunder@yaho o.comwrote in message
                    news:1192557487 .095489.181590@ v23g2000prn.goo glegroups.com.. .
                    I often find myself in the situation where at a customers site I have
                    to do some quick debugging or program changes. Obvioiusly, I do not
                    want to install VS2005 on their system. Is there a ways to install
                    VS2005 on a big and fast USB stick, plug it into a computer without
                    VS2005 and start using it there? If not are there any alternatives.
                    >
                    Thanks
                    >

                    Comment

                    • Nicolas Noakes

                      #11
                      Re: Visual Studio 2005 on USB Stick

                      "Sheng Jiang[MVP]" <sheng_jiang@ho tmail.com.discu sswrote in message
                      news:%23rLW2TOE IHA.4140@TK2MSF TNGP03.phx.gbl. ..
                      see if your USB can hold a virtual PC image that has win2k+VS2005... maybe
                      xp
                      This won't help the OP to debug on the client's system, in this case he may
                      as well just take a laptop with him :-)

                      Nicolas


                      Comment

                      • hufaunder@yahoo.com

                        #12
                        Re: Visual Studio 2005 on USB Stick

                        On Oct 16, 1:56 pm, Peter Duniho <NpOeStPe...@Nn OwSlPiAnMk.comw rote:
                        Well, other than having your client use the program on your own laptop
                        for the purpose of reproducing bugs, another option is to install the
                        remote debugging component on your client's computer and then debug from
                        your laptop using the installed Visual Studio there.
                        >
                        It does mean installing at least that one part of Visual Studio on the
                        client's computer, but at least the source code would not need to be
                        there. Given your apparent need to debug based on the software
                        installed on the client's computer, this may in fact be the most
                        appropriate solution.
                        >
                        By the way, I'm a little confused by the "none of the two is ever
                        touching their computer" statement. If you have VS and your source code
                        on a memory stick, and you then plug that memory stick into your
                        client's computer, all of the contents on the memory stick are not
                        "touching" your client's computer. It's not clear to me whether your
                        concern is one of security, or just of practicality, but if the former
                        then using a memory stick isn't a good solution anyway.
                        >
                        Pete
                        Thanks for the input. I will give the remote debugging a try.

                        Regarding "none of the two is every touching their computer" what you
                        describe is exactly what I want. I want to bring a ready VS2005
                        without having to install it on the client's computer. Also I don't
                        want the source code to be on their system. Even if I delete it and
                        clean the recycle bin they still could get to it. Plus human error has
                        to be considered too (not delete it, not empty recycle bin, not using
                        a "secure delete" program, etc).

                        The reason I cannot use my laptop to run the application is because
                        there are several PCI cards in the clients computer that the program
                        needs to access. Obviously, I can't stick them into my laptop.

                        Thanks

                        Comment

                        • Peter Duniho

                          #13
                          Re: Visual Studio 2005 on USB Stick

                          hufaunder@yahoo .com wrote:
                          Thanks for the input. I will give the remote debugging a try.
                          >
                          Regarding "none of the two is every touching their computer" what you
                          describe is exactly what I want. I want to bring a ready VS2005
                          without having to install it on the client's computer. Also I don't
                          want the source code to be on their system. Even if I delete it and
                          clean the recycle bin they still could get to it. Plus human error has
                          to be considered too (not delete it, not empty recycle bin, not using
                          a "secure delete" program, etc).
                          Well, the point of my comment is that even putting everything on a USB
                          drive doesn't address that issue. If the source code is on the drive,
                          and the drive is plugged into the client's computer, then there exists
                          the theoretical possibility that the source code could be copied to the
                          client's computer, intentionally or otherwise, with or without your
                          knowledge.
                          The reason I cannot use my laptop to run the application is because
                          there are several PCI cards in the clients computer that the program
                          needs to access. Obviously, I can't stick them into my laptop.
                          Yeah, I can't believe laptop design hasn't solved that issue yet. :)

                          Seriously though, hopefully the remote debugging will work for you. It
                          seems like the exact solution you're looking for. If all else fails,
                          you might consider one of the small form-factor PCs (e.g. Shuttle case
                          with microATX board). They are easy to haul around -- practically as
                          easy as a laptop -- but still allow PCI cards to be installed.

                          Pete

                          Comment

                          Working...