shdocvw: Moved more registration to .rgs file.
This commit is contained in:
parent
d30316568a
commit
439f9109fc
|
@ -3,11 +3,11 @@ Signature="$CHICAGO$"
|
|||
|
||||
|
||||
[RegisterDll]
|
||||
AddReg=Classes.Reg, URL.Reg
|
||||
AddReg=Classes.Reg
|
||||
|
||||
|
||||
[UnregisterDll]
|
||||
DelReg=Classes.Reg, URL.Reg
|
||||
DelReg=Classes.Reg
|
||||
|
||||
|
||||
[RegisterIE]
|
||||
|
@ -30,23 +30,6 @@ HKCR,"CLSID\%CLSID_Internet%\Shell\OpenHomePage",,,"Open &Home Page"
|
|||
HKCR,"CLSID\%CLSID_Internet%\Shell\OpenHomePage\Command",,,"""%16422%\Internet Explorer\iexplore.exe"""
|
||||
HKCR,"CLSID\%CLSID_Internet%\ShellFolder",,2,"0x24"
|
||||
|
||||
HKCR,"CLSID\%CLSID_InternetShortcut%\shellex\MayChangeDefaultMenu",,16
|
||||
HKCR,"InternetShortcut","EditFlags",2,"2"
|
||||
HKCR,"InternetShortcut","IsShortcut",,
|
||||
HKCR,"InternetShortcut","NeverShowExt",,
|
||||
HKCR,"InternetShortcut\DefaultIcon",,,"url.dll,0"
|
||||
HKCR,"InternetShortcut\shell\open\command",,,"rundll32.exe shdocvw.dll,OpenURL %l"
|
||||
HKCR,"InternetShortcut\shell\print\command",,,"rundll32.exe mshtml.dll,PrintHTML ""%1"""
|
||||
HKCR,"InternetShortcut\shell\printto\command",,,"rundll32.exe mshtml.dll,PrintHTML ""%1"" ""%2"" ""%3"" ""%4"""
|
||||
|
||||
[URL.Reg]
|
||||
HKLM,"Software\Microsoft\Windows\CurrentVersion\URL\DefaultPrefix",,,"http://"
|
||||
HKLM,"Software\Microsoft\Windows\CurrentVersion\URL\Prefixes","ftp",,"ftp://"
|
||||
HKLM,"Software\Microsoft\Windows\CurrentVersion\URL\Prefixes","gopher",,"gopher://"
|
||||
HKLM,"Software\Microsoft\Windows\CurrentVersion\URL\Prefixes","home",,"http://"
|
||||
HKLM,"Software\Microsoft\Windows\CurrentVersion\URL\Prefixes","mosaic",,"http://"
|
||||
HKLM,"Software\Microsoft\Windows\CurrentVersion\URL\Prefixes","www",,"http://"
|
||||
|
||||
|
||||
[Settings.Reg]
|
||||
HKCU,"Software\Microsoft\Internet Explorer\Main","Start Page",2,"http://www.winehq.org"
|
||||
|
|
|
@ -91,5 +91,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|||
/* @makedep: shdocvw.inf */
|
||||
REGINST REGINST shdocvw.inf
|
||||
|
||||
/* @makedep: shdocvw.rgs */
|
||||
2 WINE_REGISTRY shdocvw.rgs
|
||||
|
||||
/* @makedep: ietoolbar.bmp */
|
||||
IDB_IETOOLBAR BITMAP ietoolbar.bmp
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
HKLM
|
||||
{
|
||||
NoRemove 'Software'
|
||||
{
|
||||
NoRemove 'Microsoft'
|
||||
{
|
||||
NoRemove 'Windows'
|
||||
{
|
||||
NoRemove 'CurrentVersion'
|
||||
{
|
||||
NoRemove 'URL'
|
||||
{
|
||||
DefaultPrefix = s 'http://'
|
||||
Prefixes
|
||||
{
|
||||
val 'ftp' = s 'ftp://'
|
||||
val 'gopher' = s 'gopher://'
|
||||
val 'home' = s 'http://'
|
||||
val 'mosaic' = s 'http://'
|
||||
val 'www' = s 'http://'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
HKCR
|
||||
{
|
||||
NoRemove CLSID
|
||||
{
|
||||
'{fbf23b40-e3f0-101b-8488-00aa003e56f8}'
|
||||
{
|
||||
shellex
|
||||
{
|
||||
MayChangeDefaultMenu {}
|
||||
}
|
||||
}
|
||||
}
|
||||
'InternetShortcut'
|
||||
{
|
||||
val 'EditFlags' = s '2'
|
||||
val 'IsShortcut' = s ''
|
||||
val 'NeverShowExt' = s ''
|
||||
DefaultIcon = s 'url.dll,0'
|
||||
shell
|
||||
{
|
||||
open
|
||||
{
|
||||
command = s 'rundll32.exe shdocvw.dll,OpenURL %%l'
|
||||
}
|
||||
print
|
||||
{
|
||||
command = s 'rundll32.exe mshtml.dll,PrintHTML ""%%1""'
|
||||
}
|
||||
printto
|
||||
{
|
||||
command = s 'rundll32.exe mshtml.dll,PrintHTML ""%%1"" ""%%2"" ""%%3"" ""%%4""'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue