Deinstallation schlägt nach erfolgreicher Paketierung fehl (Code: 70000)

Hallo zusammen,

ich habe ein Paket erstellt. Die Test-Installation sowie die Test-Deinstallation während der Paketerstellung im Package Recorder hat problemlos funktioniert. Wenn ich daraufhin das Paket testen will, funktioniert die Installation wie gewünscht. Die anschließende Deinstallation hingegen schlägt immer fehl. Ich füge einmal die Logs mit an:

Uninstall.2026-07-02_10-27-08.log:

=== Verbose logging started: 02.07.2026  10:27:17  Build type: SHIP UNICODE 5.00.10011.00  Calling process: C:\WINDOWS\System32\msiexec.exe ===
MSI (c) (28:70) [10:27:17:587]: Resetting cached policy values
MSI (c) (28:70) [10:27:17:587]: Machine policy value 'Debug' is 0
MSI (c) (28:70) [10:27:17:587]: ******* RunEngine:
           ******* Product: {7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}
           ******* Action: 
           ******* CommandLine: **********
MSI (c) (28:70) [10:27:17:587]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (28:70) [10:27:17:587]: Grabbed execution mutex.
MSI (c) (28:70) [10:27:17:806]: Cloaking enabled.
MSI (c) (28:70) [10:27:17:806]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (28:70) [10:27:17:806]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (10:E4) [10:27:17:917]: Running installation inside multi-package transaction {7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}
MSI (s) (10:E4) [10:27:17:917]: Grabbed execution mutex.
MSI (s) (10:B8) [10:27:17:935]: Resetting cached policy values
MSI (s) (10:B8) [10:27:17:935]: Machine policy value 'Debug' is 0
MSI (s) (10:B8) [10:27:17:935]: ******* RunEngine:
           ******* Product: {7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}
           ******* Action: 
           ******* CommandLine: **********
MSI (s) (10:B8) [10:27:17:935]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (10:B8) [10:27:18:028]: Note: 1: 2203 2: C:\WINDOWS\Installer\inprogressinstallinfo.ipi 3: -2147287038 
MSI (s) (10:B8) [10:27:18:028]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:028]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:028]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:028]: SRSetRestorePoint skipped for this transaction.
MSI (s) (10:B8) [10:27:18:028]: Creating MSIHANDLE (1) of type 790542 for thread 24760
MSI (s) (10:B8) [10:27:18:028]: MSCOREE not loaded loading copy from system32
MSI (s) (10:B8) [10:27:18:103]: End dialog not enabled
MSI (s) (10:B8) [10:27:18:107]: Original package ==> C:\WINDOWS\Installer\54c0d1a.msi
MSI (s) (10:B8) [10:27:18:107]: Package we're running from ==> C:\WINDOWS\Installer\54c0d1a.msi
MSI (s) (10:B8) [10:27:18:107]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:107]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:107]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:107]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:107]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:107]: APPCOMPAT: Uninstall Flags override found.
MSI (s) (10:B8) [10:27:18:107]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:107]: APPCOMPAT: Uninstall VersionNT override found.
MSI (s) (10:B8) [10:27:18:107]: Using cached product context: machine assigned for product: 5285D3E746BE1E948B6A53277AD0E2DC
MSI (s) (10:B8) [10:27:18:110]: APPCOMPAT: Uninstall ServicePackLevel override found.


.........................


Property(S): ROOTDRIVE = C:\
Property(S): CostingComplete = 0
Property(S): SOURCEDIR = C:\PROGRA~3\{8613E~1\
Property(S): SourcedirProduct = {7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}
Property(S): OutOfDiskSpace = 0
MSI (s) (10:B8) [10:27:21:603]: Note: 1: 1724 
MSI (s) (10:B8) [10:27:21:603]: Note: 1: 2262 2: Error 3: -2147287038 
MSI (s) (10:B8) [10:27:21:603]: Note: 1: 2262 2: Error 3: -2147287038 
MSI (s) (10:B8) [10:27:21:603]: Produkt: KHZV-Client -- Das Entfernen wurde abgeschlossen.

MSI (s) (10:B8) [10:27:21:605]: Das Produkt wurde durch Windows Installer entfernt. Produktname: KHZV-Client. Produktversion: 1.0.2. Produktsprache: 1031. Hersteller: GEOS mbH. Erfolg- bzw. Fehlerstatus der Deinstallation: 0.

MSI (s) (10:B8) [10:27:21:606]: Closing MSIHANDLE (1) of type 790542 for thread 24760
MSI (s) (10:B8) [10:27:21:607]: Deferring clean up of packages/files, if any exist
MSI (s) (10:B8) [10:27:21:608]: MainEngineThread is returning 0
MSI (s) (10:E4) [10:27:21:608]: No System Restore sequence number for this installation.
=== Protokollierung beendet: 02.07.2026  10:27:21 ===
MSI (s) (10:E4) [10:27:21:619]: User policy value 'DisableRollback' is 0
MSI (s) (10:E4) [10:27:21:619]: Machine policy value 'DisableRollback' is 0
MSI (s) (10:E4) [10:27:21:619]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (10:E4) [10:27:21:619]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (10:E4) [10:27:21:622]: Note: 1: 2203 2: C:\WINDOWS\Installer\inprogressinstallinfo.ipi 3: -2147287038 
MSI (s) (10:E4) [10:27:21:622]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (10:E4) [10:27:21:624]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (10:E4) [10:27:21:625]: Destroying RemoteAPI object.
MSI (s) (10:54) [10:27:21:626]: Custom Action Manager thread ending.
MSI (c) (28:70) [10:27:21:632]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (28:70) [10:27:21:634]: MainEngineThread is returning 0
=== Verbose logging stopped: 02.07.2026  10:27:21 ===

GEOSmbH_KHZV-Client_1.0.2_PSAppDeployToolkit_uninstall.log:

<![LOG[[Initialize-Environment] :: [setup.cfg] was found and successfully parsed into global:SetupCfg object.]LOG]!><time="10:27:08.068120" date="07-02-2026" component="Set-NxtSetupCfg" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Initialize-Environment] :: Checking for custom config file [CustomSetup.cfg] under [C:\ProgramData\neo42Pkgs\GEOS mbH\KHZV-Client\1.0.2\neo42-Install\CustomSetup.cfg]...]LOG]!><time="10:27:08.203120" date="07-02-2026" component="Set-NxtCustomSetupCfg" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Initialize-Environment] :: No [CustomSetup.cfg] found. Skipped parsing customized values.]LOG]!><time="10:27:08.220120" date="07-02-2026" component="Set-NxtCustomSetupCfg" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Initialize-Environment] :: Setting package architecture variables...]LOG]!><time="10:27:08.254120" date="07-02-2026" component="Set-NxtPackageArchitecture" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Initialize-Environment] :: Package architecture variables successfully set.]LOG]!><time="10:27:08.272120" date="07-02-2026" component="Set-NxtPackageArchitecture" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Initialize-Environment] :: Getting environment variables set by the deployment system...]LOG]!><time="10:27:08.558120" date="07-02-2026" component="Get-NxtVariablesFromDeploymentSystem" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Initialize-Environment] :: Environment variables successfully read.]LOG]!><time="10:27:08.575120" date="07-02-2026" component="Get-NxtVariablesFromDeploymentSystem" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Initialize-Environment] :: ConfigVersion: 2024.11.13.1]LOG]!><time="10:27:09.331120" date="07-02-2026" component="Test-NxtConfigVersionCompatibility" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Getting registry key [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}] value [ProductGUID].]LOG]!><time="10:27:09.444120" date="07-02-2026" component="Get-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Getting registry key [Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{0421AB6B-F808-4B0B-8FA5-B9019D491051}] value [Installed].]LOG]!><time="10:27:09.477120" date="07-02-2026" component="Get-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Checking for running applications: [KHZVClient]]LOG]!><time="10:27:11.642120" date="07-02-2026" component="Get-NxtRunningProcesses" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Specified applications are not running.]LOG]!><time="10:27:11.767120" date="07-02-2026" component="Get-NxtRunningProcesses" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Getting information for installed Product Code [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}]...]LOG]!><time="10:27:11.876120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Found installed application [KHZV-Client] version [1.0.2] matching product code [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}].]LOG]!><time="10:27:12.357120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Skipped 0 entries while searching, because they were considered Microsoft updates.]LOG]!><time="10:27:12.393120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Excluded [neoPackage GEOS mbH KHZV-Client 1.0.2] from the results above.]LOG]!><time="10:27:12.412120" date="07-02-2026" component="Get-NxtInstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Getting registry key [Registry::HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}] value [SystemComponent].]LOG]!><time="10:27:12.449120" date="07-02-2026" component="Get-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Registry key value [Registry::HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}] [SystemComponent] does not exist. Return $null.]LOG]!><time="10:27:12.467120" date="07-02-2026" component="Get-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Preparation] :: Did not find a SystemComponent entry under registry key [{7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}]. Skipped deleting the entry for this key.]LOG]!><time="10:27:12.482120" date="07-02-2026" component="Initialize-NxtUninstallApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Checking if application is installed...]LOG]!><time="10:27:12.606120" date="07-02-2026" component="Test-NxtAppIsInstalled" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Getting information for installed Product Code [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}]...]LOG]!><time="10:27:12.626120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Found installed application [KHZV-Client] version [1.0.2] matching product code [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}].]LOG]!><time="10:27:13.051120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Skipped 0 entries while searching, because they were considered Microsoft updates.]LOG]!><time="10:27:13.074120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Excluded [neoPackage GEOS mbH KHZV-Client 1.0.2] from the results above.]LOG]!><time="10:27:13.091120" date="07-02-2026" component="Get-NxtInstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Found one application matching UninstallKey [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}], UninstallKeyIsDisplayName [False], UninstallKeyContainsWildCards [False] and DisplayNamesToExclude [neoPackage GEOS mbH KHZV-Client 1.0.2]. Returning [True].]LOG]!><time="10:27:13.133120" date="07-02-2026" component="Test-NxtAppIsInstalled" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Getting information for installed Product Code [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}]...]LOG]!><time="10:27:13.214120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Found installed application [KHZV-Client] version [1.0.2] matching product code [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}].]LOG]!><time="10:27:13.621120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Skipped 0 entries while searching, because they were considered Microsoft updates.]LOG]!><time="10:27:13.642120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Excluded [neoPackage GEOS mbH KHZV-Client 1.0.2] from the results above.]LOG]!><time="10:27:13.669120" date="07-02-2026" component="Get-NxtInstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Resolving product code to a publisher, application name, and version.]LOG]!><time="10:27:13.752120" date="07-02-2026" component="Execute-MSI" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Getting information for installed Product Code [{7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}]...]LOG]!><time="10:27:13.771120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Found installed application [KHZV-Client] version [1.0.2] matching product code [{7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}].]LOG]!><time="10:27:14.208120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Skipped 0 entries while searching, because they were considered Microsoft updates.]LOG]!><time="10:27:14.241120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Getting information for installed Product Code [{7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}]...]LOG]!><time="10:27:14.278120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Found installed application [KHZV-Client] version [1.0.2] matching product code [{7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}].]LOG]!><time="10:27:14.723120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Skipped 0 entries while searching, because they were considered Microsoft updates.]LOG]!><time="10:27:14.742120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Executing MSI action [Uninstall]...]LOG]!><time="10:27:14.760120" date="07-02-2026" component="Execute-MSI" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: [C:\WINDOWS\System32\msiexec.exe] is a valid fully qualified path, continue.]LOG]!><time="10:27:14.804120" date="07-02-2026" component="Execute-Process" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Checking to see if mutex [Global\_MSIExecute] is available. Wait up to [10 minute(s)] for the mutex to become available.]LOG]!><time="10:27:14.852120" date="07-02-2026" component="Test-IsMutexAvailable" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Mutex [Global\_MSIExecute] is available for an exclusive lock.]LOG]!><time="10:27:14.877120" date="07-02-2026" component="Test-IsMutexAvailable" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Working Directory is [C:\WINDOWS\System32].]LOG]!><time="10:27:15.988120" date="07-02-2026" component="Execute-Process" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Executing [C:\WINDOWS\System32\msiexec.exe /x "{7E3D5825-EB64-49E1-B8A6-3572A70D2ECD}" MSIRESTARTMANAGERCONTROL=Disable REBOOT=ReallySuppress /qn /L*vx "C:\ProgramData\neo42PkgsLogs\GEOS mbH\KHZV-Client\1.0.2\Uninstall.2026-07-02_10-27-08_Uninstall.log"]...]LOG]!><time="10:27:16.008120" date="07-02-2026" component="Execute-Process" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: PassThru parameter specified, returning execution results object.]LOG]!><time="10:27:21.706120" date="07-02-2026" component="Execute-Process" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Execution completed successfully with exit code [0].]LOG]!><time="10:27:21.723120" date="07-02-2026" component="Execute-Process" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Refreshing the Desktop and the Windows Explorer environment process block.]LOG]!><time="10:27:21.745120" date="07-02-2026" component="Update-Desktop" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Move 'C:\ProgramData\neo42PkgsLogs\GEOS mbH\KHZV-Client\1.0.2\Uninstall.2026-07-02_10-27-08_Uninstall.log' to 'C:\ProgramData\neo42PkgsLogs\GEOS mbH\KHZV-Client\1.0.2\Uninstall.2026-07-02_10-27-08.log'.]LOG]!><time="10:27:24.739120" date="07-02-2026" component="Move-NxtItem" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Checking if application is installed...]LOG]!><time="10:27:29.821120" date="07-02-2026" component="Test-NxtAppIsInstalled" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Getting information for installed Product Code [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}]...]LOG]!><time="10:27:29.848120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Found installed application [KHZV-Client] version [1.0.2] matching product code [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}].]LOG]!><time="10:27:30.288120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Skipped 0 entries while searching, because they were considered Microsoft updates.]LOG]!><time="10:27:30.308120" date="07-02-2026" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Excluded [neoPackage GEOS mbH KHZV-Client 1.0.2] from the results above.]LOG]!><time="10:27:30.325120" date="07-02-2026" component="Get-NxtInstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Found one application matching UninstallKey [{7e3d5825-eb64-49e1-b8a6-3572a70d2ecd}], UninstallKeyIsDisplayName [False], UninstallKeyContainsWildCards [False] and DisplayNamesToExclude [neoPackage GEOS mbH KHZV-Client 1.0.2]. Returning [True].]LOG]!><time="10:27:30.347120" date="07-02-2026" component="Test-NxtAppIsInstalled" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[Package-Uninstallation] :: Uninstallation of 'KHZV-Client' failed. ErrorLevel: 0]LOG]!><time="10:27:30.403120" date="07-02-2026" component="Uninstall-NxtApplication" context="SLMCCDOM1\otterbjo" type="3" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Uninstallation of 'KHZV-Client' failed. ErrorLevel: 0]LOG]!><time="10:27:30.512120" date="07-02-2026" component="Exit-NxtScriptWithError" context="SLMCCDOM1\otterbjo" type="3" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [AppPath = C:\ProgramData\neo42Pkgs\GEOS mbH\KHZV-Client\1.0.2].]LOG]!><time="10:27:30.558120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [DebugLogFile = C:\ProgramData\neo42PkgsLogs\GEOS mbH\KHZV-Client\1.0.2\GEOSmbH_KHZV-Client_1.0.2_PSAppDeployToolkit_uninstall.log].]LOG]!><time="10:27:30.597120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [DeploymentStartTime = 2026-07-02_10-27-08].]LOG]!><time="10:27:30.640120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [DeveloperName = GEOS mbH].]LOG]!><time="10:27:30.677120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [ErrorTimeStamp = 2026-07-02_10-27-30].]LOG]!><time="10:27:30.709120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [ErrorMessage = Uninstallation of 'KHZV-Client' failed. ErrorLevel: 0].]LOG]!><time="10:27:30.721120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [ErrorMessagePSADT = Die DisplayVersion-Eigenschaft kann nicht gefunden werden.].]LOG]!><time="10:27:30.756120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [LastExitCode = 0].]LOG]!><time="10:27:30.778120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [PackageArchitecture = x86].]LOG]!><time="10:27:30.804120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [PackageStatus = Failure].]LOG]!><time="10:27:30.823120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [ProductName = KHZV-Client].]LOG]!><time="10:27:30.849120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [Revision = 0].]LOG]!><time="10:27:30.873120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [SrcPath = C:\Users\otterbjo\AppData\Local\Temp\Package Recorder\Packages\GEOS mbH\KHZV-Client\1.0.2].]LOG]!><time="10:27:30.899120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [StartupProcessor_Architecture = AMD64].]LOG]!><time="10:27:31.025120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [StartupProcessOwner = SLMCCDOM1\otterbjo].]LOG]!><time="10:27:31.059120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [StartupProcessOwnerSID = S-1-5-21-2029336007-1092704466-1520766640-16315].]LOG]!><time="10:27:31.080120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [UninstallOld = True].]LOG]!><time="10:27:31.111120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [UserPartOnInstallation = False].]LOG]!><time="10:27:31.131120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [UserPartOnUninstallation = False].]LOG]!><time="10:27:31.172120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{0421AB6B-F808-4B0B-8FA5-B9019D491051}_Error] [Version = 1.0.2].]LOG]!><time="10:27:31.194120" date="07-02-2026" component="Set-RegistryKey" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Temp folder [C:\n42Tmp] does not exist. Skipping.]LOG]!><time="10:27:31.222120" date="07-02-2026" component="Clear-NxtTempFolder" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: Bypassing function [Unblock-NxtAppExecution], because [BlockExecution: False].]LOG]!><time="10:27:31.244120" date="07-02-2026" component="Unblock-NxtAppExecution" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: The installation progress dialog does not exist. Waiting up to 5 seconds...]LOG]!><time="10:27:31.292120" date="07-02-2026" component="Close-InstallationProgress" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: The installation progress dialog was not created within 5 seconds.]LOG]!><time="10:27:36.363120" date="07-02-2026" component="Close-InstallationProgress" context="SLMCCDOM1\otterbjo" type="2" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: GEOSmbH_KHZV-Client_1.0.2 Deinstallation completed with exit code [70000].]LOG]!><time="10:27:36.383120" date="07-02-2026" component="Exit-Script" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">
<![LOG[[CustomUninstallEndOnError] :: -------------------------------------------------------------------------------]LOG]!><time="10:27:36.396120" date="07-02-2026" component="Exit-Script" context="SLMCCDOM1\otterbjo" type="1" thread="29116" file="Deploy-Application.ps1">

Hallo @Otthercreek,

man sieht im Log, dass er zwar die Deinstallation erfolgreich abgeschlossen hat, aber bei der Prüfung ob der Uninstallkey auch wirklich entfernt wurde geht das Paket auf einen Fehler, da dieser noch vorhanden ist.

image

Wenn die Deinstallation mit dem Fehler beendet wurde und du dann in der Registry nach dem Uninstallkey schaust, ist dieser dann noch vorhanden oder auch entfernt?

Grüße,

Sven

Hallo @SSL.neo42,

ich habe es gerade nochmal getestet. Der Uninstallkey ist in der Registry noch vorhanden.

LG,
Jonathan

Hallo @Otthercreek,

wie führst du die Installation zum testen aus und danach die Deinstallation?
Läuft beides als System oder läuft die Installation als Administrator und die Deinstallation als System?
Was ich schonmal hatte, dass wenn die Installation normal als Admin ausgeführt wurde (z.B. über Visual Studio Code) und dann die Deinstallation als System (z.B. über die Systemsteuerung), wurde von der Deinstallation gemeldet, dass die Deinstallation zwar angeblich erfolgreich war, aber die Software noch vorhanden war.
Erst als ich auch die Installation als System gemacht habe, wurde diese wirklich sauber entfernt.

Grüße,

Sven