我的任务是创建一个脚本,在安装安全程序“Heimdal”之前检查是否安装了.net framework 4.5,如果没有.net安装,则应安装.net然后再安装Heimdal。我尝试了不同的解决方案,但我无法让它工作...... 我哪里出错?
AggregateIterable<Document> iterable = db.getCollection("userData").aggregate(asList(
new Document("$group", new Document("_id", "$username").append("count", new Document("$sum", 1))),
new Document("$group", new Document("_id", "$username").append("count", new Document("$sum", 1)))));
答案 0 :(得分:0)
我不确定代码中的其他错误,但行
Start /B /I /WAIT O:\it\Patrick\dotNetFx45_Full_setup.exe /q /norestart
无法运作。 START
命令支持/B
或/WAIT
作为选项。两台开关的组合不起作用。