因为贴代码会乱(WP就这个不好),大家打开这里看(为方便查看,我设置为txt文件):innosetup-ppl

如果安装后的运行程序需要带参数才行(如模拟器加载游戏包),这个问题困扰了我一阵子,最后查到,可以这样:

[Run]
Filename: "{app}\mame32k.exe"; Parameters: "pbobble4.zip"; Description: "{cm:LaunchProgram,泡泡龙4}"; Flags: shellexec postinstall skipifsilent

在运行程序的后面,加Parameters参数即可。

更详细的例子可以看这个:vbisssample

Inno Setup 是一个简单应用、完全免费的软件,官方:http://www.innosetup.com/isinfo.php

Tags:

This entry was posted on Friday, July 17th, 2009 at 5:03 pm and is filed under 代码编程. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One comment

 1 

WizardImageFile=C:\Program Files\Codejock Software\ISSkin\Styles\Office2007.bmp

用WizardImageFile可以设置安装界面上的图片。

July 19th, 2009 at 9:10 am

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment