Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Windows Update...

Windows Update...

Scheduled Pinned Locked Moved The Lounge
questionannouncementworkspace
19 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Vikram A Punathambekar

    He's asking *how it works*, I think. Cheers, Vikram.


    "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton.

    H Offline
    H Offline
    HakunaMatada
    wrote on last edited by
    #7

    Egg-Zactly! I want to know the internals of the Windows Update mechanism, how it works and stuff. Help anyone? :(( :(( Bikash Rai

    T 1 Reply Last reply
    0
    • T toxcct

      answers will come if you give people time to, and if - of course - someone knows...


      TOXCCT >>> GEII power
      [toxcct][VisualCalc 2.20][VisualCalc 3.0]

      H Offline
      H Offline
      HakunaMatada
      wrote on last edited by
      #8

      Sorry if I have offended you. Just that I am desperate!! :sigh: Bikash Rai

      T 1 Reply Last reply
      0
      • H HakunaMatada

        How does Windows Update work? Is downloads a setup file silently in the background and installs it. The Update can also be seen in the add remove programs. How does it do it? Also what happens if the downloading is in progress and the user shuts down the system? Bikash Rai

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #9

        I believe there's ActiveX involved! A signed ActiveX is installed on your system and then it can do as it pleases.

        H 1 Reply Last reply
        0
        • N Nish Nishant

          I believe there's ActiveX involved! A signed ActiveX is installed on your system and then it can do as it pleases.

          H Offline
          H Offline
          HakunaMatada
          wrote on last edited by
          #10

          A signed ActiveX, huh! Any ideas about the installation procedure of the updates and how they show up in the Add-Remove programs list? :confused: Bikash Rai

          1 Reply Last reply
          0
          • H HakunaMatada

            How does Windows Update work? Is downloads a setup file silently in the background and installs it. The Update can also be seen in the add remove programs. How does it do it? Also what happens if the downloading is in progress and the user shuts down the system? Bikash Rai

            M Offline
            M Offline
            Mathias B
            wrote on last edited by
            #11

            I can tell you something about the download. That is done via BITS (Background Intelligent Transfer Service) in the background using about 30% of your available network bandwidth. Shutting down your computer while downloading is no problem, BITS resumes the download of the appropriate file the next time you are online again. More information can be found on MSDN. Greetings Mathias

            H 1 Reply Last reply
            0
            • M Mathias B

              I can tell you something about the download. That is done via BITS (Background Intelligent Transfer Service) in the background using about 30% of your available network bandwidth. Shutting down your computer while downloading is no problem, BITS resumes the download of the appropriate file the next time you are online again. More information can be found on MSDN. Greetings Mathias

              H Offline
              H Offline
              HakunaMatada
              wrote on last edited by
              #12

              Thank You! :) Bikash Rai

              1 Reply Last reply
              0
              • H HakunaMatada

                Sorry if I have offended you. Just that I am desperate!! :sigh: Bikash Rai

                T Offline
                T Offline
                toxcct
                wrote on last edited by
                #13

                Bikash Rai wrote:

                Sorry if I have offended you

                you did not... it is simply common practice on a web forum (which differs by fact with a chat' forum) that answers may not come instantaneously...


                TOXCCT >>> GEII power
                [toxcct][VisualCalc 2.20][VisualCalc 3.0]

                H 1 Reply Last reply
                0
                • T toxcct

                  Bikash Rai wrote:

                  Sorry if I have offended you

                  you did not... it is simply common practice on a web forum (which differs by fact with a chat' forum) that answers may not come instantaneously...


                  TOXCCT >>> GEII power
                  [toxcct][VisualCalc 2.20][VisualCalc 3.0]

                  H Offline
                  H Offline
                  HakunaMatada
                  wrote on last edited by
                  #14

                  Ok. I said Sorry! :sigh: Bikash Rai

                  1 Reply Last reply
                  0
                  • H HakunaMatada

                    Egg-Zactly! I want to know the internals of the Windows Update mechanism, how it works and stuff. Help anyone? :(( :(( Bikash Rai

                    T Offline
                    T Offline
                    toxcct
                    wrote on last edited by
                    #15

                    Bikash Rai wrote:

                    I want to know the internals of the Windows Update mechanism

                    sorry, i cannot find any source code... :doh:


                    TOXCCT >>> GEII power
                    [toxcct][VisualCalc 2.20][VisualCalc 3.0]

                    H 1 Reply Last reply
                    0
                    • T toxcct

                      Bikash Rai wrote:

                      I want to know the internals of the Windows Update mechanism

                      sorry, i cannot find any source code... :doh:


                      TOXCCT >>> GEII power
                      [toxcct][VisualCalc 2.20][VisualCalc 3.0]

                      H Offline
                      H Offline
                      HakunaMatada
                      wrote on last edited by
                      #16

                      No, I wasn't looking for any source code, just articles on how MS does it. :) Bikash Rai

                      1 Reply Last reply
                      0
                      • H HakunaMatada

                        How does Windows Update work? Is downloads a setup file silently in the background and installs it. The Update can also be seen in the add remove programs. How does it do it? Also what happens if the downloading is in progress and the user shuts down the system? Bikash Rai

                        T Offline
                        T Offline
                        TheGreatAndPowerfulOz
                        wrote on last edited by
                        #17

                        look into BITS Background Intelligent Transfer Service[^]

                        H 1 Reply Last reply
                        0
                        • T TheGreatAndPowerfulOz

                          look into BITS Background Intelligent Transfer Service[^]

                          H Offline
                          H Offline
                          HakunaMatada
                          wrote on last edited by
                          #18

                          Thanks.Read about the BITS implementation and its truly great :), but the sad part, it doesn't work with winME and lower :(. Any free implemention similar to BITS but for WinME and lower? Also, It download MSIs for updates, I think :confused:, but how the heck does it update the OS with MSIs. I want this in my own application but have no clue how to go about doing it. Can you help? :sigh: Bikash Rai

                          T 1 Reply Last reply
                          0
                          • H HakunaMatada

                            Thanks.Read about the BITS implementation and its truly great :), but the sad part, it doesn't work with winME and lower :(. Any free implemention similar to BITS but for WinME and lower? Also, It download MSIs for updates, I think :confused:, but how the heck does it update the OS with MSIs. I want this in my own application but have no clue how to go about doing it. Can you help? :sigh: Bikash Rai

                            T Offline
                            T Offline
                            TheGreatAndPowerfulOz
                            wrote on last edited by
                            #19

                            I hope the following helps. If you want help programming it, give me a yell. you can read about msiexec here: About Windows Installer[^] I don't know if this will suit your needs, but it's a place to start: (codeproject) Cool C# File Downloader[^] (C#) File downloading with COM and ASP[^] Sourceforge.net: ImperoUpdater[^] (C#) Sharp AutoUpdater[^] (C#) Also, you can look into implementing something with WinINet: such as with InternetReadFile[^] and InternetSetFilePointer[^] or some of the other Common Functions[^] of

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups