Hallo Alf,
ich bin es nochmal. Ich habe leider nun andere Probleme mit dem SAP Gui Paket. Bin mir nicht sicher woran es genau liegt. Ich bekomme unterschiedlichste Fehler. Vielleicht hast du noch einen Tip für mich. Ich versuche unsere situation mal zu beschreiben.
Produktiv haben wir noch die SAP Gui 7.60 (mit dem alten Service Portal Client paketiert) im Einsatz.
Einige Clients haben bereits vor einiger Zeit die SAP Gui 8.00 als Update installiert bekommen (ebenfalls mit dem Service Portal Client paketiert).
Dabei wurde festgestellt das Bestandteile in der SAP Gui fehlen.
Daher meine Frage von oben bzgl. einer Internen Versionierung in einem neuen Paket, mit der SAP GUI Version 8.00 als Verision 8.01 mit APC paketiert.
Ich teste nun also diverse Konstellationen (deinstallation/reinstallation/installation) und bekomme diverse Fehler.
Ich kann nicht so richtig einordnen wann welcher Fehler kommt.
- SAP SAPGui 8.01 8.01 0 Update Failure PSADT:Installation of ‚SAPGui‘ failed. ErrorLevel: 145
Aber auch Errorlevel 70 beim deinstallieren.
Gibt es eine möglichkeit in der json datei dafür zur sorgen das alles vorherige deinstalliert wird.
Ich habe es schon mit „UninstallOld“: true, versucht.
Leider Ohne Erfolg.
hier die aktuell genutze json datei:
Blockzitat
{
„ConfigVersion“: „2023.10.31.1“,
„ScriptAuthor“: „neo42 GmbH“,
„ScriptDate“: „12/10/2023“,
„InventoryID“: „rkh6527E830“,
„Description“: „SAP SAPGui 8.00 Compilation 1“,
„InstallMethod“: „Setup“,
„UninstallMethod“: „Setup“,
„ReinstallMode“: „Install“,
„MSIInplaceUpgradeable“: false,
„MSIDowngradeable“: false,
„SoftMigration“: {
„File“: {
„FullNameToCheck“: „“,
„VersionToCheck“: „“
}
},
„TestedOn“: „Win10 x86 Win10 x64, Win11 x64“,
„Dependencies“: „Microsoft .NET Framework 4.0, Depending on your package-selection e.g. MS Office“,
„LastChange“: „12/02/2024“,
„Build“: „0“,
„AppArch“: „*“,
„AppVendor“: „SAP“,
„AppName“: „SAPGui“,
„AppVersion“: „8.01“,
„AppRevision“: „0“,
„AppLang“: „MUI“,
„ProductGUID“: „{04205D7D-291A-42B4-BC3F-7211FFEF8A95}“,
„RemovePackagesWithSameProductGUID“: false,
„PackageGUID“: „{04206230-AAD9-49FA-B1D8-60D3A883690D}“,
„DependentPackages“: [
{
„GUID“: „{042CB466-EC7A-4872-BC02-5D1ADC394681}“,
„DesiredState“: „Absent“,
„OnConflict“: „Fail“,
„ErrorMessage“: „SAPGui 64bit package has to be uninstalled before this installation can proceed!“
}
],
„RegPackagesKey“: „neoPackages“,
„UninstallDisplayName“: „neoPackage $($global:PackageConfig.AppVendor) $($global:PackageConfig.appName) $($global:PackageConfig.appVersion)“,
„AppRootFolder“: „neo42Pkgs“,
„App“: „$($global:PackageConfig.AppRootFolder)\$($global:PackageConfig.appVendor)\$($global:PackageConfig.AppName)\$($global:PackageConfig.AppVersion)“,
„UninstallOld“: true,
„Reboot“: 0,
„UserPartOnInstallation“: false,
„UserPartOnUninstallation“: false,
„UserPartRevision“: „2024,02,12,01“,
„HidePackageUninstallButton“: false,
„HidePackageUninstallEntry“: false,
„DisplayVersion“: „8.00 Compilation 1“,
„InstallerVersion“: „“,
„UninstallKey“: „SAPGUI“,
„UninstallKeyIsDisplayName“: false,
„UninstallKeyContainsWildCards“: false,
„UninstallKeyContainsExpandVariables“: false,
„DisplayNamesToExcludeFromAppSearches“: [
„$($global:PackageConfig.UninstallDisplayName)“
],
„InstallLocation“: „$($global:ProgramFilesDirx86)\SAP“,
„InstLogFile“: „$($global:AppLogFolder)\Install.$global:DeploymentTimestamp.log“,
„UninstLogFile“: „$($global:AppLogFolder)\Uninstall.$global:DeploymentTimestamp.log“,
„InstFile“: „$dirFiles\setup\NwSAPsetup.exe“,
„InstPara“: „/Silent /Package="%SAPPACKAGE%"“,
„AppendInstParaToDefaultParameters“: true,
„AcceptedInstallExitCodes“: „“,
„AcceptedInstallRebootCodes“: „129,130“,
„UninstFile“: „$($global:PackageConfig.installLocation)\SAPsetup\setup\NwSapSetup.exe“,
„UninstPara“: „/Silent /Uninstall /Package="%SAPPACKAGE%" /IgnoreMissingProducts“,
„AppendUninstParaToDefaultParameters“: true,
„AcceptedUninstallExitCodes“: „“,
„AcceptedUninstallRebootCodes“: „129,130“,
„AppKillProcesses“: [
{
„Name“: „SAPLogon.exe“,
„Description“: „SAP Logon 800“
},
{
„Name“: „sapsettingsshow.exe“,
„Description“: „SAP Settings“
}
],
„BlockExecution“: false,
„TestConditionsPreSetupSuccessCheck“: {
„Install“: {
„TotalSecondsToWaitFor“: 30,
„ProcessOperator“: „And“,
„ProcessesToWaitFor“: ,
„RegKeyOperator“: „And“,
„RegKeysToWaitFor“:
},
„Uninstall“: {
„TotalSecondsToWaitFor“: 30,
„ProcessOperator“: „And“,
„ProcessesToWaitFor“: ,
„RegKeyOperator“: „And“,
„RegKeysToWaitFor“:
}
},
„CommonDesktopShortcutsToDelete“: [
„SAP Logon.lnk“,
„SAP Business Client 8.00.lnk“
],
„CommonStartMenuShortcutsToCopyToCommonDesktop“: [
{
„Source“: „Programs\SAP Front End\SAP Logon.lnk“,
„TargetName“: „SAP Logon.lnk“
}
],
„UninstallKeysToHide“: [
{
„KeyName“: „$($global:PackageConfig.UninstallKey)“,
„Is64Bit“: false,
„KeyNameIsDisplayName“: „$($global:PackageConfig.UninstallKeyIsDisplayName)“,
„KeyNameContainsWildCards“: „$($global:PackageConfig.UninstallKeyContainsWildCards)“,
„DisplayNamesToExcludeFromHiding“: [
„$($global:PackageConfig.UninstallDisplayName)“
]
}
],
„PackageSpecificVariablesRaw“: [
{
„Name“: „UpdatePara“,
„Value“: „/Silent /Update /Package="%SAPPACKAGE%"“,
„ExpandVariables“: false
}
]
}