indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.4k stars 234 forks source link

Cannot pass `-fips` parameter to candle.exe #686

Open dantebben opened 1 year ago

dantebben commented 1 year ago

On a Window 10 system that is FIPS enabled, I cannot use pyoxidizer to create the MSI file.

Steps to reproduce:

  1. create new Python virtual environment
  2. Install pyoxidizer into virtual environment
  3. create a new pyoxidizer project with pyoxidizer init-config-file test
  4. Switch to the test folder
  5. Try to build the MSI with pyoxidizer build msi-installer
  6. Fails with an error generated by candle.exe that the -fips parameter must be passed, or the true property should be added to the .wixproj file.

How can I get pyoxidizer to set/pass this parameter? Note, these steps succeed on a system that is not FIPS enabled, but our environment requires FIPS.