Entweder den Dienst direkt löschen:
Code: Alles auswählen
sc delete MozillaMaintenance
Code: Alles auswählen
net stop MozillaMaintenance
sc config MozillaMaintenance start=disabled
Schau mal, ob das hilft.
Code: Alles auswählen
sc delete MozillaMaintenance
Code: Alles auswählen
net stop MozillaMaintenance
sc config MozillaMaintenance start=disabled
Vorsicht mit solchen Aussagen!SirTux hat geschrieben:btw. würde ich den Firefox 48 mal schön wegschmeißen und auf 52 (ESR) oder 53 (normal) wechseln.
Dafür gibt es eben ESR. Ansonsten geht Security IMO vor. Zumindest wenn er für den Besuch von Webseiten im Internet benutzt wird. Natürlich ist nicht jedes Update sicherheitskritisch. Aber darauf sollte man sich nicht verlassen. Auch scheinbar harmlose Bugs haben sich schon als sicherheitskritisch herausgestellt (allgemein, nicht speziell bei Firefox).dark alex hat geschrieben:Vorsicht mit solchen Aussagen!SirTux hat geschrieben:btw. würde ich den Firefox 48 mal schön wegschmeißen und auf 52 (ESR) oder 53 (normal) wechseln.
Die neueren FF-Versionen machen mit diverser Software Probleme...
So was will inzwischen leider auch getestet werden...
Blöd nur, dass die aktuelle ESR auch betroffen ist :/SirTux hat geschrieben:Dafür gibt es eben ESR. Ansonsten geht Security IMO vor. Zumindest wenn er für den Besuch von Webseiten im Internet benutzt wird. Natürlich ist nicht jedes Update sicherheitskritisch. Aber darauf sollte man sich nicht verlassen. Auch scheinbar harmlose Bugs haben sich schon als sicherheitskritisch herausgestellt (allgemein, nicht speziell bei Firefox).dark alex hat geschrieben:Vorsicht mit solchen Aussagen!SirTux hat geschrieben:btw. würde ich den Firefox 48 mal schön wegschmeißen und auf 52 (ESR) oder 53 (normal) wechseln.
Die neueren FF-Versionen machen mit diverser Software Probleme...
So was will inzwischen leider auch getestet werden...
Nein, MozillaMaintenance ist der eindeutige Name des Mozilla Maintenance Service. Der den du sehen kannst, wenn du unter der Computerverwaltung -> Dienste den entsprechenden Mozilla-Dienst öffnest.IvicaE hat geschrieben:@andré
Ok, ich werde es versuchen umzusetzen.
Bei dem 'MozillaMaintenance' reden wir aber immer noch in der Variable in meinem Script welche den Pfad zur Maintenance-EXE beinhaltet, richtig?
Dann gibt es ja immer noch die Möglichkeit einen anderen Browser zu nehmen. Sonst ist eher die Webseite das Problem und nicht Firefox. Aber genug OT.dark alex hat geschrieben:Blöd nur, dass die aktuelle ESR auch betroffen ist :/
Entweder den Dienst direkt löschen:
Code: Alles auswählen
sc delete MozillaMaintenance
Habe ich beides jeweils ausprobiert. Bei beiden bleibt der Installationsprozess an der o.g. Stelle wieder stehen.Oder den Dienst stoppen und deaktivieren:
Code: Alles auswählen
net stop MozillaMaintenance
sc config MozillaMaintenance start=disabled
Code: Alles auswählen
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/en/credits/
[Actions]
requiredWinstVersion >= "4.11.4.6"
ScriptErrorMessages=off
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
DefVar $NoAutoUpdate$
DefVar $DefaultBrowser$
DefVar $ProfileImport$
DefVar $SilentSwitch$
DefVar $MozillaMaintenanceUninstallExe$
DefVar $preftype$
DefVar $PRODUCTPATH$
DefVar $PREF_LOCAL_SETTINGS$
DefVar $PREF_MOZILLA_CFG$
DefVar $PREF_MOZILLA_CFG_SRC_PATH$
DefVar $PREF_MOZILLA_CFG_DEST_PATH$
Set $LogDir$ = "%opsiLogDir%"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "Firefox"
Set $MinimumSpace$ = "100 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\Mozilla Firefox"
Set $SilentSwitch$ = "-ms"
set $MozillaMaintenanceUninstallExe$ = "%ProgramFiles32Dir%\Mozilla Maintenance Service\uninstall.exe"
; ----------------------------------------------------------------
Set $preftype$ = "pref"
Set $PRODUCTPATH$=$InstallDir$
Set $PREF_LOCAL_SETTINGS$ = "local-settings.js"
Set $PREF_MOZILLA_CFG$ = "mozilla.cfg"
Set $PREF_MOZILLA_CFG_SRC_PATH$ = "%ScriptPath%\"
Set $PREF_MOZILLA_CFG_SRC_PATH$ = $PREF_MOZILLA_CFG_SRC_PATH$ + $PREF_MOZILLA_CFG$
Set $PREF_MOZILLA_CFG_DEST_PATH$ = $PRODUCTPATH$+"\"+$PREF_MOZILLA_CFG$
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
isFatalError "No Space"
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
comment "get property value ....."
set $NoAutoUpdate$ = getProductProperty("NoAutoUpdate", "True")
if $NoAutoUpdate$ = "True"
comment "NoAutoUpdate value is True"
else
if $NoAutoUpdate$ = "False"
comment "NoAutoUpdate value is False"
else
comment "NoAutoUpdate value must be may_be"
endif
endif
set $DefaultBrowser$ = getProductProperty("DefaultBrowser", "True")
if $DefaultBrowser$ = "True"
comment "DefaultBrowser value is True"
else
if $DefaultBrowser$ = "False"
comment "DefaultBrowser value is False"
else
comment "DefaultBrowser value must be may_be"
endif
endif
set $ProfileImport$ = getProductProperty("ProfileImport", "False")
if $ProfileImport$ = "True"
comment "ProfileImport value is True"
else
if $ProfileImport$ = "False"
comment "ProfileImport value is False"
else
comment "ProfileImport value must be may_be"
endif
endif
if FileExists("%ScriptPath%\delsub32.opsiscript")
killtask "firefox.exe"
killtask "plugin-container.exe"
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub32.opsiscript"
endif
Message "Installing " + $ProductId$ + " ..."
comment "Start setup program"
ChangeDirectory "%SCRIPTPATH%"
Winbatch_install
comment "Create mozilla.cfg"
if FileExists($PREF_MOZILLA_CFG_SRC_PATH$)
if FileExists($PREF_MOZILLA_CFG_DEST_PATH$)
comment "$PREF_MOZILLA_CFG$ exists already. Will not create a new one!"
else
comment "Copy $PREF_MOZILLA_CFG$ to %Programfiles32Dir%\Mozilla Firefox"
Files_mozilla_cfg
endif
PatchTextFile_set_pref $PRODUCTPATH$+"\browser\defaults\pref\"+$PREF_LOCAL_SETTINGS$
PatchTextFile_set_pref $PRODUCTPATH$+"\defaults\pref\"+$PREF_LOCAL_SETTINGS$
comment "Set some sandard-values (privacy, telemetry-data, etc...)"
PatchTextFile_set_privacy $PREF_MOZILLA_CFG_DEST_PATH$
endif
comment "Enable/Disable autoupdate"
if $NoAutoUpdate$ = "True"
Registry_disable_au /32Bit
;if FileExists("%ProgramFiles32Dir%\Mozilla Maintenance Service\uninstall.exe")
if FileExists($MozillaMaintenanceUninstallExe$)
;Winbatch_uninstall_maintenance
DosInAnIcon_disable_maintenance
endif
PatchTextFile_disable_au $PREF_MOZILLA_CFG_DEST_PATH$
endif
comment "set/unset default browser"
if $DefaultBrowser$ = "True"
PatchTextFile_disable_check_default_browser $PREF_MOZILLA_CFG_DEST_PATH$
;Registry_set_defaultbrowser
endif
if $ProfileImport$ = "False"
Patches_override_disable_profile_migrator $PRODUCTPATH$+"\browser\override.ini"
endif
Winbatch_setDefaultBrowser
Sub_check_exitcode
endif
[Winbatch_install]
"%ScriptPath%\Firefox Setup.exe" $SilentSwitch$
[Winbatch_setDefaultBrowser]
"$PRODUCTPATH$\firefox.exe" -silent -setDefaultBrowser
;[Winbatch_uninstall_maintenance]
;"$MozillaMaintenanceUninstallExe$" /S
[DosInAnIcon_disable_maintenance]
;net stop MozillaMaintenance
;sc config MozillaMaintenance start=disabled
sc delete MozillaMaintenance
[Registry_disable_au]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService]
set "attempted" = REG_DWORD:0001
set "installed" = REG_DWORD:0001
DeleteVar "FFPrefetchDisabled"
[PatchTextFile_set_pref]
Set_Mozilla_Pref ("$preftype$", "general.config.obscure_value", 0)
Set_Mozilla_Pref ("$preftype$", "general.config.filename", "mozilla.cfg")
[Files_mozilla_cfg]
copy "$PREF_MOZILLA_CFG_SRC_PATH$" "$PRODUCTPATH$"
[PatchTextFile_disable_au]
Set_Mozilla_Pref ("lockPref","app.update.enabled", false)
Set_Mozilla_Pref ("lockPref","app.update.auto", false)
Set_Mozilla_Pref ("lockPref","app.update.service.enabled", false)
[PatchTextFile_disable_check_default_browser]
Set_Mozilla_Pref ("lockPref","browser.shell.checkDefaultBrowser", false)
[PatchTextFile_set_privacy]
Set_Mozilla_Pref ("lockPref","toolkit.telemetry.enabled", false)
Set_Mozilla_Pref ("lockPref","toolkit.telemetry.prompted", 2)
Set_Mozilla_Pref ("lockPref","toolkit.telemetry.rejected", true)
[Patches_override_disable_profile_migrator]
add [XRE] EnableProfileMigrator=false
[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed."
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success."
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif
Code: Alles auswählen
[DosInAnIcon_disable_maintenance]
sc delete MozillaMaintenance
Code: Alles auswählen
[DosInAnIcon_disable_maintenance]
net stop MozillaMaintenance
sc config MozillaMaintenance start=disabled