找回密码
 加入
搜索
查看: 3054|回复: 3

[原创] 软件安装器的脚本怎么写

[复制链接]
发表于 2014-3-31 16:02:49 | 显示全部楼层 |阅读模式
制作软件安装器的脚本怎么写呀
发表于 2014-4-1 13:08:20 | 显示全部楼层
这个问题也太笼统了吧
 楼主| 发表于 2014-4-1 22:31:24 | 显示全部楼层
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <GuiStatusBar.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Opt("GUIOnEventMode", 1)
#Region ### START Koda GUI section ### Form=
Global $Form1 = GUICreate("软件安装管理器V2.0", 567, 421, 223, 124)
GUISetOnEvent($GUI_EVENT_CLOSE, "Form1Close")
GUISetOnEvent($GUI_EVENT_MINIMIZE, "Form1Minimize")
GUISetOnEvent($GUI_EVENT_MAXIMIZE, "Form1Maximize")
GUISetOnEvent($GUI_EVENT_RESTORE, "Form1Restore")
Global $Label1 = GUICtrlCreateLabel("", 384, 36, 20, 4)
GUICtrlSetOnEvent(-1, "Label1Click")
Global $Label2 = GUICtrlCreateLabel("常用软件", 16, 104, 52, 17)
GUICtrlSetOnEvent(-1, "Label2Click")
Global $Group1 = GUICtrlCreateGroup("Group1", 8, 128, 345, 129)
Global $Radio1 = GUICtrlCreateRadio("1  一号软件名称", 16, 152, 129, 17)
GUICtrlSetFont(-1, 9, 400, 0, "仿宋")
GUICtrlSetOnEvent(-1, "Form1Close")
Global $Radio2 = GUICtrlCreateRadio("3  3号软件名称", 178, 144, 129, 17)
GUICtrlSetFont(-1, 9, 400, 0, "仿宋")
GUICtrlSetOnEvent(-1, "Form1Close")
Global $Radio3 = GUICtrlCreateRadio("4 四号软件名称", 178, 184, 129, 17)
GUICtrlSetFont(-1, 9, 400, 0, "仿宋")
GUICtrlSetOnEvent(-1, "Form1Close")
Global $Radio4 = GUICtrlCreateRadio("2 二号软件名称", 16, 184, 129, 17)
GUICtrlSetFont(-1, 9, 400, 0, "仿宋")
GUICtrlSetOnEvent(-1, "Form1Close")
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Label4 = GUICtrlCreateLabel("安装方式", 432, 104, 52, 17)
GUICtrlSetOnEvent(-1, "Label4Click")
Global $Group2 = GUICtrlCreateGroup("Group2", 400, 128, 177, 137)
Global $Radio5 = GUICtrlCreateRadio("选择全部", 412, 144, 113, 17)
GUICtrlSetOnEvent(-1, "Radio5Click")
Global $Radio6 = GUICtrlCreateRadio("全部清空", 412, 169, 113, 17)
GUICtrlSetOnEvent(-1, "Radio6Click")
Global $Radio7 = GUICtrlCreateRadio("常用软用", 412, 195, 113, 17)
GUICtrlSetOnEvent(-1, "Radio7Click")
Global $Radio8 = GUICtrlCreateRadio("可选软件", 412, 228, 113, 17)
GUICtrlSetOnEvent(-1, "Radio8Click")
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Label5 = GUICtrlCreateLabel("软件详细信息", 24, 280, 76, 17)
GUICtrlSetOnEvent(-1, "Label5Click")
Global $Label3 = GUICtrlCreateLabel("这里是软件的提示信息", 48, 312, 124, 17)
GUICtrlSetOnEvent(-1, "Label3Click")
Global $Button1 = GUICtrlCreateButton("点击选 择软件安装路径 (F)", 376, 352, 147, 25)
GUICtrlSetOnEvent(-1, "Button1Click")
Global $Progress1 = GUICtrlCreateProgress(40, 368, 225, 25)
Global $StatusBar1 = _GUICtrlStatusBar_Create($Form1)
Global $List1 = GUICtrlCreateList("", 368, 312, 169, 19)
GUICtrlSetOnEvent(-1, "List1Click")
Global $Pic1 = GUICtrlCreatePic("C:\Users\Administrator\Desktop\11111.jpg", 0, 0, 593, 89)
GUICtrlSetOnEvent(-1, "Pic1Click")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
 楼主| 发表于 2014-4-1 22:31:35 | 显示全部楼层
怎么打不开呀
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-12-22 11:05 , Processed in 0.075515 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表