[wpkg-users] Firefox 3.6

Pendl Stefan stefan.pendl at haidlmair.at
Thu Jul 22 19:10:26 CEST 2010


>
> I am looking at deploying firefox to our users but have a few
> specific
> requirements I hope someone can point me in the right direction on.
>
> First off I need firefox to NOT check for updates since our
> users cannot
> install/upgrade software. Our current installs of seamonkey
> and acrobat
> drive me batty when people start sending helpdesk requests
> because those
> programs are trying to update before I can push out the
> updates via wpkg.
>
> Secondly, I need to be able to set the homepage on the
> firefox browser.
>
> Third, I need to know if anyone else has disabled Internet Explorer
> using WPKG. I know how to remove access to it in Vista using
> the program
> access and defaults, but not sure how to do it with wpkg or if it is
> even possible. I have searched for a registry entry to do
> this but to no
> avail.
>

I use the following package to install system-wide preferences.

    <package
                id="FirefoxDefaultsExtension"
                name="Mozilla Firefox Extension JH Defaults"
                revision="2010.06.02"
                reboot="false"
                priority="10">

        <depends package-id="Firefox" />

        <check type="logical" condition="or">
            <check type="file" condition="sizeequals" path="%ProgramFiles%\Mozilla Firefox\defaults\pref\all-haidlmair.js" value="717" />
            <check type="file" condition="sizeequals" path="%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref\all-haidlmair.js" value="717" />
        </check>

        <install cmd='%ComSpec% /c if exist "%ProgramFiles%\Mozilla Firefox\firefox.exe" copy /v /Y "%SOFTWARE%\Firefox\all-haidlmair.js" "%ProgramFiles%\Mozilla Firefox\defaults\pref"' />
        <install cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\Mozilla Firefox\firefox.exe" copy /v /Y "%SOFTWARE%\Firefox\all-haidlmair.js" "%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref"' />

        <upgrade cmd='%ComSpec% /c if exist "%ProgramFiles%\Mozilla Firefox\firefox.exe" copy /v /Y "%SOFTWARE%\Firefox\all-haidlmair.js" "%ProgramFiles%\Mozilla Firefox\defaults\pref"' />
        <upgrade cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\Mozilla Firefox\firefox.exe" copy /v /Y "%SOFTWARE%\Firefox\all-haidlmair.js" "%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref"' />

        <remove cmd='%ComSpec% /c if exist "%ProgramFiles%\Mozilla Firefox\defaults\pref\all-haidlmair.js" del /f /q "%ProgramFiles%\Mozilla Firefox\defaults\pref\all-haidlmair.js"' />
        <remove cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref\all-haidlmair.js" del /f /q "%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref\all-haidlmair.js"' />
    </package>

The "all-haidlmair.js" file looks as follows:

pref("browser.download.useDownloadDir", false);
pref("browser.search.openintab", true);
pref("browser.startup.homepage", "http://jh_net/");
pref("network.proxy.ftp", "mail00");
pref("network.proxy.ftp_port", 8080);
pref("network.proxy.gopher", "mail00");
pref("network.proxy.gopher_port", 8080);
pref("network.proxy.http", "mail00");
pref("network.proxy.http_port", 8080);
pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, .nussbach.haidlmair.at, 129.0.");
pref("network.proxy.share_proxy_settings", true);
pref("network.proxy.socks", "mail00");
pref("network.proxy.socks_port", 8080);
pref("network.proxy.ssl", "mail00");
pref("network.proxy.ssl_port", 8080);
pref("network.proxy.type", 1);

I do not remember, where I found this information, but it is very easy to implement, since all you need is to check "about:config" for the setting names and values.

---
Stefan



More information about the wpkg-users mailing list