吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 3631|回复: 7
收起左侧

[其他转载] 鹰之侠不懂编程也能封包软件第一课

  [复制链接]
鹰之侠 发表于 2014-4-5 22:53
使用inno setup对破解后的软件二次封包,第一课。
给安装包增加背景音乐。制作工具可以下面的地址中下载。
感兴趣的人多就出详细的教程,大牛飞过、、、、、
加音乐.jpg

地址.txt

20 Bytes, 下载次数: 15, 下载积分: 吾爱币 -1 CB

免费评分

参与人数 1热心值 +1 收起 理由
Anonymous、 + 1 我很赞同!

查看全部评分

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

 楼主| 鹰之侠 发表于 2014-4-5 22:55
; -- Example1.iss --
; Demonstrates copying 3 files and creating an icon.

; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!

#include "IsSkin.ish"

[Setup]
AppName=ISSkin Example
AppVerName=ISSkin Example v1.0
AppVersion=1.0.0.2
AppCopyright=?1998-2008 Codejock Software
DefaultDirName={pf}\ISSkin
DefaultGroupName=ISSkin
Compression=lzma
SolidCompression=true
WizardImageFile={#ExtendDir}\Graphics\Wizard\Office2007Gray.bmp
WizardSmallImageFile=compiler:WizModernSmallImage-IS.bmp
UninstallDisplayIcon={app}\SkinHelper.exe
OutputDir=userdocs:Inno Setup Examples Output
OutputBaseFilename=SetupOffice2007Black
VersionInfoVersion=1.0.0.2
VersionInfoCompany=Codejock Software
VersionInfoDescription=ISSkin Example Setup
VersionInfoTextVersion=1, 0, 0, 2

[Files]
; Add the Visual Style resource contains resources used for skinning,
; you can also use Microsoft Visual Styles (*.msstyles) resources.
Source: {#ExtendDir}\ISSkin\Styles\Office2007.cjstyles; DestDir: {tmp}; Flags: dontcopy
Source: "G:\碟MP3\恋爱百分百.mp3"; DestDir: "{tmp}"; Flags: dontcopy

[Icons]
Name: {group}\Uninstall =ISSkin; Filename: {app}\unins000.exe

; The following code block is used to load the ISS, pass in
; an empty string ('') as the second parameter to LoadSkin to use
; the Blue color scheme, this is the default color scheme for
; Office2007.cjstyles.
[Code]
function InitializeSetup(): Boolean;
begin
  InitSkin('Office2007', 'NormalBlack.ini');
        Result := True;
end;

procedure DeinitializeSetup();
begin
  DeinitSkin
end;


Function mciSendString(lpszCommand: String; lpszReturnString: Integer; cchReturnLength: Integer; hwndCallback: Integer): Integer;
external 'mciSendStringA@winmm.dll stdcall';

procedure InitializeWizard();
var
BGMusicFile, SplashFile: string;
SplashForm: TForm;
SplashFileName: String;
I: Integer;
begin

ExtractTemporaryFile(ExtractFileName(ExpandConstant('{tmp}\恋爱百分百.mp3')));
SplashForm := TForm.create(nil);
with SplashForm do
begin
mciSendString(ExpandConstant('play {tmp}\恋爱百分百.mp3'),0,0,0);
Close;
Free;
end;
end;



--------------------------------------------
以上为全部代码直接复制到脚本区,编译即可。
浙江-杺庝 发表于 2014-4-5 23:02
 楼主| 鹰之侠 发表于 2014-4-5 23:04
新人发贴,失误之处敬请谅解,打包好的文件忘传了,需要的可以发邮箱。
涂涂 发表于 2014-4-5 23:14
谢谢分享啊
星期五 发表于 2014-4-5 23:25
谢谢楼主分享哈···
247605832 发表于 2014-4-5 23:34
支持,很帮的样子  
gaozewen 发表于 2014-4-5 23:37
感谢楼主分享!!!
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-9-22 06:56

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表