当前位置:网站首页>Inno setup package jar + H5 + MySQL + redis into exe
Inno setup package jar + H5 + MySQL + redis into exe
2022-07-27 05:48:00 【Code world of super Duoduo and Liu baobao】
List of articles
Preface
Recently, the company needs to package the front and rear ends into exe Deliver stand-alone software , Final selection inno setup To pack
One 、 download innosetup.exe
You can go right in innosetup Download , And install Chinese plug-ins , I provide an online disk to share
https://www.aliyundrive.com/s/XYCE4EDu91s
Two 、 Template directory folder configuration
1. Package according to my template
Divide my template
link :https://pan.baidu.com/s/19s37qN1sqdjShrWPP9SkMw
Extraction code :9t2c
2. Template interpretation
1. root directory 
1.output: by exe Output folder path
2.project:64 Software and patches required for bit system packaging
3.project-32:32 Software and patches required for bit systems
4.plicyapp-x64.iss:x64 The execution file of the architecture
5.policyapp-x86.iss:x86 The execution file of the architecture
2.project Catalog

1.dive: The plug-ins required by the back-end system , Include jdk,redis,jar Bag storage place and windows Pack the patch
2.dive-app: Front end packaging exe Storage path of
3.mysql-5.7.30-win64:mysql Database decompression free version
3. Usage method - Modify the configuration file
1.project\dive Under the config.ini, modify serviceName and jarName ( Without the suffix )
2. Replace jar Bag for you jar package ,jar Package name is JarName
3. Open... In the same directory uninstall.bat, Change the service name Custom service name , But it needs to correspond to the following
4.project\mysql-5.7.30-winx64\sql Store your own sql,navicat Derived sql Pay attention to add createbase Create database
5. In the same directory , modify my.ini file , You can modify mysql Port number
6. Enter into project\mysql-5.7.30-winx64\bin open mysql_start.bat, modify mysql service name , Corresponding to Article 3 , Modify the used sql, Corresponding to Article 4
7. Back to root personArchives Next , open policyApp-x64.iss, modify OutputBaseFilename, Corresponding define MyAppName Also change ,ModelName Corresponding dive-app Medium exe name
Modify the default installation directory DefaultDirName, modify Source Source directory
8. Package the front end exe Put it in dive-app Inside , The next update can directly overwrite project\dive-app\resources\app\dist
9. Use inno setup open policyApp-x64.iss, Click on Down arrow Generate exe
summary
The current packaging method is front-end packaging exe The software accesses the interface running on the back end , The backend is actually started through windows command , Run various plug-ins and jar To carry out
边栏推荐
- 本地ORACLE报ORA-12514: TNS:监听程序当前无法识别请求服务
- GBASE 8C——SQL参考6 sql语法(14)
- Sealem Finance - a new decentralized financial platform based on Web3
- 你真的了解 Session 和 Cookie 吗?
- 怎么开立普通商品期货账户
- Web2.0 giants have deployed VC, and tiger Dao VC may become a shortcut to Web3
- Minio8.x version setting policy bucket policy
- 软件测试常见面试题
- GBASE 8C——SQL参考6 sql语法(7)
- You can't even do a simple function test well. What do you take to talk about salary increase with me?
猜你喜欢

The LAF protocol elephant of defi 2.0 may be one of the few profit-making means in your bear market

Basic layout of the page

怎样才能拿到期货开户最低的手续费?

When opening futures accounts, you should discuss the policy in detail with the customer manager

Count the quantity in parallel after MySQL grouping

How can I get the lowest handling charge for opening a futures account?

MOVE PROTOCOL推出测试版,更可“0撸”参与P2E

解析新时代所需要的创客教育DNA

You can't even do a simple function test well. What do you take to talk about salary increase with me?

minio8.x版本设置policy桶策略
随机推荐
根据文本自动生成UML时序图(draw.io格式)
Mysql分组后时并行统计数量
How to choose a good futures company for futures account opening?
golang怎么给空结构体赋值
GBASE 8C——SQL参考6 sql语法(15)
andorid检测GPU呈现速度和过度绘制
1024 | 正式称为码农的第四年,初心犹在,继续前进
期货开户公司交返怎么申请?
Choose a qualified futures company to open an account
Graph node deployment
刷脸支付永远不会过时只会不断的变革
Sealem Finance-基于Web3的全新去中心化金融平台
GBASE 8C——SQL参考4 字符集支持
Minio分片上传解除分片大小限制 - chunk size must be greater than 5242880
软件测试常见面试题
inno setup 打包 jar + h5 + mysql + redis 成 exe
哪个期货公司手续费低高交返?
GameFi如何破圈,AQUANEE靠真正“P2E”展现风采
2020年PHP中级面试知识点及答案
Build a complete system in the maker education movement