我想准备一个Thunderbird和Firefox的定制安装程序,它将预先configuration地址簿,代理设置等。
我在这个问题上发现了一些论坛主题: 在这里和这里 ,有人build议使用mozptch,但目前已停止使用,并build议使用http://opsi.org/
我也从这个问题和这个 问题中find了WPKG包安装程序。
他们都假设configuration稍后由MDC完成。
但我不喜欢大量安装包pipe理器,然后安装和configuration程序。 (因为我的Active Directory知识非常有限)。 我非常喜欢创build一个定制的安装程序,它可以在用户的办公电脑和家用电脑上运行。
您可以推荐什么方法来为Thunderbird和Firefox创build自定义和预configuration的安装程序?
考虑到:
你可以试试这个:
要么
第一个选项的Firefox的NSIS脚本的核心是这样的:
!define LOCAL_INSTALLATION "C:\Program Files\Mozilla Firefox" ; change this to point to the folder in which you installed Firefox !define LOCAL_APP_DATA "C:\Documents and Settings\YourUser\Application Data\Mozilla" ; change this to your app data folder Name "Mozilla custom install" OutFile "MozillaCustom_Setup.exe" InstallDir "$PROGRAMFILES\Mozilla Firefox" Section "Mozilla Firefox" main SetOutPath "$INSTDIR" ; Set output path to the installation directory. File /r "${LOCAL_INSTALLATION}\*.*" ; getting all files from you local installation RMDir /r "$APPDATA\Mozilla" ; deleting any existing profiles (you need to clean all the profiles or the "migration" won't work SetOutPath "$APPDATA\Mozilla" ; Set output path to the data folder. File /r "${LOCAL_APP_DATA}\*.*" ; getting all files from your profile CreateDirectory "$SMPROGRAMS\Firefox" CreateShortCut "$SMPROGRAMS\Firefox\Firefox.lnk" "$INSTDIR\Firefox.exe" ; Write the uninstall keys for Windows WriteUninstaller "${UNINSTALLER}" WriteRegStr HKLM "${UNINSTALL_KEY}" "DisplayName" "Firefox" WriteRegStr HKLM "${UNINSTALL_KEY}" "UninstallString" "$INSTDIR\Uninstall.exe" SectionEnd
(*)例外是Thunderbird的MAPI处理程序DLL,但这是在您将其设置为默认邮件应用程序时完成的,而不是安装时间
Firefox部署在Mozilla Wiki中详细介绍
你可能也想看看BYOB