我下了个Inno Setup 5.2.3 ,我的VB程序里面有个文件夹,怎么做成安装软件啊?
\u6211\u4e0b\u4e86\u4e2aInno Setup 5.2.3 ,\u600e\u4e48\u628a\u6211\u7684VB\u7a0b\u5e8f\u505a\u6210\u5b89\u88c5\u8f6f\u4ef6\u554a?VB\u81ea\u5e26\u6709\u5c01\u88c5\u7a0b\u5e8f\u5440\uff01
\u5982\u679c\u7a0b\u5e8f\u662f\u786c\u76d8\u7248\u7684\uff0c\u53ea\u9700\u8981\u628a\u5b89\u88c5\u76ee\u5f55\u62f7\u51fa\u6765\uff0c\u7528\u4e00\u4e2a\u5b89\u88c5\u7a0b\u5e8f\u751f\u6210\u8f6f\u4ef6\uff0c\u6839\u636e\u63d0\u793a\u751f\u6210\u5373\u53ef\uff0c\u4f46\u662f\u5982\u679c\u7a0b\u5e8f\u6709\u5f88\u591a\u5f80\u6ce8\u518c\u8868\u4e2d\u5199\u7684\u4e1c\u897f\uff0c\u800c\u4e14\u6ca1\u6709\u8fd9\u4e9b\u4e1c\u897f\u5c31\u65e0\u6cd5\u8fd0\u884c\u7684\u8bdd\uff0c\u90a3\u4e48\u8fd9\u79cd\u65b9\u6cd5\u662f\u884c\u4e0d\u901a\u7684\uff0c\u53ef\u80fd\u53ea\u6709\u9ad8\u624b\u624d\u80fd\u529e\u5230\u5427\u3002
Inno Setup 有自动生成向导的吧.或用以下脚本:
[Languages]
;安装程序界面所使用的语言(优先使用第一项)
Name: "chs"; MessagesFile: "compiler:Default.isl"
;Name: "en"; MessagesFile: "compiler:Languages\English.isl"
[CustomMessages]
;自定义变量, 使用方式: {cm:name}
softName=易语言汉语编程环境
versoin=V4.00
setupName=易语言汉语编程环境 V4.00
website=易语言俱乐部网站
wwwcom=http://bbs.eyuyan.com
bbs=易语言俱乐部论坛
copyright=版权所有[2000-2009] 易语言公司软件出品
install_uninstall_dog_driver=运行加密狗驱动
uninstall_e=卸载易语言
execute=启动
;桌面启动程序
info=易语言启动程序
whatisnew=易语言升级历程
[Setup]
;安装选项
AppName={cm:setupName}安装程序
AppVerName={cm:setupName}
AppCopyright={cm:copyright}
;以下显示于系统添加删除程序对话框中
AppVersion={cm:versoin}
AppPublisher={cm:softName}
AppPublisherURL={cm:wwwcom}
AppSupportURL={cm:wwwcom}
AppUpdatesURL={cm:wwwcom}
;安装程序可执行文件(setup.exe)的描述(右键-属性)
VersionInfoDescription=易语言安装程序
VersionInfoVersion=4.0.0.0
VersionInfoCompany=易语言http://www.dywt.com.cn
VersionInfoTextVersion=易语言汉语编程系统V1.00
VersionInfoCopyright=易语言软件版权所有http://www.dywt.com.cn
;在用户机器上的默认安装目录为 Program fils\e
DefaultDirName={pf}\e
DefaultGroupName={cm:setupName}
AllowNoIcons=yes
;SourceDir表示被安装文件之所在目录。默认值为本脚本文本所有目录, "e\"表示本脚本文件所在目录的"e"子目录
SourceDir=SETUP\
;许可文件,README文件
LicenseFile=license.txt
InfoBeforeFile=readme.txt
;此处指定了最终生成的安装程序的路径和文件名(".."表示Setup段中SourceDir属性所指定的目录之上层目录, 文件名将自动添加".exe")
;输出目录实际上就是本文件所有目录
OutputDir=".."
OutputBaseFilename=!易语言安装包
;压缩方式
Compression=lzma
;Compression=zip
SolidCompression=yes
;显示安装程序背景窗口
WindowVisible=yes
;安装对话框中的左侧图片
WizardImageFile=..\setup.bmp
;WizardImageFile=compiler:WizModernImage.bmp
;IconFilename: "{app}\myicon.ico"
;IconIndex: 0
[Types]
;安装方式
Name: "full"; Description: "全部安装"
;Name: "normal"; Description: "易语言支持库"
;Name: "compact"; Description: "精简安装"
;Name: "custom"; Description: "自定义安装"; Flags: iscustom
[Components]
;细化要安装的各项内容
Name: "eLOGO"; Description: "易语言"; Types: full ; Flags: fixed disablenouninstallwarning
;Name: "lib"; Description: "演示版主程序"; Flags: disablenouninstallwarning
;Name: "lib\tech"; Description: "学习教程"; Types: full normal compact custom; Flags: fixed disablenouninstallwarning
;Name: "lib\sample"; Description: "子程序例程"; Types: full normal custom; Flags: disablenouninstallwarning
;Name: "lib\e"; Description: "易语言例程"; Types: full normal custom; Flags: disablenouninstallwarning
;Name: "photo"; Description: "升级支持库"; Flags: disablenouninstallwarning
;Name: "photo\t"; Description: "支持库"; Types: full normal custom; Flags: disablenouninstallwarning
[Files]
;指定要安装的文件和目录(路径相对于Setup段的SourceDir属性)
;注意: 不要对任何共享系统文件中使用“Flags: ignoreversion”
;IDE
Source: "*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: eLOGO
;支持库
;Source: "学习教程\*.*"; DestDir: "{app}\学习教程"; Flags: ignoreversion; Components: lib\tech
;Source: "子程序例程\*.*"; DestDir: "{app}\子程序例程"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: lib\sample
;Source: "易语言例程\*.*"; DestDir: "{app}\易语言例程"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: lib\e
;Source: "对象图库\*.*"; DestDir: "{app}\对象图库"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: photo\t
[Tasks]
;桌面/快速启动栏快捷方式
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Icons]
;图标
Name: "{group}\易语言"; Filename: "{app}\e.exe"; Comment:{cm:info};
Name: "{group}\{cm:website}"; Filename: "{app}\website.url";
Name: "{group}\{cm:bbs}"; Filename: "{app}\bbs.url";
Name: "{group}\{cm:uninstall_e}"; Filename: "{uninstallexe}";
Tasks: desktopicon; Comment:{cm:info};
;tskill.exe 杀毒已存在的系统进程或系统服务
[Run]
;安装完毕后运行
Filename: "{app}\e.exe"; Description: "{cm:execute} {cm:setupName}"; Flags: nowait postinstall skipifsilent
[INI]
;创建两个internet快捷方式
Filename: "{app}\website.url"; Section: "InternetShortcut"; Key: "URL"; String: "{cm:wwwcom}"
Filename: "{app}\bbs.url"; Section: "InternetShortcut"; Key: "URL"; String: "{cm:wwwcom}"
[UninstallDelete]
;反安装时删除额外创建的internet快捷方式
Type: files; Name: "{app}\website.url"
Type: files; Name: "{app}\bbs.url"
扩展阅读:韩国macbookpro ... bios flash update ... mex setup ... advanced installer ... inno setup 中文版下载 ... order black cartridge ... default boot device ... warning battery is low ... continue setup ...