Trevin Chow

Technology and Photography

Microsoft Store Download Manager

with 12 comments

One of the challenges for the Microsoft Store was how to effectively deliver Electronic Software Distribution (ESD) products to customers in a way that was both highly secure and fault tolerant. Oh yeah, it needs to be fast as well right?

The simple way to deliver ESD products is to enable the most basic file download, which is by HTTP download through your web browser. This is the defacto method of downloading that everyone is accustomed to on the web.

Internet Explorer HTTP file dowload prompt

While this is guaranteed to work across any web browser, this method can be problematic.   Raise your hand if any of these apply to you while you’ve been downloading a file with your web browser:

  1. You accidentally hit the <esc> key, or the Cancel button which then aborted your download.
  2. You system needed to be rebooted due to a software install or system update.
  3. Your wireless connection got disconnected at an unexpected time.

I could go on and on, but I know that I’ve fallen victim to all 3 of the above situations at various times.

Lastly, how many times have you tried to download something, then realized that the file was extremely large and just stared at the progress dialog?    (I’m pretty sure that Murphy’s Law would tell us that download just get slower if you stare at the progress bar).

To address these types of issues, we have created a Microsoft Store Download Manager to deal with the delivery of your ESD products to your PC.  We’ve had many customers buy ESD products through Microsoft Store already, so I thought it was a good time to explain what this download manager is, and why we created it.

The Microsoft Store Download Manager is a rich client application that you install on your PC which is used to download your first, and all subsequent, ESD products you buy from Microsoft Store.

If you don’t have the Download Manager installed when you choose to download your ESD purchase, you will be prompted to install it.  You can change your download preference at any time to revert back to HTTP browser download, but for reasons you’ll learn shortly, we recommend using the download manager whenever possible.

The Download Manager provides similar benefits of other download managers you make have used, but does differentiate itself in a few ways.

image

Fault Tolerance

The Microsoft Store Download Manager provides fault tolerance against interrupted downloads and enables you to pause and resume your download at any time.  Have to reboot your PC because you just installed a system update? No problem. Just pause the download and resume the download from the Microsoft Store site after you’ve rebooted.  Were you disconnected from your wifi access point in the middle of a download?  No problem.  When you’ve reconnected, just hit Retry and your download will resume where it left off.

Faster downloads

The download manager also reduces the overall time required to download your ESD products.  By downloading smaller chunks of the files simultaneously with multiple connections, we can more effectively use your bandwidth to deliver the ESD product in a shorter amount of time.  This is the same strategy that you’ll see 3rd party general purpose download managers use.

This strategy is particularly effective if your ISP boosts your speeds for a small amount of a file transfer.  Comcast has a feature called Powerboost where they boost your download speeds for the first 10MB of a file.  Since we create a new connection for every chunk of the file, we can work very well with download speed boosters like Comcast’s. 

Optimization of multi-file downloads

When an ESD product requires multiple files to be downloaded, normally you would have to do an individual browser download for each and every file.  Since most web browsers limit the number of concurrent HTTP connections you can have (typically 2-4), you may be forced to sit there and babysit the download of the set of files.  Needless to say, this can be both cumbersome and time consuming.

The Download Manager facilitates this by automatically downloading all the necessary files for a given ESD product without any further user intervention.  it will download the first file (breaking it into chunks as described earlier), then automatically download subsequent files one by one. 

When all the files are downloaded, customers can install the product with a single click of the “Install” button in the Download Manager.  We try to make it as easy as possible for customers from purchase to install whether there is 1 file or 99 files.

Safer downloads

Lastly, the download manager also provides a level of assurance that you are indeed downloading the correct file payload.  We only download over HTTPS and also do a hash verification on the file after it’s downloaded.  The hash verification is done to be extra sure that the files have not been corrupted or tampered with.  The hash verification can take a long time if the file is multi-gigabyte (e.g. Vista), but we felt this tradeoff was the right one for the sake of protecting customers.

Browser Support

For our initial launch, the Download Manager is only supported with downloads initiated from Internet Explorer 6 and above (Windows XP/2003/Vista).  Before you think it’s a conspiracy to force IE usage, we really did want to support other browsers like Firefox. However, as our schedule progressed, we had to make some tough cuts, and decided to add additional browser support at a later time.  Based on current data of our customers, the majority are still using IE, so we’re getting the biggest bang for the buck in our investment.  However, we still plan on looking at Firefox and other browser integration in the very near future.

Tell us what you think

Have you used the Microsoft Store Download Manager already?  Shoot me an email or drop a comment. We’d love to know what you think.

Written by Trevin

December 20th, 2008 at 12:03 am

  • http://www.nielshoven.com/ Niels

    When’s Chrome support coming? ;)

    I like the new layout, btw.

  • http://www.nielshoven.com Niels

    When’s Chrome support coming? ;)

    I like the new layout, btw.

  • Judy Plester

    I bought quicken download and received NOTHING!! The download site took my payment and sent me nothing zip nada. Where is my download to the tune of 70.00 dollars???

  • Judy Plester

    I bought quicken download and received NOTHING!! The download site took my payment and sent me nothing zip nada. Where is my download to the tune of 70.00 dollars???

  • Andrew

    I’m trying to download the windows7 RC. it flicks to a page that mentions download manager – then goes back to the previous page from whence I came. Am on IE8. how do I get past this – can you advise?
    regards

    • http://trevinchow.com/blog/ Trevin

      Andrew: The download process for the Windows 7 RC actually uses a different download manager than what we built for Microsoft Store. For the Windows 7 RC, we have hosted the ISO on Akamai to make the file transfers much faster and hence use the Akamai download manager.

      I just tried going through the Win7 RC download process again to see if I could reproduce your issue and I didn’t experience what you described. After signing in with my Windows Live ID and filling in the brief profile information, I was shown the download page. I clicked on “Download Now” and I was prompted to install the Akamai Download Manager, which I was able to do without any issues. The only thing I can suggest is to try an alternate browser like Firefox and see if you still encounter the issue?

  • Andrew

    I’m trying to download the windows7 RC. it flicks to a page that mentions download manager – then goes back to the previous page from whence I came. Am on IE8. how do I get past this – can you advise?
    regards

    • http://trevinchow.com/blog/ Trevin

      Andrew: The download process for the Windows 7 RC actually uses a different download manager than what we built for Microsoft Store. For the Windows 7 RC, we have hosted the ISO on Akamai to make the file transfers much faster and hence use the Akamai download manager.

      I just tried going through the Win7 RC download process again to see if I could reproduce your issue and I didn’t experience what you described. After signing in with my Windows Live ID and filling in the brief profile information, I was shown the download page. I clicked on “Download Now” and I was prompted to install the Akamai Download Manager, which I was able to do without any issues. The only thing I can suggest is to try an alternate browser like Firefox and see if you still encounter the issue?

  • Andrew

    thanks for responding Trevin, I am using a different PC with IE7, and it’s all working – there must be a setting in IE8 that’s stopping the activex from installing.regards Andrew

  • Andrew

    thanks for responding Trevin, I am using a different PC with IE7, and it’s all working – there must be a setting in IE8 that’s stopping the activex from installing.\regards Andrew

  • Luke

    So why doesn't Microsoft include a download manager in IE? The http server spec has had file chunking in it forever so why isn't this standard functionality for downloads from every browser? As a web developer can I use the Microsoft Store Download Manager to deliver files to clients by using some special http, javascript or ActiveX call?

  • http://trevinchow.com/blog Trevin

    I don't know the reasons why IE doesn't have a download manager, nor do I
    know the future plans for IE. The Microsoft Store Download Manager is used
    only for our downloads from our store.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes