Run JPackage on a Windows Machine with FIPS

Viewed 107

I am trying to run the new jpackage command that is bundled in Java 14 on a Windows 10 computer which is FIPS enabled. In order for Wix to work it needs the -fips command line option. Is there anyway I can pass that in from jpackage? Or is there any way I can set wix to always use the -fips option?

1 Answers

I found this document -Oracle - packaging-tool-user-guide.pdf which helped me fix the issue. I had created a main.wxs, test.wixproj, and overrides.wxs, but hadn't known to put them in a folder and pass in --resource-dir. All of those files just contain

<PropertyGroup>
  <FipsCompliant>true</FipsCompliant>
</PropertyGroup>

All 3 are probably not needed, but I haven't played with it much yet.

Related