适用版本
D5渲染器 2.7版本及以上
D5完整安装包(Installer文件) 下载链接:https://www.d5render.cn/download-package/
使用方式
1. 下载 ↑ Installer文件
2. 在任意位置 新建配置文件config.ini
依次设置D5安装目录(InstallPath)、工作空间(IWorkSpace)、是否仅为当前用户安装(IsForCurrentUser)
注意:复制windows路径时需要将反斜杠转换为斜杠。
示例代码:
[InstallConfig]
InstallPath=E:/D5 Render
WorkSpacePath=E:/MyWorkSpace
IsForCurrentUser=1
文件位置:
![](https://saas.bk-cdn.com/t/18217684-957c-4109-9021-5866cc58cc60/u/10a66288-31af-4b72-adee-8249db06c5f0/1714471249618/image.png)
3. 在installer下载位置同目录下新建D5Installer.bat
根据实际情况修改配置文件路径(configpath)以及installer完整名称(installername)。
示例如下:
@echo off
setlocal enabledelayedexpansion
set configpath=E:/downloads/D5Config/config.ini
set installername=D5_Render_installer-pre-2.6.10.0180.exe
cd /d "%~dp0"
echo Start to install D5 Render...
start /b /wait .\%installername% -configPath=%configpath%
set logdir=%LocalAppData%\InstallWizard\InstallWizard\logs
set filename=""
cd /d %logdir%
for /f %%a in ('dir /o-d /tc /b ') do (
set filename=%logdir%\%%~na%%~xa
echo Install log file path: !filename!
if not !filename! == "" (
goto next
)
)
:next
findstr /n /c:"D5 Render is installed successfully." !filename! >nul
if %errorlevel%==0 (echo D5 Render is installed successfully.) else (echo Installation failed. Please retry or check logs.)
pause
文件位置:
![](https://saas.bk-cdn.com/t/18217684-957c-4109-9021-5866cc58cc60/u/10a66288-31af-4b72-adee-8249db06c5f0/1714471460672/image.png)
4. 命令行运行D5Installer.bat
打开配置文件中设置的安装目录,可以看到软件已经安装成功。
注意
![](https://saas.bk-cdn.com/t/18217684-957c-4109-9021-5866cc58cc60/u/10a66288-31af-4b72-adee-8249db06c5f0/1714471780082/image.png)
![](https://saas.bk-cdn.com/t/18217684-957c-4109-9021-5866cc58cc60/u/10a66288-31af-4b72-adee-8249db06c5f0/1714471528401/image.png)
附录
1. 日志文件位置
日志位于
%LocalAppData%\InstallWizard\InstallWizard\logs
文件夹下日期最新的一个文件(示例:C:/Users/User/AppData/Local/InstallWizard/InstallWizard/logs/set_up_install_20240329-151046.11280)
2. 确认文件安装成功
打开日志文件,可以看到"D5 Render is installed successfully."成功安装日志打印。
3. 安装错误可能问题排查
- 配置文件不存在/路径不匹配
- 配置文件中三个配置选项是否有拼写错误,顺序是否正确,是否有多余的空格/缩进
- 选择为所有用户安装时是否使用管理员权限启动
- 启动安装时已经有D5 Render/其他Installer正在运行
- 其他问题具体错误原因可以打开日志查看详情