[RegisterDll]
-AddReg=Classes.Reg, URL.Reg
+AddReg=Classes.Reg
[UnregisterDll]
-DelReg=Classes.Reg, URL.Reg
+DelReg=Classes.Reg
[RegisterIE]
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"
--- /dev/null
+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""'
+ }
+ }
+ }
+}