Run setup from command line

How do I do the install from the command line in PowerShell?

3 件のコメント

Rik
Rik 2022 年 9 月 15 日
I would expect the same way as with cmd. What error did you get?
tony
tony 2022 年 9 月 15 日
移動済み: Rik 2022 年 9 月 15 日
This is part of the automation we are trying to set up:
./Deploy-Application.ps1 -DeploymentType "Install" -verbose
At C:\abs\matlab\code\client\Deploy-Application.ps1:236 char:52
+ Show-DialogBox -Text $mainErrorMessage -Icon 'Stop'
+ ~
The string is missing the terminator: '.
At C:\abs\matlab\code\client\Deploy-Application.ps1:113 char:75
+ ... deploymentType -ine 'Uninstall' -and $deploymentType -ine 'Repair') {
+ ~
Missing closing '}' in statement block or type definition.
At C:\abs\matlab\code\client\Deploy-Application.ps1:56 char:5
+ Try {
+ ~
Missing closing '}' in statement block or type definition.
At C:\abs\matlab\code\client\Deploy-Application.ps1:239 char:1
+
The Try statement is missing its Catch or Finally block.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : TerminatorExpectedAtEndOfString
Rik
Rik 2022 年 9 月 15 日
I don't recognize any part of this. This doesn't look like the cmd install method at all. Where did you find this code?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2022 年 9 月 15 日

コメント済み:

Rik
2022 年 9 月 15 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by