本帖最后由 vxpdisk 于 2010-1-4 20:39 编辑
我有10个微软补丁想采用默认安装方式,加配合进度条和%分比怎么实现,望高手指点。。
静默安装补丁大侠们都知道。。这些参数在进度条哪里这么写!!#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("系统补丁自动安装", 396, 148, 192, 114)
$Group1 = GUICtrlCreateGroup("系统补丁自动安装", 8, 8, 377, 129)
$Progress1 = GUICtrlCreateProgress(16, 56, 337, 41)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
For $I = 1 To 10
GUICtrlSetData($Progress1,$I&"0")
Next
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
|