是否可以被动安装.EXE但仍使用Powershell显示GUI? [英] Is it possible to passively install an .EXE but still show the GUI using Powershell?

查看:115
本文介绍了是否可以被动安装.EXE但仍使用Powershell显示GUI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题说的差不多,是否可以使用Powershell被动/静默安装.EXE,但仍然显示安装程序GUI?我希望自动单击下一个,但仍希望GUI显示为某种进度指示器.

Pretty much what the title says, is it possible to passively/silently install an .EXE using Powershell but still have the installer GUI show? I'd want the next's "clicked" automatically but would still like the GUI to be shown as sort of a progress indicator.

推荐答案

UPDATE :有一个适用于Windows Installer的Powershell模块.与处理 Powershell的怪癖相比,它可以更轻松地运行等效于msiexec.exe的命令.

UPDATE: There is a Powershell module for Windows Installer. It can help to run msiexec.exe equivalent commands in easier fashion than to deal with Powershell's quirks.


MSI? :如果这是EXE包装程序中的MSI,则通常可以使用以下方法.如果它只是一个普通的EXE文件,则应重新打包为Painter答复-或在可能的情况下使用正确的开关以静默方式运行它.


MSI?: If this is an MSI inside an EXE wrapper, then the below will generally work. If it is just a normal EXE file you should repackage as Painter answers - or run it silently with the correct switches - if possible.

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆