最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to Handle The jpackage Command For An Application Name With Spaces - Stack Overflow

programmeradmin0浏览0评论

Section 6 of the jpackage command

Override jpackage Resources

states:

"Post-image script, application-name-post-image.wsf. Custom script that is executed after the application image is created and before the MSI installer is built for both .msi and .exe packages. No default script is provided."

So, let's say my "application-name" contains a space such as "My App". What is the file name of my .wsf file? Is it:

My App-post-image.wsf

Because using such a .wsf file name, jpackage is not running my script post installation.

I have also tried "My-App-post-image.wsf" and "My_App-post-image.wsf" both of which also are not launched.

Thus, is there a way of solving an "application-name" that contains one or more spaces or is this a bug/deficiency of the jpackage command?

发布评论

评论列表(0)

  1. 暂无评论