inno setup一个典型脚本

inno setup一个典型脚本
 
[Setup]
AppName=phpStudy
AppVerName=phpStudy 1.1.5 Build 070312
AppPublisher=phpshao
AppPublisherURL=http://phpshao.cublog.cn
AppSupportURL=http://phpshao.cublog.cn
AppUpdatesURL=http://phpshao.cublog.cn
DefaultDirName={pf}/phpStudy
DefaultGroupName=phpStudy
LicenseFile=aa/aaaa.rtf
;InfoAfterFile=D:/pro/aa/aaaa.rtf
VersionInfoCompany=phpshao
VersionInfoDescription=phpStudy 1.1.5 Build 070312
VersionInfoVersion=1.1.5.0
VersionInfoCopyright=Copyright (C) 2007 By phpshao
;OutputDir=E:/php
OutputBaseFilename=phpStudy5678
UninstallFilesDir={app}/uninst
WizardImageFile =aa.bmp
WizardSmallImageFile =bb.bmp
SetupIconFile=ss.ico
Compression=lzma
SolidCompression=true
[Languages]
Name: chinese; MessagesFile: compiler:Default.isl
Name: english; MessagesFile: compiler:Languages/English.isl
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
[Files]
Source: www/phpinfo.php; DestDir: {code:GetDataDir}; Flags: ignoreversion;
.....................
[Types]
Name: "full"; Description: "完全安装"
Name: "custom"; Description: "自定义安装"; Flags: iscustom
[Components]
Name: "main"; Description: "ePSXe 1.6.0"; Types: full custom; Flags: fixed
Name: "bios"; Description: "BIOS"; Types: full custom
Name: "plugins"; Description: "插件"; Types: full custom
Name: "plugins/video"; Description: "视频插件"; Types: full custom
Name: "plugins/video/pete"; Description: "Pete's GPU 1.75"; Types: full custom
Name: "plugins/video/peops"; Description: "PE.Op.S Soft Driver 1.16"; Types: full custom
Name: "plugins/audio"; Description: "音频插件"; Types: full custom
Name: "plugins/audio/peopsa"; Description: "PE.Op.S Dsound Audio Driver 1.8"; Types: full custom
Name: "plugins/audio/eternal"; Description: "Eternal Spu 1.41"; Types: full custom
[INI]
Filename: {app}/phpshao.url; Section: InternetShortcut; Key: URL; String: http://blog.chinaunix.net/u/19869/
[Icons]
Name: {group}/readme; Filename: {app}/readme.html; Components: jb/ApachePHP
[UninstallDelete]
Type: files; Name: {app}/phpshao.url
Name: {app}/php5/session; Type: filesandordirs
Name: {app}/mysql5/data/ib*; Type: files; Components: jb/mysql5
Name: {app}/mysql5/data/*.err; Type: files; Components: jb/mysql5
[UninstallRun]
Filename: {app}/uninst/uninstalla.bat; WorkingDir: {app}/apache2/bin/; Components: jb/ApachePHP; StatusMsg: 正在卸载服务……
Filename: {app}/uninst/uninstallm.bat; WorkingDir: {app}/mysql5/bin/; Components: jb/mysql5; StatusMsg: 正在卸载服务……
[Messages]
BeveledLabel=phpStudy 1.1.5
 
[Code]
procedure URLLabelOnClick(Sender: TObject);
var
  ErrorCode: Integer;
begin
  ShellExec('open', 'http://phpshao.cublog.cn', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
end;
procedure AboutButtonOnClick(Sender: TObject);           
begin
  MsgBox(#13 'phpStudy 1.1.5' #13 #13'PHP开发集成包,无须配置即可使用!' #13#13 '版权所有(C)
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值