Skip to main content

命令:--createInstallationFromFile

函数:该命令会创建新的安装。

打电话: APInstaller.CLI

15. 选项

--sourcefile <source file>

必填项

安装文件的完全限定路径

--destinationFolder <destination folder>

要安装的安装目录的完全限定路径(在交互式安装中是可选的)

--interactive

如果设置,则可能会显示供用户输入的对话框。默认情况下,命令以静默方式执行。

--noadditionalfolder

如果已设置,则不会为安装创建其他目录。

必须针对非模块化安装(3.5 SP16 及更低版本)进行设置



4. 例子

APInstaller.CLI --createInstallationFromFile --sourcefile "C:\Temp\CODESYS 3.5.18.0.exe" --interactive

APInstaller.CLI --createInstallationFromFile --sourcefile "C:\Temp\CODESYS 3.5.16.0.exe" --destinationFolder "C:\Program Files\CODESYS 3.5.16.0" --noadditionalfolder