; 脚本用 Inno Setup 脚本向导生成。
; 查阅文档获取创建 INNO SETUP 脚本文件详细资料!

[Setup]
AppName=FreeCommunication (嘻嘻) 客户端
AppVerName=FreeCommunication (嘻嘻) 客户端 Ver 7.8
AppPublisher=期翼软件
AppPublisherURL=http://www.qiyicc.com
AppSupportURL=http://www.qiyicc.com
AppUpdatesURL=http://www.qiyicc.com
DefaultDirName={pf}\qiyicc
DefaultGroupName=qiyicc
LicenseFile=E:\Work\P2P Ver7.0\Bin\Release\Client\License.txt
InfoBeforeFile=E:\Work\P2P Ver7.0\Bin\Release\Client\Readme.txt
OutputBaseFilename=客户端安装
Compression=lzma
SolidCompression=yes
WizardImageFile="E:\Work\Setup\background.bmp"

[Languages]
Name: "chi"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\swscale-3.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\avutil-54.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\swresample-1.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\postproc-53.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\avcodec-56.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\avformat-56.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\avfilter-5.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\avdevice-56.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\libx264-148.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\libiconv-2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\pthreadGC2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\FcmClient.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\FcmSipAgent.ocx"; DestDir: "{app}"; Flags: replacesameversion sharedfile regserver
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\WmPlayer.ocx"; DestDir: "{app}"; Flags: replacesameversion sharedfile regserver
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\FcmWhiteboard.ocx"; DestDir: "{app}"; Flags: replacesameversion sharedfile regserver
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\FcmDynamicGif.dll"; DestDir: "{app}"; Flags: replacesameversion sharedfile regserver
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\FreeCommEmail.dll"; DestDir: "{app}"; Flags: replacesameversion sharedfile regserver
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\MsgToFcmClient.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\msimg32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\GdiPlus.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\FcmZip.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\FreeCommClient.ocx"; DestDir: "{app}"; Flags: replacesameversion sharedfile regserver
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\License.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\MagicPlatform.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\recv.wav"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\call.wav"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\enter.wav"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\shake.wav"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\leave.wav"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\regclient.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\Readme.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\skins.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\custom.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\config.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Work\P2P Ver7.0\Bin\Release\Client\FcmClient\*"; DestDir: "{app}\FcmClient"; Flags: ignoreversion recursesubdirs createallsubdirs
; 注意: 不要在任何共享系统文件中使用“Flags: ignoreversion”

[INI]
Filename: "{app}\HomePage.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.qiyicc.com"
Filename: "{app}\Help.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.qiyicc.com/Help/Help.htm"
Filename: "{app}\Download.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.qiyicc.com"

[Icons]
Name: "{group}\qiyicc"; Filename: "{app}\FcmClient.exe"
Name: "{group}\{cm:ProgramOnTheWeb,帮助}"; Filename: "{app}\Help.url"
Name: "{group}\{cm:ProgramOnTheWeb,下载}"; Filename: "{app}\Download.url"
Name: "{group}\{cm:ProgramOnTheWeb,我的}"; Filename: "{app}\HomePage.url"
Name: "{group}\{cm:UninstallProgram,期翼嘻嘻}"; Filename: "{uninstallexe}"
Name: "{userdesktop}\期翼嘻嘻"; Filename: "{app}\FcmClient.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\期翼嘻嘻"; Filename: "{app}\FcmClient.exe"; Tasks: quicklaunchicon

[Run]
Filename: "{app}\FcmClient.exe"; Description: "{cm:LaunchProgram,期翼嘻嘻}"; Flags: nowait postinstall skipifsilent

[UninstallDelete]
Type: files; Name: "{app}\HomePage.url"
Type: files; Name: "{app}\Help.url"
Type: files; Name: "{app}\Download.url"
Type: files; Name: "{app}\FcmDynamicGif.dll"
Type: files; Name: "{app}\FreeCommEmail.dll"
Type: files; Name: "{app}\FreeCommClient.ocx"
Type: filesandordirs; Name: "{app}\FcmClient"

