Tim Elhajj

Off the Microsoft stack!

Only You Can Prevent CHM File Corruption

1 Comment

About three years ago, I started my current job where my main documentation deliverable is a Microsoft Compiled HTML Help file, which is distributed to customers by a page off the Microsoft Download Center. Not long after a new release of the guide went live, I got an email saying the file was corrupt.

Oh, no! I thought. First the President of the United States commutes Scotter Libby’s sentence and now this!

The email contained a screen shot similar to this one:

blocked content in CHM file

Fortunately for me, I had colleagues on the team who had been distributing CHM files this way for much longer than me. The file isn’t corrupt, but its ability to render HTML has been purposely disabled. The issue is explained in this KB article and involves a security update that purposely prevents HTML in all compiled help files from rendering, if that file was downloaded from the Internet.

Once you understand the issue, it’s simple to fix:

  1. Download the file to your desktop (or wherever), right-click the file and then click Properties.
  2. Click Unblock.

 

Now when you open the file, the compiled HTML will render just fine. If only political corruption were as easily resolved!

Author: Tim Elhajj

Tim is probably walking his dog.

One thought on “Only You Can Prevent CHM File Corruption

  1. Thanks for info ;-> that’s crazy inconvenient that Microsoft blocks it to begin with. I’m not going to burn flags over this but Microsoft lost their initial company credo to ‘Simplify Use for the End User’

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s