简体   繁体   English

安装exe文件-VBSCript

[英]Installing an exe file -VBSCript

I use the following command to run a exe file which is in the network drive through a vbscript:我使用以下命令通过 vbscript 运行网络驱动器中的 exe 文件:

wsh.Run """\\lonmsc01\apps$\EWebEditPro\Version 4\ewebeditproclient4.exe"""

This installation pops up with dialog boxes to choose the setup type As Resintall or Remove and proceeds on by clicking on Next to finish the set up.此安装会弹出对话框以选择安装类型 As ResintallRemove ,然后单击Next继续完成设置。

Is there any way I could disable the UI and install it silently?有什么办法可以禁用UI并静默安装它?

Depends on what setup utility was used.取决于使用的设置实用程序。 Mose installers have a silent or quiet operator. Mose 安装人员有一个安静或安静的操作员。 Try calling the setup with the parameter /?尝试使用参数/? , it might tell which parameters you can pass him. ,它可能会告诉你可以传递给他哪些参数。 Or you just try different switches, like /silent , /quiet etc.或者您只是尝试不同的开关,例如/silent/quiet等。

The whole idea of using vbscript to silently install software is a bad idea.使用 vbscript 静默安装软件的整个想法是一个坏主意。 User interaction or at least user notification should be involved in all software installations unless you're a network admin using an Enterprise management tool.除非您是使用企业管理工具的网络管理员,否则所有软件安装都应涉及用户交互或至少用户通知。 This struck me as sneaky, so I did a search for the exe you mentioned.这让我觉得很狡猾,所以我搜索了你提到的 exe。

A quick google search indicates this may be malware you're trying to install... At least according to the Prevx site, it's listed as potential spyware.快速谷歌搜索表明这可能是您尝试安装的恶意软件...至少根据 Prevx 站点,它被列为潜在的间谍软件。 You're not asking us for help in silently installing malware, are you?您不是在向我们寻求帮助以静默安装恶意软件,是吗?

At any rate, even if this is legit (which it probably is) it's a bad idea.无论如何,即使这是合法的(可能是),这也是一个坏主意。 In today's world, silent installs should be completely disallowed.在当今世界,应该完全禁止静默安装。

http://spywarefiles.prevx.com/spywarefilesweek.asp?mk=43998135 http://spywarefiles.prevx.com/spywarefilesweek.asp?mk=43998135

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM