Hallo zusammen,
ich habe über den Package Recorder ein Softwarepaket erstellt. Als ich während dem Erstellungsprozess die Test-Installation durchgeführt habe, ist diese ohne Probleme durchgelaufen. Auch die anschließende Test-Deinstallation ist problemlos durchgelaufen.
Als ich dann schließlich das fertige Paket auf einem Test-PC ausprobiert habe, bekam ich im Log folgenden Eintrag:
<![LOG[[Package-Installation] :: Checking if application is installed...]LOG]!><time="09:58:01.237120" date="07-09-2025" component="Test-NxtAppIsInstalled" context="SLMCCDOM1\otterbjo" type="1" thread="16772" file="Deploy-Application.ps1">
<![LOG[[Package-Installation] :: Getting information for installed Product Code [{187c990c-75cb-43a6-ba79-54aa7b1d6e70}]...]LOG]!><time="09:58:01.243120" date="07-09-2025" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="16772" file="Deploy-Application.ps1">
<![LOG[[Package-Installation] :: Skipped 0 entries while searching, because they were considered Microsoft updates.]LOG]!><time="09:58:01.368120" date="07-09-2025" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="16772" file="Deploy-Application.ps1">
<![LOG[[Package-Installation] :: Found no application based on the supplied parameters.]LOG]!><time="09:58:01.373120" date="07-09-2025" component="Get-InstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="16772" file="Deploy-Application.ps1">
<![LOG[[Package-Installation] :: Excluded [neoPackage ORCA Software ORCA AVA 23.2.1.191] from the results above.]LOG]!><time="09:58:01.378120" date="07-09-2025" component="Get-NxtInstalledApplication" context="SLMCCDOM1\otterbjo" type="1" thread="16772" file="Deploy-Application.ps1">
<![LOG[[Package-Installation] :: Found no application matching UninstallKey [{187c990c-75cb-43a6-ba79-54aa7b1d6e70}], UninstallKeyIsDisplayName [False], UninstallKeyContainsWildCards [False] and DisplayNamesToExclude [neoPackage ORCA Software ORCA AVA 23.2.1.191]. Returning [False].]LOG]!><time="09:58:01.384120" date="07-09-2025" component="Test-NxtAppIsInstalled" context="SLMCCDOM1\otterbjo" type="1" thread="16772" file="Deploy-Application.ps1">
<![LOG[[Package-Installation] :: Installation of 'ORCA AVA' failed. ErrorLevel: 1603]LOG]!><time="09:58:01.402120" date="07-09-2025" component="Install-NxtApplication" context="SLMCCDOM1\otterbjo" type="3" thread="16772" file="Deploy-Application.ps1">
<![LOG[[CustomInstallEndOnError] :: Installation of 'ORCA AVA' failed. ErrorLevel: 1603]LOG]!><time="09:58:01.443120" date="07-09-2025" component="Exit-NxtScriptWithError" context="SLMCCDOM1\otterbjo" type="3" thread="16772" file="Deploy-Application.ps1">
Laut Microsoft-Doku weist dieser Fehler auf eine bestehende Installation hin. Allerdings habe ich vor dem Testen des Pakets extra darauf geachtet, dass die Anwendung nicht installiert ist.
Woran kann das liegen?
LG,
Jonathan