OfficeSacn-Deinstallationsproblem

Post Reply
Asim
Posts: 15
Joined: 14. Dec 2016, 10:23
Contact:

OfficeSacn-Deinstallationsproblem

Post by Asim » 13. Dec 2017, 14:58

Hallo Zusammen,
ich habe ein Problem mit der Deinstallation eines Packets. Es handelt sich um ein simples EXE Packet (Trend Micro Client (OfficeScan)). Die Installation läuft durch aber bei der Deinstallation „-Call "%programfiles%\Trend Micro\OfficeScan Client\NTRmv.exe" /Silent“ nicht funktioniert.
Erscheint diese Fehlermeldung:
„ Section [Reg:OnUninstallProduct], Line 1:
Kann Schlüssel bzw. Wert 'Allow Uninstall' in der Registrierungsdatenbank nicht anlegen.
Fehler 5!
Abbrechen“

Für dieses Problem benötige ich ihre Unterstützung. Ich bedanke mich im Voraus.
Anbei die Uninstall Sektion des Packets:
[Set:Deinstallation]
-Del "%MSILogFile%"
;-SetReboot 1
-WaitWhileProcessExists "ntrmv.exe",300
-Sleep 270000
-Call "%programfiles%\Trend Micro\OfficeScan Client\NTRmv.exe" /Silent
-AddMeter -1

[Reg:OnUninstallProduct]
HKLM,SOFTWARE\Trendmicro\PC-cillinNTCorp\CurrentVersion\Misc.,"Allow Uninstall",0x00010001,1

HKLM,"SOFTWARE\Wow6432Node\TrendMicro\PC-cillinNTCorp\CurrentVersion\Misc.","LogonUserAccount",0x00000000,"BAFZA\%WindowsUser%"
HKLM,"SOFTWARE\Wow6432Node\TrendMicro\PC-cillinNTCorp\CurrentVersion\Real Time Scan Configuration","UserName",0x00000000,"%WindowsUser%"

[Reg:Product]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OfficeScanNT,SystemComponent,0x00010001,1

Grüße
Asim Ahmed

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7962
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: OfficeSacn-Deinstallationsproblem

Post by Hendrik_Ambrosius » 13. Dec 2017, 16:38

Ist es denn zwingend nötig dass dieser RegKey bei der Deinstallation angelegt wird?
Sonst einfach die Zeile entfernen.

Fehler 5 = Zugriff verweigert
Klappt das manuelle Anlegen des Schlüssels mit Admin-Rechten?
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

Asim
Posts: 15
Joined: 14. Dec 2016, 10:23
Contact:

Re: OfficeSacn-Deinstallationsproblem

Post by Asim » 20. Dec 2017, 15:45

ja, bei uns in der Behörde ist das benötigt, weil ohne diesen RegKey-Eintag jeder dieser Software deinstalliern kann. der Schlüssel kann manuell angeleget werden aber muss man vorher OfficeSacn-Dienst stoppen.

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7962
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: OfficeSacn-Deinstallationsproblem

Post by Hendrik_Ambrosius » 20. Dec 2017, 15:48

OK. Dann machen Sie es doch genau so in der Reihenfolge im Script, dann sollte es laufen.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

Post Reply

Return to “Installation und Konfiguration”

Who is online

Users browsing this forum: No registered users and 3 guests