![]() |
AW: Delphi Silent Installation / EULA Abfrage umgehen
löst Powershell mein Problem , kann ich damit das Y an die Eula abfrage senden ?
Powershell nennt sich auf meinem System pscore6....
Delphi-Quellcode:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users> |
AW: Delphi Silent Installation / EULA Abfrage umgehen
wir haben schon sehr viel Aufwand für die Suche nach einer Lösung spendiert,
hat jemand eine bessere Idee ? Direkt gestartet geht der Ansatz aber nicht im Batch Script mode für Puppet und JENKINS zusammen
Delphi-Quellcode:
@if (@CodeSection == @Batch) @then @echo off rem Use %SendKeys% to send keys to the keyboard buffer set SendKeys=CScript //nologo //E:JScript "%~F0" start "" /B radstudio_10_4_esd_104203a.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SLIPFILE=concurrent_000000.slip /FEATURES=delphi_windows ping -n 10 -w 1 127.0.0.1 > NUL %SendKeys% "Y" rem Wait for 10 minutes until installation is done and kill sdksetup.exe in case it appears rem Feel free to remove these steps in case they are not required or to change the waiting time ping -n 600 -w 1 127.0.0.1 > NUL taskkill /f /im sdksetup.exe >nul 2>&1 goto :EOF @end // JScript section var WshShell = WScript.CreateObject("WScript.Shell"); WshShell.SendKeys(WScript.Arguments(0)) |
AW: Delphi Silent Installation / EULA Abfrage umgehen
Hat der Installer, bzw. dessen Console auch den Fokus, damit die Taste dort landet?
und sicher, dass dein "Script" wirklich richtig ausgeführt wird? Warum zwei // und keiner prüft die Rückgabewerte ping ->
Delphi-Quellcode:
timeout /t 10
|
AW: Delphi Silent Installation / EULA Abfrage umgehen
Zitat:
![]() Jenkins kann auch PowerShell-Skripte ausführen, ggf. braucht man noch das passende Plugin dazu. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:43 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz