很多人源码编译完大厅或者子模块之后,都卡在最后一步:怎么打成安装包让别人能直接点安装?
其实这一步不复杂,关键是工具要用对。这里用的是一个比较老牌但稳定的 Inno Setup(附带汉化版+示例脚本),我一直拿它来打测试包、换皮包,优点是干净、无广告、打出来的体积也不算离谱。
打开之后主界面大概就是下面这个样子:

核心就是 [Setup] 和 [Files] 两个区块,该填的内容分别是:
-
AppName / AppVerName:随便写个名字,不影响程序运行;
-
OutputBaseFilename:打出来的 EXE 文件名;
-
[Files]列表里把大厅 EXE、资源文件、Music 目录、GameKind 文件夹之类的都逐一指过去; -
如果有 dll 文件,也要手动塞进去,否则启动的时候会报错找不到模块。
打包逻辑其实跟写配置文件差不多,只是格式稍微啰嗦一点。搞不清楚路径的,建议路径全写绝对,比如:
写完保存成 .iss,然后点一下工具栏左上角那个绿色的“编译”按钮,耐心等它跑完就能在 Output 目录里拿到安装包。
压缩包里自带两个文件:

-
inno setup 5502(汉化版).exe—— 主程序; -
inno setup介绍.txt—— 这个可以不用看,内容比较官方。
使用建议:
-
如果只是测试用,配置文件复制一份改标题和图标就行,不用每次重写;
-
如果要做成“伪正版安装流程”,可以再加自启动背景图和安装进度条动画,Inno 也是支持的;
-
打包完成后建议在全新 Windows 系统里试装一次,确认没有丢 DLL 或路径写错的问题。
隐藏内容,解锁需 付费 30元
付费解锁

![[网狐常用数据库管理工具] 批量添加机器人 / 金额调整助手-](https://www.264rose.com/wp-content/uploads/2025/10/c4ca4238a0b9238-12.jpg)














![[源码分享] 创胜系列定制版本嘉年华房卡源代码【开发引擎Cocos Creator2.4.3】-](https://www.264rose.com/wp-content/uploads/2024/10/c4ca4238a0b9238-10.jpg)





https://shorturl.fm/2eXcz
**prostadine**
prostadine is a next-generation prostate support formula designed to help maintain, restore, and enhance optimal male prostate performance.
https://shorturl.fm/xvcCI
**sugarmute**
sugarmute is a science-guided nutritional supplement created to help maintain balanced blood sugar while supporting steady energy and mental clarity.
**gl pro**
gl pro is a natural dietary supplement designed to promote balanced blood sugar levels and curb sugar cravings.
https://shorturl.fm/bgz3x
**zencortex**
zencortex contains only the natural ingredients that are effective in supporting incredible hearing naturally.
**mitolyn**
mitolyn a nature-inspired supplement crafted to elevate metabolic activity and support sustainable weight management.
**yusleep**
yusleep is a gentle, nano-enhanced nightly blend designed to help you drift off quickly, stay asleep longer, and wake feeling clear.
**prodentim**
prodentim an advanced probiotic formulation designed to support exceptional oral hygiene while fortifying teeth and gums.
**synaptigen**
synaptigen is a next-generation brain support supplement that blends natural nootropics, adaptogens
**vitta burn**
vitta burn is a liquid dietary supplement formulated to support healthy weight reduction by increasing metabolic rate, reducing hunger, and promoting fat loss.
**nitric boost**
nitric boost is a dietary formula crafted to enhance vitality and promote overall well-being.
**glucore**
glucore is a nutritional supplement that is given to patients daily to assist in maintaining healthy blood sugar and metabolic rates.
**wildgut**
wildgutis a precision-crafted nutritional blend designed to nurture your dog’s digestive tract.
https://shorturl.fm/3hets
**pinealxt**
pinealxt is a revolutionary supplement that promotes proper pineal gland function and energy levels to support healthy body function.
**energeia**
energeia is the first and only recipe that targets the root cause of stubborn belly fat and Deadly visceral fat.
**boostaro**
boostaro is a specially crafted dietary supplement for men who want to elevate their overall health and vitality.
**prostabliss**
prostabliss is a carefully developed dietary formula aimed at nurturing prostate vitality and improving urinary comfort.
**potent stream**
potent stream is engineered to promote prostate well-being by counteracting the residue that can build up from hard-water minerals within the urinary tract.
**hepato burn**
hepato burn is a premium nutritional formula designed to enhance liver function, boost metabolism, and support natural fat breakdown.
**breathe**
breathe is a plant-powered tincture crafted to promote lung performance and enhance your breathing quality.
**hepatoburn**
hepatoburn is a potent, plant-based formula created to promote optimal liver performance and naturally stimulate fat-burning mechanisms.
**cellufend**
cellufend is a natural supplement developed to support balanced blood sugar levels through a blend of botanical extracts and essential nutrients.
**prodentim**
prodentim is a forward-thinking oral wellness blend crafted to nurture and maintain a balanced mouth microbiome.
**neuro genica**
neuro genica is a dietary supplement formulated to support nerve health and ease discomfort associated with neuropathy.
**revitag**
revitag is a daily skin-support formula created to promote a healthy complexion and visibly diminish the appearance of skin tags.
**flow force max**
flow force max delivers a forward-thinking, plant-focused way to support prostate health—while also helping maintain everyday energy, libido, and overall vitality.
**sleeplean**
sleeplean is a US-trusted, naturally focused nighttime support formula that helps your body burn fat while you rest.
**memorylift**
memorylift is an innovative dietary formula designed to naturally nurture brain wellness and sharpen cognitive performance.