Inno Setup安装美化

//在Setup下面添加以下代码
//卸载图标
UninstallDisplayIcon=
DisableWelcomePage= no

;右上角图片背景颜色
 
WizardSmallImageBackColor=clBlue
 
;右边图片背景颜色
 
WizardImageBackColor=clBlue
 
;左边图片是否拉伸 - yes;no
 
WizardImageStretch=no
 
;左边图片,图片尺寸大小参考inno安装目录下的WizClassicImage.bmp等文件
 
WizardImageFile=C:\Documents and Settings\Administrator\桌面\smqh\Left.bmp
 
;右上角图片,图片尺寸大小参考inno安装目录下的WizClassicSmallImage.bmp等文件
 
WizardSmallImageFile=C:\Documents and Settings\Administrator\桌面\smqh\topsmall.bmp

[code]
//如何让协议许可页面默认选中我同意按钮以及任意设置右上角图片位置和大小
procedure InitializeWizard();
begin
WizardForm. LICENSEACCEPTEDRADIO.Checked := true;
end;
//run下面
Filename: "www.m1z.cn" ; Flags: shellexec

checkablealone

发表评论