This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    userspace:firefox [2011/10/27 06:19] Thomas_H  | 
                
                    userspace:firefox [2021/08/23 08:37] (current) | 
            ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Frei nach dieser Anleitung: http:// | + | ==== Mozilla Firefox ==== | 
| - | Sehr minimal aber erstmal ein Einstieg. Mehr findet Infos man unter: https://wiki.mozilla.org/Deployment:Deploying_Firefox | + | --- //[[thomas.heinrich@polizei.berlin.de|Thomas_H]] 2011/10/27 09:24// | 
| - | Install.ins | + | Tested with opsi 4.0.1\\ | 
| - | [Initial] | + | requiredWinstVersion >= 4.10.8.6\\ | 
| - | Message=installiere Firefox 7.0.1 DE | + | Download Setup-Files at http://www.mozilla.org// | 
| - |    | + | |
| - |    | + | |
| - | Winbatch_produkt_silent_install | + | |
| - | [Winbatch_produkt_silent_install] | + | |
| - | %SCRIPTPATH%\firefox-de-7.0.1.exe -ms | + | |
| - | + | Last Check\\ | |
| - | Uninstall.ins | + | [[thomas.heinrich@polizei.berlin.de|Thomas_H]] 2019/05/14 12:03\\ | 
| - |    | + | |
| - | Message=deinstalliere Firefox | + | |
| - | StayOnTop=false | + | |
| - |    | + | |
| - | ; We need to wait for "Au_.exe" to finish. Hopefully 5 minutes are enough | + | |
| - |   Winbatch_produkt_silent_uninstall / | + | |
| - | [Winbatch_produkt_silent_uninstall] | + | |
| - |   " | + | |
| - | + | ||
| - | + | ||
| - | ---- | + | |
| Hier kommt eine erweitere Version, welche auch ein zuvor eingerichtetes Profil berücksichtigt.  | Hier kommt eine erweitere Version, welche auch ein zuvor eingerichtetes Profil berücksichtigt.  | ||
| - | 1) Firefox installieren | + | - Firefox installieren | 
| - | 2) Add-ons herunterladen und installieren (empfohlen:  | + |    | 
| - | 3) Firefox den Erfordernissen anpassen (zB. Proxy etc.) | + |    | 
| - | 4) Profil des aktuellen Nutzers kopieren. (Win7: C: | + | ** Wichtig: Sind Datenschutzrichtlinien besonders zu beachten, muss bei Firefox ab V.13 unter Umständen\\ | 
| + | die Übersicht beim öffnen eines neuen Tabs, bzw. neuen Fensters abgeschaltet werden, weil möglicherweise\\ | ||
| + |     der Zugang zu passwortgeschützten Seiten mit gespeichert wird! Dazu in der Menüleiste " | ||
| + | eingeben und mit der Maus doppelt auf den Eintrag browser.newtab.url klicken und damit den Wert von | ||
| + |     about: | ||
| + |   - Profil des aktuellen Nutzers kopieren. (Win7/10: C: | ||
| This is an extended Version which also installs a defined profile. | This is an extended Version which also installs a defined profile. | ||
| - | 1) Install Firefox | + | - Install Firefox | 
| - | 2) download and install add-ons (recommended:  | + |    | 
| - | 3) set preferences for firefox (i.e. proxy etc.) | + |    | 
| - | 4) copy profile of actual user. | + | **Attention: | 
| + |         off the overview which is shown when opening a new window or tab. Enter a ' | ||
| + |         and do a doubleclick on the entry browser.newtab.url, | ||
| + | - copy profile of actual user. | ||
| tree: | tree: | ||
| - | / | + | ├ delsub.ins | 
| - | insgesamt 13552 | + | ├ firefox.bmp | 
| - | delsub.ins | + | ├ firefox-profile (THIS is the directory with the copied profile!) | 
| - | firefox.bmp | + | ├ Firefox  | 
| - | firefox-profile (THIS is the directory with the copied profile!) | + | ├ setup.ins | 
| - | Firefox  | + | └ uninstall.ins | 
| - | setup.ins | + | |
| - | uninstall.ins | + | |
| - | ------ | + | ==== setup.ins  | 
| - | setup.ins: | + | |
| - | ------ | + | |
| + | <code winst> | ||
| [Initial] | [Initial] | ||
| Line 95: | Line 83: | ||
| - | ; | + | ; ---------------------------------------------------------------------- | 
| - |     Set $TEMP$ = EnvVar(" | + | Set $TEMP$ = EnvVar(" | 
| - |     Set $PRODUCTPATH$=" | + | Set $PRODUCTPATH$=" | 
| - | Set $MozInstallDir$ = $PRODUCTPATH$ | + | Set $MozInstallDir$ = $PRODUCTPATH$ | 
| - | set $InstallDir$=$PRODUCTPATH$ | + | set $InstallDir$=$PRODUCTPATH$ | 
| - |     set $NewExe$= $PRODUCTPATH$+" | + | set $NewExe$= $PRODUCTPATH$+" | 
| - |     set $ProductId$ = " | + | set $ProductId$ = " | 
| - | set $OS$ = GetNTVersion | + | set $OS$ = GetNTVersion | 
| - |     set $FIREFOXVER$ = " | + | set $FIREFOXVER$ = " | 
| - |     set $SilentSwitch$ = " | + | set $SilentSwitch$ = " | 
| - | ; | + | ; ---------------------------------------------------------------------- | 
| ; Haben wir genug Speicherplatz? | ; Haben wir genug Speicherplatz? | ||
| - | |||
| if not(HasMinimumSpace (" | if not(HasMinimumSpace (" | ||
| - |      | + |    LogError "Nicht gengend Platz auf C: . 30 MB auf C: fuer Firefox erforderlich." | 
| - | isFatalError | + |     | 
| - |     comment " | + |     | 
| else | else | ||
| - |      | + |    comment "show product picture" | 
| - |     ShowBitmap /3 " | + |     | 
| + |    if FileExists(" | ||
| + |         | ||
| + |        sub " | ||
| + |     | ||
| + |     | ||
| + |     | ||
| + |     | ||
| + |     | ||
| + |     | ||
| + |    if not (FileExists(" | ||
| + |         | ||
| + | endif | ||
| - | if FileExists("%ScriptPath%\delsub.ins") | + |     | 
| - | comment "start delsub.ins" | + | Files_copy_local | 
| - |          | + |     | 
| - | endif | + |     | 
| + | comment "kill a running firefox" | ||
| + |    killtask  | ||
| - |     comment " | + | if not(FileExists($NewExe$)) | 
| - |     Message " | + |         | 
| - |     comment "kill a running firefox" | + |         | 
| - |     killtask " | + |     | 
| - | + | ||
| - |     comment "check for depotshare" | + | |
| - |     if not (FileExists(" | + | |
| - | DosInAnIcon_TryToReconnect | + | |
| - | endif | + | |
| - | + | ||
| - |     comment "start setup program" | + | |
| - | Files_copy_local | + | |
| - | Winbatch_firefox | + | |
| - | sub_check_exitcode | + | |
| - | + | ||
| - |     comment "kill a running firefox" | + | |
| - |     killtask " | + | |
| - | + | ||
| - | if not(FileExists($NewExe$)) | + | |
| - |         logError " | + | |
| - | isFatalError | + | |
| - | endif | + | |
|     |     | ||
|     |     | ||
| - | |||
| endif | endif | ||
| - | + |    | |
| + | |||
| [Files_copy_local] | [Files_copy_local] | ||
| copy -x " | copy -x " | ||
| Line 190: | Line 171: | ||
| ; http:// | ; http:// | ||
| if ($ExitCode$ = " | if ($ExitCode$ = " | ||
| - |    comment "looks good: setup program gives exitcode zero" | + |    | 
| - | else | + | else | 
| - |     | + |   comment "Setup program gives a exitcode unequal zero: " | 
| - |     | + |   if ($ExitCode$ = " | 
| - |       comment " | + |       | 
| - |       comment " | + |       | 
| - |     | + | else | 
| - |       if ($ExitCode$ = " | + |       | 
| - |           | + |         comment "looks good: setup program gives exitcode 1641" | 
| - |           | + |         comment " | 
| - | else | + |       | 
| - |           | + |         if ($ExitCode$ = " | 
| - |             comment "looks good: setup program gives exitcode 3010" | + |             | 
| - |             comment " | + |             | 
| - |           | + | else | 
| - |             logError " | + |             | 
| - | isFatalError | + |             | 
| - |           | + | endif | 
| - | endif | + |       | 
| - |     | + | endif | 
| endif | endif | ||
| + | </ | ||
| - | --- END SCRIPT ---- | + | ==== uninstall.ins  | 
| - | + | ||
| - | uninstall.ins | + | |
| + | <code winst> | ||
| ; Copyright (c) uib gmbh (www.uib.de) | ; Copyright (c) uib gmbh (www.uib.de) | ||
| ; This sourcecode is owned by uib gmbh | ; This sourcecode is owned by uib gmbh | ||
| Line 242: | Line 223: | ||
| Set $INST_SystemType$ = GetSystemType | Set $INST_SystemType$ = GetSystemType | ||
| set $INST_architecture$ = GetProductProperty(" | set $INST_architecture$ = GetProductProperty(" | ||
| - | |||
| Set $LogDir$ = " | Set $LogDir$ = " | ||
| - | |||
| ; ---------------------------------------------------------------- | ; ---------------------------------------------------------------- | ||
| ; - Please edit the following values  | ; - Please edit the following values  | ||
| ; ---------------------------------------------------------------- | ; ---------------------------------------------------------------- | ||
| - | Set $ProductId$  | + | Set $ProductId$  | 
| Set $MozInstallDir$  | Set $MozInstallDir$  | ||
| Set $LicenseRequired$ = " | Set $LicenseRequired$ = " | ||
| Line 257: | Line 236: | ||
| comment "Show product picture" | comment "Show product picture" | ||
| - | ShowBitmap " | + | ShowBitmap " | 
| Message " | Message " | ||
| Line 284: | Line 263: | ||
| ; $WindowsSoftwareId$ = " | ; $WindowsSoftwareId$ = " | ||
| ; set $result$ = FreeLicense("", | ; set $result$ = FreeLicense("", | ||
| + | </ | ||
| - | --- END SCRIPT --- | + | ==== delsub.ins  | 
| - | + | ||
| - | delsub.ins | + | |
| + | <code winst> | ||
| ; | ; | ||
| ; | ; | ||
| Line 326: | Line 305: | ||
| [Files_copy_deinstall] | [Files_copy_deinstall] | ||
| delete -sf " | delete -sf " | ||
| + |    | ||
| [Registry_delete_current_version] | [Registry_delete_current_version] | ||
| OpenKey [HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox] | OpenKey [HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox] | ||
| Line 359: | Line 338: | ||
| endif | endif | ||
| endif | endif | ||
| - | + | </ | |
| - | --- END SCRIPT --- | + | |