gpt4 book ai didi

java - playframework 2.3.x 的 msi 安装程序

转载 作者:行者123 更新时间:2023-11-29 08:45:22 25 4
gpt4 key购买 nike

我想为我的应用程序制作一个 msi 安装程序,我正在使用 playframework 2.3.0 并按照配置文档进行尝试。

我在plugin.sbt文件中添加了插件

addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.7.1")

我已经根据

的文档安装了 wixtoolset

https://wix.codeplex.com/releases/view/60102

我正在从控制台尝试命令,

激活器 dist windows:package-bin

但是命令抛出错误

error CNDL0006 : The Product/@Name attribute's value cann
ot be an empty string. If you want the value to be null or empty, simply remove
the entire attribute.

其次是

java.lang.RuntimeException: Unable to run WIX compilation to wixobj...
at scala.sys.package$.error(package.scala:27)
at com.typesafe.sbt.packager.windows.WindowsPlugin$$anonfun$windowsSetti
ngs$14.apply(WindowsPlugin.scala:81)
at com.typesafe.sbt.packager.windows.WindowsPlugin$$anonfun$windowsSetti
ngs$14.apply(WindowsPlugin.scala:69)
at scala.Function7$$anonfun$tupled$1.apply(Function7.scala:35)
at scala.Function7$$anonfun$tupled$1.apply(Function7.scala:34)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:23
7)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:23
7)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestric
tions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51
1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
[error] (windows:packageBin) Unable to run WIX compilation to wixobj...
[error] Total time: 1 s, completed Sep 8, 2014 3:44:15 PM

最佳答案

"com.typesafe.sbt"% "sbt-native-packager"% "0.8.0-M1" 起,您需要明确设置

  packageSummary in Windows := "*name*",
packageDescription in Windows := "*description*",

不幸的是。

关于java - playframework 2.3.x 的 msi 安装程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25721967/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com