Nein, der gleiche Fehler. Der Prozess setup.exe wird gestartet, jedoch ohne die den Parameter /INI, so dass der Prozess im Hintergrund auf meine Eingabe wartet...
Hab nebenbei mal mit der Deinstallationroutine weitergemacht und ein ähnlichen Fehler gefunden:
Code: Alles auswählen
Set $InstallDir$ = getRegistryStringValue32 ("[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\"+$MozillaVersion$+"\Main] Install Directory")
Set $ExeFile$ = "helper.exe"
Set $ExeFileArgs$ = "-ms"
Set $UninstallCmd$ = '"'+$InstallDir$+'\uninstall\'+$ExeFile$ + ' ' + $ExeFileArgs$+'"'
if not ( FileExists ($InstallDir$+"\uninstall\"+$ExeFile$) )
LogError $ExeFile$+" konnte nicht gefunden werden"
isFatalError
endif
killtask "firefox.exe"
WinBatch_uninstall
[WinBatch_uninstall]
$UninstallCmd$
Hab das extra mal mit den Anführungszeichen gebaut wie Sie es empfohlen haben. Es funktioniert auch wenn ich einfach den Aufruf $UninstallCmd$ in "$UninstallCmd$" ändere.
Jetzt kommt folgende Ausgabe:
[5] [23.05.2012 15:55:43] If
[6] [23.05.2012 15:55:43] Starting query if file exist ...
[5] [23.05.2012 15:55:43] FileExists ($InstallDir$+"\uninstall\"+$ExeFile$) <<< result true
[5] [23.05.2012 15:55:43] not ( FileExists ($InstallDir$+"\uninstall\"+$ExeFile$) ) <<< result false
[5] [23.05.2012 15:55:43] Then
[5] [23.05.2012 15:55:43] EndIf
[6] [23.05.2012 15:55:43] Nothing to stop, no instances of "firefox.exe" found
[5] [23.05.2012 15:55:43]
[5] [23.05.2012 15:55:43] Execution of WinBatch_uninstall
[4] [23.05.2012 15:55:43] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:44] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:44] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:44] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:45] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:45] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:46] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:46] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:46] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:47] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms -retrying
[4] [23.05.2012 15:55:47] Warning: file not found :C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms - giving up
[6] [23.05.2012 15:55:47] Call ""C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe -ms""
[6] [23.05.2012 15:55:47] Waiting until the called process is finished
[6] [23.05.2012 15:55:47]
[6] [23.05.2012 15:55:47] Section ending since next line is starting with "["
Obwohl er den richtigen Pfad bekommt und die helper.exe auch da ist, meldet er dass die Datei nicht gefunden wurde. Habe schon alle möglichen Schreibweisen ausprobiert. Stehe echt auf dem Schlauch...
MfG
Jan