Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have installed WiX# on my Windows 7 (64 bit) operation system. I chose the folder name C:\Users...\WiX#\ for all files. Unfortunately I can't open the .CHM file. I get an error message

This program cannot display the webpage.

I can fix this by moving the file to another place or renaming the folder WiX# to WixSharp. Why does this happen and can I display the file without renaming the folder somehow?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

This seems to be a known bug:

[...] If the CHM file name contains the # symbol, then the topics in the table of contents do not appear. If the path contains the # symbol, then you may receive an access violation error message.

The only resolution listed:

To work around this issue, remove the # symbol from the file name or from the path to the file.

The article is quite old so does not mention Windows 7 but I just tried it myself on Windows 7 Professional (32 bit) and can confirm the behaviour.

The CHM format is actually compiled HTML. The # character signifies an anchor in HTML so probably the CHM viewer fails to resolve the path properly and to retrieve the content.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.