Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Applications / Client Applications / InstallRemote.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/* Installs a hypothetical software program (using a Windows Installer
 * package) on a remote computer. Requires delegation for the computer
 * and user accounts involved in the procedure. 
 */
wbemimpersonationleveldelegate = 4
objwbemlocator = createcomobject("WbemScripting.SWbemLocator")
objconnection = objwbemlocator~connectserver("WebServer", "root\cimv2", "fabrikam\administrator", "password", , "kerberos:WebServer")
objconnection.security_~impersonationlevel = wbemimpersonationleveldelegate()
objsoftware = objconnection~get("Win32_Product")
errreturn = objsoftware~install("\\atl-dc-02\scripts\1561_lab.msi", , "True")
掌柜推荐
 
 
¥1,800.00 ·
 
 
¥489.00 ·
 
 
¥288.00 ·
 
 
¥908.00 ·
 
 
¥748.00 ·
 
 
¥264.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16