MSFN Forum: Help with Thunderbird silent install - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Help with Thunderbird silent install Ive searched but cant find a sollution: Rate Topic: -----

#1 User is offline   Mekrel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 372
  • Joined: 17-November 04

Posted 26 July 2005 - 12:10 PM

Hi all,

I havent been around on MSFN lately but Ive been a big fan of Simonsays Firefox silent install quide and I know that thunderbird uses the same installer.

So I decided to edit the setup.cmd file that simonsays made for the firefox installer for the firefox setup and also use it to backup my profile.

So, I extracted the installer, and edited the config.ini to silent and other options I did/did not want installing.

Then created a subdirectory called setup and included the content of the "%appdata%\thunderbird" folder into the "\Setup\Profile" folder for the installer.

I edited the command file so it installed for firefox:

@echo off
REM If CMDOW is located on System32, you can use the next line to hide the entire commandline window
cmdow @ /HID

REM Firefox Setup
"%SYSTEMDRIVE%\Thunderbird\setup.exe" -ms

SET KEY=HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird

REG 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" /f
REG ADD "%KEY%" /v "DLLPath" /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\mozMapi32.dll" /f
REG ADD "%KEY%\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe,0" /f
REG ADD "%KEY%\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe -mail" /f
REG ADD "%KEY%\shell\properties" /ve /t REG_SZ /D "Thunderbird &Options" /f
REG ADD "%KEY%\shell\properties\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe -options" /f
REG ADD "%KEY%\protocols\mailto" /ve /t REG_SZ /D "URL:MailTo Protocol" /f
REG ADD "%KEY%\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /f
REG ADD "%KEY%\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe,0" /f
REG ADD "%KEY%\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe -compose" /f

REM Custom Profile
IF EXIST "%APPDATA%\Thunderbird" RD "%APPDATA%\Thunderbird"
MD "%APPDATA%\Thunderbird"
XCOPY "%SYSTEMDRIVE%\Thunderbird\Setup\Profile" "%APPDATA%\Thunderbird" /Y /E /Q /H /R
EXIT


The registry settings I found whilst seaching on here and they seem to work fine, and so does the program install fine.

The only problem is the profile doesnt get copied over, and I think I know why...

When you first open Thunderbird, it asks to import data like firefox and then once you have chose to either import or not. Then the application data folder is created! Not before....

So then re-running the last part i.e:
IF EXIST "%APPDATA%\Thunderbird" RD "%APPDATA%\Thunderbird"
MD "%APPDATA%\Thunderbird"
XCOPY "%SYSTEMDRIVE%\Thunderbird\Setup\Profile" "%APPDATA%\Thunderbird" /Y /E /Q /H /R


then it will copy! So how do I get around this so I dont have to do anything manually?

Many thanks.


#2 User is offline   DigeratiPrime 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,490
  • Joined: 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 July 2005 - 12:53 PM

just so you know setup.exe -ms works

#3 User is offline   Mekrel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 372
  • Joined: 17-November 04

Posted 26 July 2005 - 01:02 PM

Yeah I know that, the program installs fine ... just the profile copying isnt happening because of the settings import wizzard.

#4 User is offline   Mekrel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 372
  • Joined: 17-November 04

Posted 27 July 2005 - 04:09 PM

Ok, so if anybody cant help with this...

Is there any other way to silently install thunderbird AND get my profile to work automatically?

Serach brings up a way but doesnt seem to be any profile backup success...

#5 User is offline   ODC 

  • Member
  • PipPip
  • Group: Members
  • Posts: 127
  • Joined: 22-June 04

Posted 27 July 2005 - 05:30 PM

RAR up your profile directory and the profiles.ini file. Then just extract these files during setup.

#6 User is offline   Mekrel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 372
  • Joined: 17-November 04

Posted 27 July 2005 - 07:30 PM

Yes, I was doing that before but it will not copy untill the Import settings wizzard has been run.

Tested by uninstalling, deleting the thunderbird appdata folder and then silently installing followed by extracting the profile. Which doesnt work unless I run TB for 1st time, cancel the import wizzard then extract profile again using a RAR SFX file.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy