当前位置:网站首页>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
边栏推荐
- 身为技术管理者应该具备的素质(猜想)
- Sealem Finance-基于Web3的全新去中心化金融平台
- 2022-07-26 第四小组 抽象类、接口
- Build a complete system in the maker education movement
- The NFT market pattern has not changed. Can okaleido set off a new round of waves?
- 你连简单的功能测试都做不好,你拿什么来跟我谈涨薪?
- 选择正规的资质好的期货公司开户
- 定点一键查询GUI编程的设计与开发
- 期货开户之前要先谈好手续费
- GBASE 8C——SQL参考 5 全文检索
猜你喜欢

使用Docker部署Redis进行高可用主从复制

期货开户之前要先谈好手续费

minio8.x版本设置policy桶策略

Dimitra and ocean protocol interpret the secrets behind agricultural data

解决MySQL JDBC数据批量插入慢的问题

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

AQUANEE将在近期登陆Gate以及BitMart,低位布局的良机

jenkins构建镜像自动化部署

Specific matters of opening accounts of futures companies
基于PG-Oracle和MySQL的三库通用sql代码开发
随机推荐
Jenkins build image automatic deployment
期货开户公司交返怎么申请?
The NFT market pattern has not changed. Can okaleido set off a new round of waves?
How to choose a good futures company for futures account opening?
Personal collection code cannot be used for business collection
GBASE 8C——SQL参考6 sql语法(15)
How to not overwrite the target source data when dBSwitch data migrates data increments
MySQL索引失效与解决方法实践
GBASE 8C——SQL参考6 sql语法(11)
GBASE 8C——SQL参考4 字符集支持
Web2.0 giants have deployed VC, and tiger Dao VC may become a shortcut to Web3
我想不通,MySQL 为什么使用 B+ 树来作索引?
Choose futures companies with state-owned enterprise background to open accounts
什么是Alpha和Beta测试?
vscode打造golang开发环境以及golang的debug单元测试
ES时间查询报错 - “caused_by“:{“type“:“illegal_argument_exception“,“reason“:“failed to parse date field
kettle如何处理文本数据传输为‘‘而不是null
你连简单的功能测试都做不好,你拿什么来跟我谈涨薪?
难道Redis真的变慢了吗?
哪个期货公司手续费低高交返?