Deinstallation mit UninstallString

Antworten
eusebio80
Beiträge: 12
Registriert: 17 Dez 2008, 08:55

Deinstallation mit UninstallString

Beitrag von eusebio80 »

Hallo,

ich habe ein Problem mit der Deinstallation mit Hilfe eines UninstallString.
Gebe ich ihn im cmd-Fenster ein, funktioniert er ohne Probleme und deinstalliert mir das Produkt:

Code: Alles auswählen

msiexec.exe /qb-! /x {1234-5678-9abc}
Baue ich den Befehl aber in mein wInst-Skript ein, wird das Produkt nicht deinstalliert. Ich habe mir auch ein Logfile erstellt. Sieht folgendermaßen aus:
MSI (s) (9C:C8) [14:57:55:687]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\TempPackages 3: 2
MSI (s) (9C:C8) [14:57:55:687]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\54C8E280DB5E18343846A2792B3B1CEE\Transforms,,BinaryType=0)
MSI (s) (9C:C8) [14:57:55:687]: Executing op: RegRemoveKey()
MSI (s) (9C:C8) [14:57:55:687]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\54C8E280DB5E18343846A2792B3B1CEE\Transforms 3: 2
MSI (s) (9C:C8) [14:57:55:687]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0)
MSI (s) (9C:C8) [14:57:55:687]: Error in rollback skipped. Return: 5
MSI (s) (9C:C8) [14:57:55:703]: No System Restore sequence number for this installation.
MSI (s) (9C:C8) [14:57:55:703]: Unlocking Server
MSI (s) (9C:C8) [14:57:55:703]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'.
Aktion beendet um 14:57:55: INSTALL. Rckgabewert 3.
MSI (s) (9C:C8) [14:57:55:734]: Note: 1: 1725
MSI (s) (9C:C8) [14:57:55:734]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (9C:C8) [14:57:55:734]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (9C:C8) [14:57:55:750]: Produkt: KONSEC Konnektor -- Das Entfernen ist fehlgeschlagen.

MSI (s) (9C:C8) [14:57:55:765]: Cleaning up uninstalled install packages, if any exist
MSI (s) (9C:C8) [14:57:55:765]: MainEngineThread is returning 1603
MSI (s) (9C:B0) [14:57:55:781]: Destroying RemoteAPI object.
MSI (s) (9C:50) [14:57:55:796]: Custom Action Manager thread ending.
=== Protokollierung beendet: 04.02.2009 14:57:55 ===
MSI (c) (FC:7C) [14:57:55:796]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (FC:7C) [14:57:55:796]: MainEngineThread is returning 1603
=== Verbose logging stopped: 04.02.2009 14:57:55 ===
Hat jemand eine Idee, wo der Fehler liegt?


Grüße Seb
axel
Beiträge: 20
Registriert: 26 Jan 2009, 14:00

Re: Deinstallation mit UninstallString

Beitrag von axel »

Versuche mal die Deinstallation als Administrator auszuführen.
In AutoIT geht das mit RunAs
Mit Winst geht das glaube ich auch, weiß aber nicht den Befehl.
eusebio80
Beiträge: 12
Registriert: 17 Dez 2008, 08:55

Re: Deinstallation mit UninstallString

Beitrag von eusebio80 »

hi axel,

danke für die schnelle Antwort. Auf AutoIT würde ich gerne, soweit es möglich ist, verzichten.
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: Deinstallation mit UninstallString

Beitrag von wolfbardo »

Hallo Seb,

bitte mal

Code: Alles auswählen

msiexec.exe /qb-! /x {1234-5678-9abc} ALLUSERS=2
versuchen (vgl. opsi-handbuch oder z.B. viewtopic.php?f=7&t=280&p=1529&hilit=al ... e42d#p1529)

Alternativ koennte es helfen im Dos-batch die Umgebungsvariablen so zu setzen, wie sie normalerweise beim Administrator sind.

Gruss
Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
eusebio80
Beiträge: 12
Registriert: 17 Dez 2008, 08:55

Re: Deinstallation mit UninstallString

Beitrag von eusebio80 »

ALLUSERS=2 hatte ich schon probiert, brachte aber keine Besserung.
Umgebungsvariablen werde ich ausprobieren.
Antworten