[version]
signature="$CHICAGO$"
SetupClass=BASE
LayoutFile=Layout.inf, layout1.inf

[BaseWinOptions]
MailInstall
NewsInstall

;[SourceDisksNames]
;55="Internet Mail and News 1.0 Stuff.","",1

;[SourceDisksFiles]
; To sys dir
;wab32.dll=55
;mailnews.dll=55
;mailnews.inf=55
;plsnw.hlp=55
;plsnw.cnt=55
;plsml.hlp=55
;plsml.cnt=55
;mnreadme.txt=55

[DestinationDirs]
Thor.copy.sys=11
Thor.copy.intl=11
Thor.copy.help.mail=18
Thor.copy.help.news=18
Thor.copy.inf=17
Thor.del.sys=11
Thor.copy.win.mail=25
Thor.copy.win.news=25
thor.del.win.links=25

[DefaultInstall]
DelFiles=Thor.del.sys
CopyFiles=Thor.copy.sys,Thor.copy.help.mail,Thor.copy.inf,thor.copy.win.news,thor.copy.win.mail,Thor.copy.intl
DelReg=Thor.Del.Reg
AddReg=Mail.Add.Reg,News.Add.Reg,Mail.Add.Reg.Default,News.Add.Reg.Default,Intl.Add.Reg
UpdateInis=mail.links,news.links,del.links.old

[MailInstall]
DelFiles=Thor.del.sys
CopyFiles=Thor.copy.sys,Thor.copy.help.mail,Thor.copy.inf,thor.copy.win.mail,Thor.copy.intl
DelReg=Thor.Del.Reg
AddReg=Mail.Add.Reg,Mail.Add.Reg.Default,Intl.Add.Reg
UpdateInis=mail.links,del.links.old

[NewsInstall]
DelFiles=Thor.del.sys
CopyFiles=Thor.copy.sys,Thor.copy.help.news,Thor.copy.inf,thor.copy.win.news
DelReg=Thor.Del.Reg
AddReg=News.Add.Reg,News.Add.Reg.Default
UpdateInis=news.links,del.links.old

[ThorUninstall]
DelFiles=Thor.copy.sys,Thor.copy.help.mail,Thor.copy.help.news,thor.del.win.links
DelReg=Mail.Add.Reg,News.Add.Reg,Uninstall.Del.Reg,Mail.Add.Reg.Default,Mail.Add.Reg.Nashville,News.Add.Reg.Default,News.Add.Reg.Nashville,Intl.Add.Reg
UpdateInis=del.links

[Strings]
DT_MESSAGES     = "Internet Mail"
DT_NEWS         = "Internet News"
DT_DESKTOP      = "Desktop"
INET_DESC       = ""
INET_DESC_OLD   = "Internet"    ; removes old links
DT_MAIL_OLD     = "Mail"        ; removes old links
DT_NEWS_OLD     = "News"        ; removes old links
INET_DESC_OLD2  = "Accessories\Internet Tools" ; removes old links
MN_README       = "Read Me (Mail and News)"
DT_MAILMESSAGE  = "Internet E-Mail Message"
DT_NEWSMESSAGE  = "Internet News Message"

;; do not localize
KEY_RENAME     = "Software\Microsoft\Windows\CurrentVersion\RenameFiles"
KEY_MAILCLIENT = "Software\Clients\Mail"
KEY_NEWSCLIENT = "Software\Clients\News"
KEY_ATHENA     = "Internet Mail and News"

[Mail.Add.Reg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved",{89292102-4755-11cf-9DC2-00AA006C2B84},,%DT_MESSAGES%
HKCR,CLSID\{89292102-4755-11cf-9DC2-00AA006C2B84},,,%DT_MESSAGES%
HKCR,CLSID\{89292102-4755-11cf-9DC2-00AA006C2B84}\InProcServer32,,,"%11%\mailnews.dll"
HKCR,CLSID\{89292102-4755-11cf-9DC2-00AA006C2B84}\InProcServer32,ThreadingModel,,"Apartment"
HKCR,CLSID\{89292102-4755-11cf-9DC2-00AA006C2B84}\DefaultIcon,,,"%11%\mailnews.dll,-2"
HKCR,.eml,,,"Microsoft Internet Mail Message"
HKCR,.eml,"Content Type",,"message/rfc822"
HKCR,"Microsoft Internet Mail Message",,,"%DT_MAILMESSAGE%"
HKCR,"Microsoft Internet Mail Message\DefaultIcon",,,"%11%\mailnews.dll,-14"
HKCR,"Microsoft Internet Mail Message\shell\open\command",,,"rundll32.exe %11%\mailnews.dll,EMLFileHandler %%1"
HKCU,AppEvents\EventLabels\MailBeep,,2,"New Mail Notification"
HKCU,AppEvents\Schemes\Apps\.Default\MailBeep\.current,,2,"chimes.wav"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs,%11%\wab32.dll,1,01,00,00,00
HKLM,"%KEY_MAILCLIENT%",,,"%KEY_ATHENA%"
HKLM,"%KEY_MAILCLIENT%\%KEY_ATHENA%",,,"Internet Mail"
HKLM,"%KEY_MAILCLIENT%\%KEY_ATHENA%\Protocols\mailto",,,"URL:MailTo Protocol"
HKLM,"%KEY_MAILCLIENT%\%KEY_ATHENA%\Protocols\mailto","EditFlags",1,02,00,00,00
HKLM,"%KEY_MAILCLIENT%\%KEY_ATHENA%\Protocols\mailto","URL Protocol",,""
HKLM,"%KEY_MAILCLIENT%\%KEY_ATHENA%\Protocols\mailto\DefaultIcon",,,"%11%\mailnews.dll,-2"
HKLM,"%KEY_MAILCLIENT%\%KEY_ATHENA%\Protocols\mailto\shell\open\command",,,"rundll32.exe %11%\mailnews.dll,Mail_RunDLL %1"
HKCR,"mailto",,2,"URL:MailTo Protocol"
HKCR,"mailto","EditFlags",3,02,00,00,00
HKCR,"mailto","URL Protocol",,""
HKCR,"mailto\DefaultIcon",,2,"%11%\mailnews.dll,-2"
HKCR,"mailto\shell\open\command",,2,"rundll32.exe %11%\mailnews.dll,Mail_RunDLL %1"

[Mail.Add.Reg.Default]
HKCR,CLSID\{89292102-4755-11cf-9DC2-00AA006C2B84}\ShellFolder,Attributes,1,4,00,00,00
HKCR,CLSID\{89292102-4755-11cf-9DC2-00AA006C2B84}\Shell\Open\Command,,,"EXPLORER.EXE /root,%%1"
HKLM,%KEY_RENAME%\WinMail,,,%25%
HKLM,%KEY_RENAME%\WinMail,mail.txt,,"Internet Mail.{89292102-4755-11cf-9DC2-00AA006C2B84}"
HKLM,"%KEY_MAILCLIENT%\%KEY_ATHENA%\shell\open\command",,,"%25%\EXPLORER.EXE /root,%25%\Internet Mail.{89292102-4755-11cf-9DC2-00AA006C2B84}"

[News.Add.Reg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved",{89292103-4755-11cf-9DC2-00AA006C2B84},,%DT_NEWS%
HKCR,CLSID\{89292103-4755-11cf-9DC2-00AA006C2B84},,,%DT_NEWS%
HKCR,CLSID\{89292103-4755-11cf-9DC2-00AA006C2B84}\InProcServer32,,,"%11%\mailnews.dll"
HKCR,CLSID\{89292103-4755-11cf-9DC2-00AA006C2B84}\InProcServer32,ThreadingModel,,"Apartment"
HKCR,CLSID\{89292103-4755-11cf-9DC2-00AA006C2B84}\DefaultIcon,,,"%11%\mailnews.dll,-3"
HKCR,.nws,,,"Microsoft Internet News Message"
HKCR,.nws,"Content Type",,"message/rfc822"
HKCR,"Microsoft Internet News Message",,,"%DT_NEWSMESSAGE%"
HKCR,"Microsoft Internet News Message\DefaultIcon",,,"%11%\mailnews.dll,-20"
HKCR,"Microsoft Internet News Message\shell\open\command",,,"rundll32.exe %11%\mailnews.dll,News_RunDLL %%1"
HKLM,"%KEY_NEWSCLIENT%",,,"%KEY_ATHENA%"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%",,,"Internet News"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\news",,,"URL:News Protocol"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\news","EditFlags",1,02,00,00,00
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\news","URL Protocol",,""
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\news\DefaultIcon",,,"%11%\mailnews.dll,-3"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\news\shell\open\command",,,"rundll32.exe %11%\mailnews.dll,News_RunDLL %1"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\snews",,,"URL:Snews Protocol"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\snews","EditFlags",1,02,00,00,00
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\snews","URL Protocol",,""
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\snews\DefaultIcon",,,"%11%\mailnews.dll,-3"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\snews\shell\open\command",,,"rundll32.exe %11%\mailnews.dll,News_RunDLL %1"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\nntp",,,"URL:NNTP Protocol"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\nntp","EditFlags",1,02,00,00,00
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\nntp","URL Protocol",,""
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\nntp\DefaultIcon",,,"%11%\mailnews.dll,-3"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\Protocols\nntp\shell\open\command",,,"rundll32.exe %11%\mailnews.dll,News_RunDLL %1"
HKCR,"news",,2,"URL:News Protocol"
HKCR,"news","EditFlags",3,02,00,00,00
HKCR,"news","URL Protocol",,""
HKCR,"news\DefaultIcon",,2,"%11%\mailnews.dll,-3"
HKCR,"news\shell\open\command",,2,"rundll32.exe %11%\mailnews.dll,News_RunDLL %1"
HKCR,"nntp",,2,"URL:nntp Protocol"
HKCR,"nntp","EditFlags",3,02,00,00,00
HKCR,"nntp","URL Protocol",,""
HKCR,"nntp\DefaultIcon",,2,"%11%\mailnews.dll,-3"
HKCR,"nntp\shell\open\command",,2,"rundll32.exe %11%\mailnews.dll,News_RunDLL %1"
HKCR,"snews",,2,"URL:snews Protocol"
HKCR,"snews","EditFlags",3,02,00,00,00
HKCR,"snews","URL Protocol",,""
HKCR,"snews\DefaultIcon",,2,"%11%\mailnews.dll,-3"
HKCR,"snews\shell\open\command",,2,"rundll32.exe %11%\mailnews.dll,News_RunDLL %1"

[News.Add.Reg.Default]
HKCR,CLSID\{89292103-4755-11cf-9DC2-00AA006C2B84}\ShellFolder,Attributes,1,4,00,00,00
HKCR,CLSID\{89292103-4755-11cf-9DC2-00AA006C2B84}\Shell\Open\Command,,,"EXPLORER.EXE /root,%%1"
HKLM,%KEY_RENAME%\WinNews,,,%25%
HKLM,%KEY_RENAME%\WinNews,news.txt,,"Internet News.{89292103-4755-11cf-9DC2-00AA006C2B84}"
HKLM,"%KEY_NEWSCLIENT%\%KEY_ATHENA%\shell\open\command",,,"%25%\EXPLORER.EXE /root,%25%\Internet News.{89292103-4755-11cf-9DC2-00AA006C2B84}"

[Thor.Del.Reg]
HKCR,CLSID\{89292101-4755-11cf-9DC2-00AA006C2B84},,,"Internet Mail and News"
HKCR,CLSID\{89292101-4755-11cf-9DC2-00AA006C2B84}\InProcServer32,,,"%11%\mailnews.dll"
HKCR,CLSID\{89292101-4755-11cf-9DC2-00AA006C2B84}\InProcServer32,ThreadingModel,,"Apartment"
HKCR,CLSID\{89292101-4755-11cf-9DC2-00AA006C2B84}\ShellFolder,Attributes,1,4,00,00,a0
HKCR,CLSID\{89292101-4755-11cf-9DC2-00AA006C2B84}\DefaultIcon,,,"%11%\mailnews.dll,-4"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{89292101-4755-11cf-9DC2-00AA006C2B84},,,"Internet Mail and News"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{89292102-4755-11cf-9DC2-00AA006C2B84},,,"%DT_MESSAGES%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{89292103-4755-11cf-9DC2-00AA006C2B84},,,"%DT_NEWS%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\mycomputer\NameSpace\{89292102-4755-11cf-9DC2-00AA006C2B84},,,"%DT_MESSAGES%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\mycomputer\NameSpace\{89292103-4755-11cf-9DC2-00AA006C2B84},,,"%DT_NEWS%"

[Uninstall.Del.Reg]
HKCU,SOFTWARE\Microsoft\"Internet Mail and News"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InternetMailNews"
HKLM,%KEY_NEWSCLIENT%\%KEY_ATHENA%
HKLM,%KEY_MAILCLIENT%\%KEY_ATHENA%

[Thor.copy.sys]
mailnews.dll,,,8
wab32.dll,,,8
imnimp.dll,,,8
htmledit.dll,,,8
gapia32.dll,,,8
mailnews.txt,,,8

[Thor.copy.help.mail]
mailnews.hlp
mailnews.cnt
wab.hlp
wab.cnt

[Thor.copy.help.news]
;mailnews.hlp
;mailnews.cnt

[Thor.copy.inf]
athena.inf

[thor.copy.win.news]
news.txt

[thor.copy.win.mail]
mail.txt
wabmig.exe

[thor.del.win.links]
INTERN~1.{89
INTERN~2.{89
wabmig.exe

[Mail.links]
setup.ini, progman.groups,, "desktop=""..\..\%DT_DESKTOP%"""
setup.ini, progman.groups,,"MailNews1="
setup.ini, MailNews1,,"""%DT_MESSAGES%"", ""%25%\EXPLORER.EXE /root,%25%\Internet Mail.{89292102-4755-11cf-9DC2-00AA006C2B84}"", "%11%\mailnews.dll", -2"

[News.links]
setup.ini, progman.groups,, "desktop=""..\..\%DT_DESKTOP%"""
setup.ini, progman.groups,,"MailNews2="
setup.ini, MailNews2,,"""%DT_NEWS%"", ""%25%\EXPLORER.EXE /root,%25%\Internet News.{89292103-4755-11cf-9DC2-00AA006C2B84}"", "%11%\mailnews.dll", -3"

[del.links]
setup.ini, progman.groups,,"MailNews=%INET_DESC%"
setup.ini, MailNews,, """%DT_MESSAGES%"""
setup.ini, MailNews,, """%DT_NEWS%"""
setup.ini, MailNews,, """%MN_README%"""
setup.ini, progman.groups,, "desktop=""..\..\%DT_DESKTOP%"""
setup.ini, desktop,, """%DT_MESSAGES%"""
setup.ini, desktop,, """%DT_NEWS%"""
setup.ini, desktop,, """%MN_README%"""

[del.links.old]
setup.ini, progman.groups,,"group101=%INET_DESC_OLD%"
setup.ini, group101,, """%DT_MAIL_OLD%"""
setup.ini, group101,, """%DT_NEWS_OLD%"""
setup.ini, group101,, """%MN_README%"""
setup.ini, progman.groups,, "desktop=""..\..\%DT_DESKTOP%"""
setup.ini, desktop,, """%DT_MAIL_OLD%"""
setup.ini, desktop,, """%DT_NEWS_OLD%"""
setup.ini, progman.groups,,"group102=%INET_DESC_OLD2%"
setup.ini, group102,, """%DT_MESSAGES%"""
setup.ini, group102,, """%DT_NEWS%"""
setup.ini, group102,, """%MN_README%"""

[Thor.copy.intl]
cp_20866.nls
cp_28592.nls
cp_28593.nls
cp_28594.nls
cp_28597.nls

[Intl.Add.Reg]
HKLM,SYSTEM\CurrentControlSet\Control\Nls\CodePage,20866,,"cp_20866.nls"
HKLM,SYSTEM\CurrentControlSet\Control\Nls\CodePage,28592,,"cp_28592.nls"
HKLM,SYSTEM\CurrentControlSet\Control\Nls\CodePage,28593,,"cp_28593.nls"
HKLM,SYSTEM\CurrentControlSet\Control\Nls\CodePage,28594,,"cp_28594.nls"
HKLM,SYSTEM\CurrentControlSet\Control\Nls\CodePage,28597,,"cp_28597.nls"

