Files
PackagingMallShipper/BUILD_INSTALLER.md
Administrator e7b9d3851c docs: 更新文档中的 .NET Framework 版本为 4.6.2
- 更新 README.md 中的技术栈、系统要求和编译输出路径
- 更新 BUILD_INSTALLER.md 中的兼容性说明和下载链接
- 更新轻量级订单发货客户端方案.md 中的所有版本引用
- 更新 build_installer.bat 自动编译和复制流程
- 修复 App.config 中的 supportedRuntime 版本

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 11:41:46 +08:00

75 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 构建安装包说明
## Windows 7 兼容性
本应用程序使用 .NET Framework 4.6.2,支持以下系统:
- Windows 7 SP1原生支持 .NET Framework 4.6.2
- Windows 8.1(自带 .NET Framework 4.6.2+
- Windows 10自带 .NET Framework 4.6.2+
- Windows 11自带 .NET Framework 4.6.2+
## 方式一:使用 Inno Setup 创建安装程序(推荐)
### 步骤 1安装 Inno Setup
1. 下载 Inno Setup 6https://jrsoftware.org/isdl.php
2. 安装时选择包含 **中文简体语言包**
### 步骤 2编译安装程序
**方法 A - 命令行编译:**
```cmd
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" setup.iss
```
**方法 B - 图形界面:**
1. 双击打开 `setup.iss` 文件
2.`Ctrl+F9` 或点击菜单 `Build > Compile`
### 步骤 3获取安装包
编译完成后,安装包位于:
```
installer\PackagingMallShipper_Setup_v1.0.0.exe
```
## 方式二:手动分发(无需安装程序)
`publish` 文件夹的内容复制给用户:
```
publish/
├── PackagingMallShipper.exe (主程序)
├── PackagingMallShipper.exe.config (配置文件)
├── x64/
│ └── SQLite.Interop.dll (64位SQLite库)
└── x86/
└── SQLite.Interop.dll (32位SQLite库)
```
用户需要 .NET Framework 4.6.2+ 运行时Windows 7 SP1 原生支持)。
## .NET Framework 4.6.2 下载地址
如果目标系统没有安装 .NET Framework 4.6.2,可从以下地址下载:
**离线安装包(推荐):**
https://dotnet.microsoft.com/download/dotnet-framework/net462
**在线安装包:**
https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net462-web-installer
## Windows 7 注意事项
Windows 7 SP1 用户:
1. 确保已安装 Windows 7 Service Pack 1
2. .NET Framework 4.6.2 通常已通过 Windows Update 安装
3. 如未安装,可下载离线安装包(约 60MB
## 文件说明
| 文件 | 说明 |
|------|------|
| `setup.iss` | Inno Setup 安装脚本 |
| `publish/` | 编译好的程序文件 |
| `installer/` | 生成的安装包输出目录 |