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

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

  
/* Upgrades a hypothetical software installation */
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colsoftware = objwmiservice~execquery("Select * from Win32__Product Where Name = 'Personnel Database'")
DO objsoftware OVER colsoftware
	errreturn = objsoftware~upgrade("c:\scripts\database2.msi")
END
RETURN
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2022-12-8  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16