Seite 1 von 1

Firefox-Installation hängt endlos

Verfasst: 06 Feb 2017, 16:53
von IvicaE
Hallo Leute,

ich habe bis vor kurzem noch ein älteres Firefox-Paket in Nutzung gehabt (48.0) mit welcher die Installation und/oder Deinstallation vollkommen problemlos funktioniert hat.
Jetzt habe ich das Paket aktualisiert auf Version 50.0.1. Habe dazu den ursprünglichen Ordner vom Firefox-Opsi-Paketordner auf die Workbench wiederhergestellt (vom Backup), die "Firefox 48.0.exe" rausgelöscht, die neue "Firefox 50.0.1.exe eingefügt und den Pfad im setup-Script angepasst.
Auch habe ich mit dem 'opsi PackageBuilder' die Versionsangabe angepasst und alles gespeichert, Paket erstellt und Paket installiert.
Erscheint auch im configed und lässt sich bei manchen problemlos herunterdrücken.
Bei Anderen hängt die Installation jedoch beim 'Installing Firefox....." "Winbatch_uninstall_maintenance finished".
Und da geht dann nichts mehr. Jetzt habe ich ihm auch mal eine Stunde Zeit gegeben aber nichts passiert.

So, kann mir jemand sagen in welche Richtung ich schauen sollte um dem Problem auf den Grund zu gehen?
Eine Log-Datei habe ich ja nicht weil die nicht übertragen wird. Ich kann den betreffenden Client-PC nur mit einem Hard-Reset aus seiner 'Lethargie' herausholen.

Re: Firefox-Installation hängt endlos

Verfasst: 06 Feb 2017, 17:39
von uncle_scrooge
Das Paket kommt woher?
Eigengewächs? Irgendwo gefunden?
Die Install-/Uninstall-Skripte wären vielleicht nicht ganz uninteressant.

>>Eine Log-Datei habe ich ja nicht weil die nicht übertragen wird
An den üblichen Stellen lokal sollten sich zumindest Fragmente finden lassen.

Re: Firefox-Installation hängt endlos

Verfasst: 07 Feb 2017, 13:25
von IvicaE
Ich habe, nachdem die Installation wieder einmal hängen geblieben ist, in der lokalen Logdatei nachgeschaut.

In etwa schaut die Logdatei am Ende so aus:

Code: Alles auswählen

Execution of winbatch_setDefaultBrwser
    Call ""C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -silent -setDefaultBrowser"
        Waiting until the called process is finished
    Start process as invoker: SYSTEM
Scheint so daß Windows in diesem Augenblick im Hintergrund dann das blöde Fenster mit den 'Standardprogrammen' aufpoppen lässt damit man das Standardprogramm für HTML-Seiten auswählen kann. Wohl in der Hoffnung daß der User sich doch noch für deren blödes Edge umentscheidet.

Meine Frage ist nun die: wie unterbinde ich das?

Re: Firefox-Installation hängt endlos

Verfasst: 07 Feb 2017, 19:19
von SisterOfMercy

Code: Alles auswählen

[Winbatch_install_32]
"%ScriptPath%\files\Firefox-x86.exe" /INI="%ScriptPath%\files\mozilla-firefox.ini"

[Winbatch_install_64]
"%ScriptPath%\files\Firefox-x64.exe" /INI="%ScriptPath%\files\mozilla-firefox.ini"
I use this. I also use this .ini file:

Code: Alles auswählen

[Install]
;
; Remove the semicolon (;) to un-comment a line.
;
; The name of the directory where the application will be installed in the
; system's program files directory. The security
; context the installer is running in must have write access to the
; installation directory. Also, the directory must not exist or if it exists
; it must be a directory and not a file. If any of these conditions are not met
; the installer will abort the installation with an error level of 2. If this
; value is specified then InstallDirectoryPath will be ignored.
InstallDirectoryName=Mozilla Firefox

; The full path to the directory to install the application. The security
; context the installer is running in must have write access to the
; installation directory. Also, the directory must not exist or if it exists
; it must be a directory and not a file. If any of these conditions are not met
; the installer will abort the installation with an error level of 2.
; InstallDirectoryPath=c:\firefox\

; By default all of the following shortcuts are created. To prevent the
; creation of a shortcut specify false for the shortcut you don't want created.

; Create a shortcut for the application in the current user's QuickLaunch
; directory.
QuickLaunchShortcut=false

; Create a shortcut for the application on the desktop. This will create the
; shortcut in the All Users Desktop directory and if that fails this will
; attempt to create the shortcuts in the current user's Start Menu directory.
DesktopShortcut=true

; Create shortcuts for the application in the Start Menu. This will create the
; shortcuts in the All Users Start Menu directory and if that fails this will
; attempt to create the shortcuts in the current user's Start Menu directory.
StartMenuShortcuts=true

; The directory name to use for the StartMenu folder (not available with
; Firefox 4.0 and above - see note below).
; note: if StartMenuShortcuts=false is specified then this will be ignored.
; StartMenuDirectoryName=Mozilla Firefox

; The MozillaMaintenance service is used for silent updates and may be used
; for other maintenance related tasks.  It is an optional component. 
; This option can be used in Firefox 16 or later to skip installing the service.
MaintenanceService=false
Setting Mozilla Firefox as default browser is not possible. This is because Mozilla Firefox will always ask to be the default browser if it is not set in the registry of the current user. This is done in HKEY_CURRENT_USER\Software\Classes\.htm for instance.
I have to find the topic.

Re: Firefox-Installation hängt endlos

Verfasst: 07 Feb 2017, 19:21
von SisterOfMercy
viewtopic.php?f=7&t=8220

BTW, this has nothing to do with the installation of firefox hanging. Using the correct parameters it will work without a problem.