summaryrefslogtreecommitdiff
path: root/src/Opening_CHM_Files_in_Vista.adoc
blob: 842d14d21bdda69699ae6a2d90fa88779dd206d6 (plain)
    1 Opening CHM Files in Vista
    2 ==========================
    3 :author: Aaron Ball
    4 :email: nullspoon@iohq.net
    5 
    6 
    7 == {doctitle}
    8 
    9 If any of you have been following me on Twitter recently, you know I've been
   10 researching the installation of TFS. I had pretty good luck with a lot of
   11 websites regarding TFS 2008, but not so much with 2010 Beta 1 (naturally). The
   12 only source for detailed documentation was Microsoft, so I went with what I had
   13 and downloaded the document. If you hadn't guessed yet from the title of this
   14 post, the file had a .chm extension.  After downloading the .chm file, I
   15 proceeded to open it. Much to my dismay, it opened but the pages would not
   16 load. I was getting 404 errors on every topic. After spending a few hours
   17 searching, I found a solution. Apparently the .chm extension is not secure and
   18 Vista removed the ability to read files like that unless they are in a
   19 specified 'safe' location. I don't particularly want to have to download any
   20 .chm file to an obscure location and then have to find that location again to
   21 open the file. Naturally, I searched for a simpler solution.
   22 
   23 The solution I found, simpler or no, worked. You guessed it...it's a registry
   24 hack.
   25 
   26 I have a theory that one can literally do anything with registry hacks...things
   27 like make pigs fly or make hell freeze over.
   28 
   29 Here's what to do:
   30 
   31 1. Right click your .chm file and select *Properties*
   32 2. Click *Unblock* and select *Apply*
   33 3. Open up *Regedit*
   34 4. Modify the DWORD *MaxAllowedZone* to equal *1* (if it doesn't exist, create
   35    it)
   36 5. Close all Internet Explorer Windows and start up your .chm file
   37 
   38 That's all there is to it. I haven't had any problems with any .chm files
   39 since.
   40 
   41 
   42 
   43 // vim: set syntax=asciidoc:

Generated by cgit