以下是 win7 下设置 google chrome protable 为默认浏览器的 注册表文件
1) chrome.reg:
代码语言:javascript复制Windows Registry Editor Version 5.00
[HKEY_LOCAL_macHINESOFTWARERegisteredApplications]
"chrome Portable"="Software\Clients\StartMenuInternet\GooglechromePortable\Capabilities"
[HKEY_LOCAL_macHINESOFTWAREClientsStartMenuInternetGooglechromePortableCapabilities]
"ApplicationName"="Google chrome Portable"
"ApplicationDescription"="Google chrome Portable is a web browser that runs web pages and applications with lightning speed. It's designed to be simple and stylish. It's packaged as a portable app, so you can take your browsing experience with you."
"ApplicationIcon"=""D:\Softwares\Portable\Extracted\GooglechromePortable\GooglechromePortable.exe",0"
"Hidden"=dword:00000000
[HKEY_LOCAL_macHINESOFTWAREClientsStartMenuInternetGooglechromePortableCapabilitiesFileAssociations]
".htm"="GooglechromePortableHTML"
".html"="GooglechromePortableHTML"
".shtml"="GooglechromePortableHTML"
".xht"="GooglechromePortableHTML"
".xhtml"="GooglechromePortableHTML"
[HKEY_LOCAL_macHINESOFTWAREClientsStartMenuInternetGooglechromePortableCapabilitiesStartMenu]
"StartMenuInternet"="GooglechromePortable"
[HKEY_LOCAL_macHINESOFTWAREClientsStartMenuInternetGooglechromePortableCapabilitiesURLAssociations]
"http"="GooglechromePortableURL"
"https"="GooglechromePortableURL"
"ftp"="GooglechromePortableURL"
[HKEY_LOCAL_macHINESOFTWAREClientsStartMenuInternetGooglechromePortable]
"LocalizedString"="Google chrome Portable"
""="Google chrome Portable"
[HKEY_LOCAL_macHINESOFTWAREClientsStartMenuInternetGooglechromePortableDefaultIcon]
""=""D:\Softwares\Portable\Extracted\GooglechromePortable\GooglechromePortable.exe",0"
[HKEY_LOCAL_macHINESOFTWAREClientsStartMenuInternetGooglechromePortableshellopencommand]
""=""D:\Softwares\Portable\Extracted\GooglechromePortable\GooglechromePortable.exe""
[HKEY_LOCAL_macHINESOFTWAREClientsStartMenuInternetGooglechromePortableshellpropertiescommand]
""=""D:\Softwares\Portable\Extracted\GooglechromePortable\GooglechromePortable.exe" -preferences"
[HKEY_LOCAL_macHINESOFTWAREClassesGooglechromePortableURL]
""="Google chrome Portable URL"
"URL Protocol"=""
[HKEY_LOCAL_macHINESOFTWAREClassesGooglechromePortableURLDefaultIcon]
""=hex(2):22,00,44,00,3A,00,5C,00,53,00,6F,00,66,00,74,00,77,00,61,00,72,00,
65,00,73,00,5C,00,50,00,6F,00,72,00,74,00,61,00,62,00,6C,00,65,00,5C,00,45,
00,78,00,74,00,72,00,61,00,63,00,74,00,65,00,64,00,5C,00,47,00,6F,00,6F,00,
67,00,6C,00,65,00,43,00,68,00,72,00,6F,00,6D,00,65,00,50,00,6F,00,72,00,74,
00,61,00,62,00,6C,00,65,00,5C,00,47,00,6F,00,6F,00,67,00,6C,00,65,00,43,00,
68,00,72,00,6F,00,6D,00,65,00,50,00,6F,00,72,00,74,00,61,00,62,00,6C,00,65,
00,2E,00,65,00,78,00,65,00,22,00,2C,00,30,00,00,00
[HKEY_LOCAL_macHINESOFTWAREClassesGooglechromePortableURLshellopencommand]
""=hex(2):22,00,44,00,3A,00,5C,00,53,00,6F,00,66,00,74,00,77,00,61,00,72,00,
65,00,73,00,5C,00,50,00,6F,00,72,00,74,00,61,00,62,00,6C,00,65,00,5C,00,45,
00,78,00,74,00,72,00,61,00,63,00,74,00,65,00,64,00,5C,00,47,00,6F,00,6F,00,
67,00,6C,00,65,00,43,00,68,00,72,00,6F,00,6D,00,65,00,50,00,6F,00,72,00,74,
00,61,00,62,00,6C,00,65,00,5C,00,47,00,6F,00,6F,00,67,00,6C,00,65,00,43,00,
68,00,72,00,6F,00,6D,00,65,00,50,00,6F,00,72,00,74,00,61,00,62,00,6C,00,65,
00,2E,00,65,00,78,00,65,00,22,00,20,00,2D,00,75,00,72,00,6C,00,20,00,22,00,
25,00,31,00,22,00,00,00
[HKEY_LOCAL_macHINESOFTWAREClassesGooglechromePortableHTML]
""="Google chrome HTML"
[HKEY_LOCAL_macHINESOFTWAREClassesGooglechromePortableHTMLDefaultIcon]
""=""D:\Softwares\Portable\Extracted\GooglechromePortable\GooglechromePortable.exe",0"
[HKEY_LOCAL_macHINESOFTWAREClassesGooglechromePortableHTMLshellopencommand]
""=""D:\Softwares\Portable\Extracted\GooglechromePortable\GooglechromePortable.exe" -url "%1""
2) Control Panel -> Default Programs -> Google chrome Portable -> Set this program as default.
Tá feita a cagada!
原帖地址: http://portableapps.com/node/23082