当前位置:网站首页>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
边栏推荐
猜你喜欢

Aquanee will land in gate and bitmart in the near future, which is a good opportunity for low-level layout

Personal collection code cannot be used for business collection

建设创客教育运动中的完整体系

Build a complete system in the maker education movement

Web3 traffic aggregation platform starfish OS interprets the "p2e" ecosystem of real business

期货公司最低标准的手续费和保证金

期货公司的评级和查询详情

Web2.0 giants have deployed VC, and tiger Dao VC may become a shortcut to Web3

期货公司开户的具体事项

MySQL如何执行查询语句
随机推荐
GBASE 8C——SQL参考6 sql语法(13)
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
Build a complete system in the maker education movement
GBASE 8C——SQL参考6 sql语法(3)
DDD领域驱动设计笔记
Face brushing payment will never be out of date, but will continue to change
未来刷脸支付是能够占据市场很多的份额
Face brushing payment is more in line with Alipay's concept of always being ecological
In the future, face brushing payment can occupy a lot of market share
GBASE 8C——SQL参考 5 全文检索
Several ways of element positioning in page layout
选择国企背景的期货公司开户
GBase 8c核心技术
andorid检测GPU呈现速度和过度绘制
How MySQL and redis ensure data consistency
jenkins构建镜像自动化部署
The business logic of face brushing changed significantly, and merchants vied for war smoke to rise again
Integration and extension of robot programming and interdisciplinary
GBASE 8C——SQL参考6 sql语法(5)
vscode打造golang开发环境以及golang的debug单元测试