我正在尝试使用 powershell 安装 .exe 文件。但是我找不到在安装时选择复选框的方法。有人知道怎么做吗?

问题描述 投票:0回答:0

$exePath = "C:\Users dminuser\Downloads\Apache-NetBeans-17-bin-windows-x64.exe" 启动进程 $exePath

等待“下一步”按钮可用

开始睡眠 - 秒 20 #while (-not System.Windows.Forms.SendKeys::Wait("{TAB}")) {}

点击“下一步”按钮

接下来我需要选择复选框,但我没有找到选择它的代码。 请找到下图以供参考

enter image description here

我正在尝试自动安装 Netbeans

netbeans
© www.soinside.com 2019 - 2024. All rights reserved.