Nomuno Posted April 19, 2005 Posted April 19, 2005 I have been trying to install Thunderbird using the /S command and others I have tried as well as trying to set the application to be the default mail program. here is my code:RunOnceEx.cmdREG ADD %KEY%\050 /VE /D "Mozilla ThunderBird 1.0" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Thunderbird\Thunderbird.exe /S" /fREG ADD %KEY%\050 /V 2 /D "REGEDIT /S %systemdrive%\Install\Thunderbird\register.reg" /fregister.regWindows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\mailto\shell\open\command]@="C:\PROGRA~1\MOZILL~2\THUNDE~1.EXE -compose %1"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open\command]@="C:\PROGRA~1\MOZILL~2\THUNDE~1.EXE -compose %1"for some reason I have all my programs being installed, but when I hit 050, Thunderbird doesnt install nor does the registry. What am I doing wrong, or what other options can I try to make this work?I have been searching the forums for 2 days and am using the install provided by Dave332 from here:Here's Thunderbird UnattendedThe site and forums so far have been a huge help, thank you.
Nomuno Posted April 21, 2005 Author Posted April 21, 2005 I figured it out, took a while. But if anyone wants to have Thunderbird silently install and be the default mailing program, then here is what i did with Mozilla Thunderbird 1.0.2:RunOnceExREG ADD %KEY%\002 /VE /D "Mozilla Thunderbird 1.0" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\Thunderbird\setup.exe -ms" /fREG ADD %KEY%\002 /V 2 /D "%systemdrive%\Install\registry.cmd" /fregistry.cmd@echo offcmdow @ /HIDREM VariablesFOR %%A IN ("%PROGRAMFILES%") DO SET SHORTPF=%%~sAREG ADD "HKEY_CLASSES_ROOT\mailto\shell\open\command" /VE /D "%SHORTPF%\MOZILL~2\THUNDERBIRD.EXE -compose \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\mailto\shell\open\command" /VE /D "%SHORTPF%\MOZILL~2\THUNDERBIRD.EXE -compose \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Clients\Mail" /VE /D "Mozilla Thunderbird" /FEXITI extracted Thunderbird install file with WinRAR into a directory to change the config.ini to a Silent install and left the files uncompressed. Many thanks to Dave332 for pointing me in the right direction for the Registry files.
ZileXa Posted May 26, 2005 Posted May 26, 2005 ;Set the Start Menu sticky for Mail[HKEY_CURRENT_USER\Software\Clients\mail]@="Mozilla Thunderbird";==============================; Give details to make Thunderbird the default e-mail client[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird]@="Mozilla Thunderbird""DLLPath"="C:\\PROGRA~1\\Mozilla Thunderbird\\mozMapi32.dll"[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\DefaultIcon]@="C:\\PROGRA~1\\Mozilla Thunderbird\\thunderbird.exe,0"[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\open\command]@="C:\\PROGRA~1\\Mozilla Thunderbird\\thunderbird.exe -mail"[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\properties]@="Thunderbird &Options"[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\properties\command]@="C:\\PROGRA~1\\Mozilla Thunderbird\\thunderbird.exe -options"[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\protocols\mailto]@="URL:MailTo Protocol""URL Protocol"=""[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\protocols\mailto\DefaultIcon]@="C:\\Program Files\\Mozilla Thunderbird\\thunderbird.exe,0"[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\protocols\mailto\shell\open\command]@="C:\\Program Files\\Mozilla Thunderbird\\thunderbird.exe -compose \"%1\""Above is better! (for the registry part, if you want Thunderbird to be default mail app!).
Doc Symbiosis Posted June 13, 2005 Posted June 13, 2005 Perhaps have a try with the following cmd file. It does the same like the file above, but is independent from the path, where the program files are located:SET KEY=HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla ThunderbirdREG ADD HKEY_CURRENT_USER\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird"REG ADD HKEY_USERS\.Default\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird"REG ADD "%KEY%" /ve /t REG_SZ /D "Mozilla Thunderbird" /fREG ADD "%KEY%" /v "DLLPath" /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\mozMapi32.dll" /fREG ADD "%KEY%\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe,0" /fREG ADD "%KEY%\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe -mail" /fREG ADD "%KEY%\shell\properties" /ve /t REG_SZ /D "Thunderbird &Options" /fREG ADD "%KEY%\shell\properties\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe -options" /fREG ADD "%KEY%\protocols\mailto" /ve /t REG_SZ /D "URL:MailTo Protocol" /fREG ADD "%KEY%\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /fREG ADD "%KEY%\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe,0" /fREG ADD "%KEY%\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe -compose" /fexit
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now