darks0ul Posted December 16, 2006 Share Posted December 16, 2006 Hi,I explored mozilla's source code to find out how the installer works. I eventually came across the NSIS source file for Thunderbird and the function .onInit can read a INI file with the unattended parameters. So here's mine:[Install]InstallDirectoryName="Internet\Mozilla Thunderbird"QuickLaunchShortcut=falseDesktopShortcut=trueStartMenuShortcuts=trueStartMenuDirectoryName="Internet\Mozilla Thunderbird"; More info here:; http://lxr.mozilla.org/mozilla/source/mail/installer/windows/nsis/installer.nsi#986Launch it using:"Thunderbird Setup 2.0 Beta 1" /INI="C:\setups\thunderbird\config.ini"Please note that the full path to the ini file must be passed. I use an auto-it script which looks like this:$Version = "2.0 Beta 1"$Setup = "Thunderbird Setup" & " " & $Version & ".exe"$ConfigFile = "config.ini"RunWait($setup & ' ' & '/INI="' & @ScriptDir & "\" & $ConfigFile & '"', @ScriptDir)This works for Firefox 2.0 and Thunderbird 2.0 Beta 1 (and newer).The Installer source code:FirefoxThunderbirdYou do not need to use the old -ms switch (it's deprecated and it won't work with the INI file), when the installer loads the INI file, it enters silent mode. Link to comment Share on other sites More sharing options...
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