Die Suche ergab 39 Treffer
- 29 Jan 2019, 10:50
- Forum: Freier Support
- Thema: [gelöst, nicht schön, aber gelöst] ExecWith Powershell ExitCode immer 1 statt CustomValue
- Antworten: 15
- Zugriffe: 7044
Re: ExecWith Powershell ExitCode immer 1 statt CustomValue
Ich weiß, dass ich /64bit probiert hatte, es hat aber am Ergebnis nichts geändert, ggf. teste ich auch nochmal mit sysnative...
- 29 Jan 2019, 09:20
- Forum: Freier Support
- Thema: [gelöst, nicht schön, aber gelöst] ExecWith Powershell ExitCode immer 1 statt CustomValue
- Antworten: 15
- Zugriffe: 7044
Re: ExecWith Powershell ExitCode immer 1 statt CustomValue
Ich hab das jetzt "von hinten durch dir Brust ins Auge" gelöst, indem ich das Powershell-Script als ps1-Datei ausgelagert habe und per DosInsAnIcon aufrufe. Jedenfalls ist seltsam, dass das Script bei "ExecWith" die Fehlercodes nicht durchreicht. Ich notiere mir das mal für den n...
- 28 Jan 2019, 19:19
- Forum: Freier Support
- Thema: [gelöst, nicht schön, aber gelöst] ExecWith Powershell ExitCode immer 1 statt CustomValue
- Antworten: 15
- Zugriffe: 7044
Re: ExecWith Powershell ExitCode immer 1 statt CustomValue
Wird anderweitig gesetzt, die Policy spielt auch gerade keine Rolle...
- 28 Jan 2019, 18:55
- Forum: Freier Support
- Thema: [gelöst, nicht schön, aber gelöst] ExecWith Powershell ExitCode immer 1 statt CustomValue
- Antworten: 15
- Zugriffe: 7044
Re: ExecWith Powershell ExitCode immer 1 statt CustomValue
Hi, vielen Dank für die Antwort, aber ich denke, ich habe das Handbuch schon verstanden.
Ich brauche nicht 0 oder 1, das Script soll auch keinen Fehler werfen (eine nicht unterstützte Plattform liefert 0)
Ich brauche die angegebenen Werte und erwarte, dass die Exitcodes durchgereicht werden.
Ich brauche nicht 0 oder 1, das Script soll auch keinen Fehler werfen (eine nicht unterstützte Plattform liefert 0)
Ich brauche die angegebenen Werte und erwarte, dass die Exitcodes durchgereicht werden.
- 24 Jan 2019, 16:33
- Forum: Freier Support
- Thema: [gelöst, nicht schön, aber gelöst] ExecWith Powershell ExitCode immer 1 statt CustomValue
- Antworten: 15
- Zugriffe: 7044
[gelöst, nicht schön, aber gelöst] ExecWith Powershell ExitCode immer 1 statt CustomValue
Hallo Forum, Ich habe folgendes Script: [Actions] DefVar $exitcode$ ExecWith_getTargetSystem "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set $exitcode$ = getlastexitcode LogError $exitcode$ if ($exitcode$ = "540") sub "%SCRIPTPATH%\t540.opsiscript" endif...
- 08 Sep 2017, 12:19
- Forum: Freier Support
- Thema: installations-sources weg
- Antworten: 4
- Zugriffe: 3124
Re: installations-sources weg
Ist wieder online
- 03 Aug 2017, 15:16
- Forum: Bugs
- Thema: opsi-setup-detector: setup.opsiscript NSIS InstallBatch-String Zeile 92
- Antworten: 2
- Zugriffe: 2717
opsi-setup-detector: setup.opsiscript NSIS InstallBatch-String Zeile 92
Alle Versuche, meine NSIS-paketierten Programme in ein bestimmtes Verzeichnis zu installieren schlugen fehl, bis ich in der Doku von NSIS /D sets the default installation directory ($INSTDIR), overriding InstallDir and InstallDirRegKey. It must be the last parameter used in the command line and must...
- 03 Aug 2017, 15:12
- Forum: OPSI PackageBuilder
- Thema: NSIS InstallBatch-String Zeile 92
- Antworten: 3
- Zugriffe: 3798
Re: NSIS InstallBatch-String Zeile 92
Verflixt! Ich bitte um Entschuldigung. Ich poste das im Bug Forum.
- 03 Aug 2017, 09:16
- Forum: OPSI PackageBuilder
- Thema: NSIS InstallBatch-String Zeile 92
- Antworten: 3
- Zugriffe: 3798
NSIS InstallBatch-String Zeile 92
Alle Versuche, meine NSIS-paketierten Programme in ein bestimmtes Verzeichnis zu installieren schlugen fehl, bis ich in der Doku von NSIS /D sets the default installation directory ($INSTDIR), overriding InstallDir and InstallDirRegKey. It must be the last parameter used in the command line and must...