㈠ 鎴戜笅杞戒简涓涓猚hm镙煎纺镄勬枃浠讹纴浣嗘槸鐢ㄦ垜镄勭数鑴戞墦涓嶅紑锛屾庝箞镓嶈兘镓揿紑锻锛
CHM鏂囦欢鏄涓绉嵝滃凡缂栬疟镄凥TML鏂囦欢钬,鏄寰杞瀵瑰府锷╂枃浠.hlp镄勫崌绾,瀹冨埄鐢ㄥ紑鏀剧殑HTML浣垮府锷╂枃浠舵洿绮惧僵瀹炵敤,
鏄寰杞镞╂湡镄勪竴绉嶅府锷╂枃浠讹纴浠栨槸浠html涓哄熀纭鏋勬垚镄勶纴绯荤粺榛樿ゅ氨鑳芥墦寮锛岄櫎闱炰綘绯荤粺链夐梾棰
涓嬮溃鍐呭规潵镊http://..com/question/298481409.html
濡傛灉浣犵殑Windows XP涓嶈兘镓揿紑chm镙煎纺镄勬枃浠
1銆佸傛灉鎻愮ず鏄锛氩傛灉鎻愮ず鏄疘nternet Explorer 涓嶈兘阈炬帴鍒版偍璇锋眰镄勭绣椤垫垨钥呮墦寮钖庘滈〉闱㈡棤娉曟樉绀衡濄傝蜂笅杞絚hm.reg锛屾墽琛屻
鎴栧湪瑕佹墦寮镄凛HM鏂囦欢涓婂彸阌灞炴э纴浼氩湪搴曚笅灞炴т腑澶氢简涓涓钬滆В闄ら挛瀹气濓纴镣瑰嚮钖庡氨鍙浠ユe父鏄剧ず浜嗐
chm.reg鍐呭
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions]
"MaxAllowedZone"=dword:00000003
"UrlAllowList"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000003
"UrlAllowList"=""
浠ヤ笂鍐呭瑰嶅埗鍒颁竴涓鏂囨湰鏂囦欢锛岀劧钖庢妸鏂囦欢钖嶅悗缂鏀规垚.reg,铹跺悗镣瑰嚮鍗冲彲
2銆佸傛灉鎻愮ず鏄锛"涓嶈兘镓揿紑鏂囦欢mk:@MSITStore:\****.chm"
阃犳垚杩欎釜鏁呴㱩链夊彲鑳芥槸浣犵殑绯荤粺涓镄凥hctrl.ocx鏂囦欢涓㈠け鎴栬呰鍏朵粬鐗堟湰镄凥hctrl.ocx瑕嗙洊鎺変简锛屽彲浠ヤ粠鐩稿悓镄勭数鑴戞垨钥呭畨瑁呭厜鐩树腑𨰾疯礉杩囨潵涓涓锛岀劧钖庨吨鏂版敞鍐孒hctrl.ocx鏂囦欢锛氩叿浣撴ラゅ备笅锛
绗涓姝ワ细阃鍑烘e湪杩愯岀殑镓链夌▼搴忥纴鍗曞嚮钬滃紑濮-銆夌▼搴忊濓绂
绗浜屾ワ细鍦ㄨ繍琛屽硅瘽妗嗛敭鍏"regsvr32 c:\windows\system\hhctrl.ocx"锲炶溅锛屾垨钬漴egsvr32 /i hhctrl.ocx钬滃嚭鐜"DllRegisterServer鎴愬姛"娑堟伅纭瀹氾纴閲嶅惎璁$畻链哄嵆鍙銆
3銆佸叾瀹冩柟娉
銆銆1锛屼粠windows镄勬带鍒堕溃𨱒胯繘鍏モ滆瑷鍜屽尯锘颎濓紞钬滃尯锘熼夐”钬濓纴濡傛灉鍖哄烟涓嶆槸涓鏂囱锋敼涓轰腑鏂
銆銆2锛屾妸鏂囦欢钖岖О鏀逛负E 鏂囩殑绠鍗曚竴镣(a.chm)锛宑opy 鍒颁竴涓镙圭洰褰曚笅闱锛屾墦寮鐪嬬湅锛屽傛灉涓嶈岋纴璇烽吨鏂颁笅杞斤纴链夌殑镞跺欎笅杞借繃绋嫔嚭浜嗛梾棰桡纴鐪嬬湅鏄钖OK
銆銆3锛屽傛灉澶氭暟CHM閮芥墦涓嶅紑锛岃瘯璇曢吨鏂版敞鍐宺egsvr32 itss.dll
銆銆4锛屽紑濮--杩愯--杈揿叆钬渞egedit钬濓纴镓揿紑娉ㄥ唽琛锛屾垒鍒颁互涓嫔垎鏀锛
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions
鍦ㄥ叾涓嬫柊寤箧WORD阌甅axAllowedZone锛屽皢鍏跺煎彇鎴3璇曚竴涓
銆銆5锛屾病链夋g‘瀹夎呮垨琚浣犲垹闄や简hh.exe鏂囦欢锛屼綘鍙浠ュ埌Windows\system32涓嬫煡涓涓嬨傚傛灉鏄杩欐牱闾d綘鍙浠ヤ粠鍒浜虹殑鐢佃剳涓奵opy涓涓猦h.exe 锛屾斁鍒颁笂闱㈤偅涓鐩褰曢噷锛屽啀鍙屽嚮涓涓猚hm鏂囦欢锛岃╀綘阃夋嫨绋嫔簭灏遍夐偅涓狢:\windows\hh.exe 锛岃繖镙峰氨鎭㈠崭简chm鏂囦欢鍜宧h.exe镄勫叧镵斻
銆銆6锛屽傛灉浠ヤ笂鍑犵嶆儏鍐甸兘濂界殑璇濓纴鍒犻櫎"hh.dat", 鍦ㄧ洰褰
\Documents and Settings\%username%\Application Data\Microsoft\HTML Help 涓嬶纴杩欎釜鏂囦欢鍖呭惈涓浜涘唴瀹瑰彲鑳藉紩璧烽敊璇