Hallo,
bei der Deinstallation eines Paketes das mit dem Package-Recorder erstellt wurde kommt es zur der folgenden Fehlermeldung obwohl das Software deinstalliert wird mit Error 0.
ErrorLogMsg: PSADT:Die DisplayName-Eigenschaft kann nicht gefunden werden. - Errorlevel:0
Ich kann mit der Error-Meldung leider nichts anfangen da in der Registry aus die neo42Packages Einträge des Paketes keine weiterer Eintrag zur der Software zu finden ist.
Hier noch ein Ausschnitt aus dem Uninstall-Log:
[Package-Uninstallation] :: Executing [C:\Program Files\RStudio\Uninstall.exe /VERYSILENT /SP- /SUPPRESSMSGBOXES /NOCANCEL /NORESTART /RESTARTEXITCODE=3010 /S /LOG="C:\ProgramData\neo42PkgsLogs\Posit Software\RStudio\2024.12.1\Uninstall.2025-06-24_09-14-05.log"]... Execute-Process 24.06.2025 09:14:14 8468 (0x2114)
[Package-Uninstallation] :: PassThru parameter specified, returning execution results object. Execute-Process 24.06.2025 09:14:14 8468 (0x2114)
[Package-Uninstallation] :: Execution completed successfully with exit code [0]. Execute-Process 24.06.2025 09:14:14 8468 (0x2114)
[Package-Uninstallation] :: Refreshing the Desktop and the Windows Explorer environment process block. Update-Desktop 24.06.2025 09:14:14 8468 (0x2114)
[Package-Uninstallation] :: Checking if application is installed... Test-NxtAppIsInstalled 24.06.2025 09:14:20 8468 (0x2114)
[Package-Uninstallation] :: Getting information for installed Application Name(s) [RStudio]... Get-InstalledApplication 24.06.2025 09:14:20 8468 (0x2114)
[Package-Uninstallation] :: Found installed application [RStudio] version [2024.12.1563] using exact name matching for search term [RStudio]. Get-InstalledApplication 24.06.2025 09:14:20 8468 (0x2114)
[Package-Uninstallation] :: Skipped 50 entries while searching, because they were considered Microsoft updates. Get-InstalledApplication 24.06.2025 09:14:21 8468 (0x2114)
[Package-Uninstallation] :: Excluded [neoPackage Posit Software RStudio 2024.12.1] from the results above. Get-NxtInstalledApplication 24.06.2025 09:14:21 8468 (0x2114)
[Package-Uninstallation] :: Found one application matching UninstallKey [RStudio], UninstallKeyIsDisplayName [True], UninstallKeyContainsWildCards [False] and DisplayNamesToExclude [neoPackage Posit Software RStudio 2024.12.1]. Returning [True]. Test-NxtAppIsInstalled 24.06.2025 09:14:21 8468 (0x2114)
[Package-Uninstallation] :: Uninstallation of 'RStudio' failed. ErrorLevel: 0 Uninstall-NxtApplication 24.06.2025 09:14:21 8468 (0x2114)
[CustomUninstallEndOnError] :: Uninstallation of 'RStudio' failed. ErrorLevel: 0 Exit-NxtScriptWithError 24.06.2025 09:14:21 8468 (0x2114)
[CustomUninstallEndOnError] :: Creating registry key [Registry::HKEY_LOCAL_MACHINE\Software\neoPackages\{042E5261-0F7C-48C8-A35E-E63ACC7C2E90}_Error]. Set-RegistryKey 24.06.2025 09:14:21 8468 (0x2114)
Die Themen hier brachten mit leider keine Lösung.