我下了个Inno Setup 5.2.3 ,我的VB程序里面有个文件夹,怎么做成安装软件啊?
我下了个InnoSetup5.2.3,我的VB程序里面有个文件夹,怎么做成安装软件啊?要求用户安装的时候也要把文件夹安装进去!非常非常谢谢!!!!!!!!!!!!!!!!...
我下了个Inno Setup 5.2.3 ,我的VB程序里面有个文件夹,怎么做成安装软件啊?
要求用户安装的时候也要把文件夹安装进去!
非常非常谢谢!!!!!!!!!!!!!!!!!!!!!!!!!!
这么多,看不懂哦. 我要的是具体怎么操作啊!!!
非常非常非常谢谢 展开
要求用户安装的时候也要把文件夹安装进去!
非常非常谢谢!!!!!!!!!!!!!!!!!!!!!!!!!!
这么多,看不懂哦. 我要的是具体怎么操作啊!!!
非常非常非常谢谢 展开
1个回答
展开全部
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"
或用以下脚本:
[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"
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询