MSI实现SILENT安装自动化
来源:互联网 发布:suse linux 网关 编辑:程序博客网 时间:2024/06/05 08:23
本机silent安装自动化:
1
2
3
4
5
6
' 本机机器silent安装软件
Const
ALL_USERS =
True
Set
objService = GetObject(
"winmgmts:"
)
Set
objSoftware = objService.
Get
(
"Win32_Product"
)
errReturn = objSoftware.Install(
"c:\iquicktest.msi"
, , ALL_USERS)
远程Silent安装自动化:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
' 远程silent安装软件
Computer =
"MyPC"
user =
"MyPC\administrator"
pwd =
"password"
Const
wbemImpersonationLevelDelegate = 4
Set
objWbemLocator = CreateObject(
"WbemScripting.SWbemLocator"
)
Set
objConnection = objwbemLocator.ConnectServer _
(Computer,
"root\cimv2"
, user, _
pwd)
objConnection.Security_.ImpersonationLevel = wbemImpersonationLevelDelegate
Set
objSoftware = objConnection.
Get
(
"Win32_Product"
)
errReturn = objSoftware.Install(
"\\shared\Setup\iquicktest.msi"
,,
True
)
0 0
- MSI实现SILENT安装自动化
- weblogic silent mode安装
- Oracle Silent Installations(静默安装)
- Oracle Silent Installations(静默安装)
- oracle 10G silent安装
- Oracle Silent Install 静默安装
- Oracle Silent Installations(静默安装)
- Oracle Silent Installations(静默安装)
- 静默(silent)安装Oracle错误
- linux silent模式安装 WebLoigc
- MSI安装数据库
- MSI安装数据库
- 自定义MSI 安装
- 自定义MSI 安装
- msi 安装乱码
- 自定义MSI 安装
- msi打包安装
- NSIS安装msi文件
- Codeforces Round #286 (Div. 1) B. Mr. Kitayuta's Technology 连通分量 拓扑排序
- Java线程:新特征-阻塞队列
- Win7 64位自动更新IE10后打不开的解决方案
- 数组类型
- C++完成DPM
- MSI实现SILENT安装自动化
- Java线程:新特征-阻塞栈
- commons-logging和log4j
- 鼠标事件
- bzoj 2243 染色 树链剖分 好题!
- LA3887 最小生成树 枚举最小边
- django model filter 条件过滤
- Android基础系列----------- 资源适配
- Linux下的MySQL简单操作(服务启动与关闭、启动与关闭、查看版本)