在预测试验证上执行"devicetester_win_x86-64.exe run-suite"时出现错误。

0

【以下的问题经过翻译处理】 我正在使用Windows 2019 OS上的Greengrass v2验证我的设备。

执行devicetester_win_x86-64.exe时,它会启动一个预测试验证检查,以确保Windows上安装了正确的组件。下面是当此操作发生时我看到的消息。

info msg="GGV2 Suite Info" hostArch=amd64 hostName=WIN-JTAA71LE6U1 hostOs=windows testCaseId=pretestvalidation deviceId=ztC-200i groupId=pretestvalidation info msg="Running test case" info msg="Setting up device for testing" info msg="Running preTest validation test" error msg="Encountered failure running pretest validation - \n your device doesn't have Visual C++ 2017 or later versions installed"

最后一条消息告诉我,它无法验证Visual C++ 2017可再发行版本已被安装。

我已经在我的机器上安装了它,并验证它存在于添加/删除程序中。Microsoft Visual C++ 2015-2022可再发行版本。

预测试验证工具如何验证它已安装在机器上呢?我检查了注册表,看起来没问题。

最新版本的可再发行版本是否不能与此预测试验证工具一起使用?

有什么建议吗?谢谢 -Peter

1 Antwort
0

【以下的回答经过翻译处理】 这是因为我创建的Windows用户权限问题。 ggc_user只是一个标准用户,无法检查注册表。一旦更改该用户的权限,代码就可以通过了。

profile picture
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen