Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 311

PowerShell Studio • Heat/FIPS error during build (HEAT0308)

$
0
0
Product, version and build: PowerShell Studio 2024, 5.8.237
Operating system: Windows 10 22H2, Build 19045.3996
PowerShell version(s): 5.1.19041.3996

While attempting to build an installer (MSI) the following error is being thrown.

Code:

heat.exe : error HEAT0308 : The Federal Information Processing Standard (FIPS) appears to be enabled on the machine. You must either disable FIPS or use FIPS-compliant security algorithms to generate IDs by passing the -fips command-line switch or by setting <FipsCompliant>true</FipsCompliant> in your .wixproj project.
If I temporarily set HKLM\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy\Enabled = 0, then I can perform the build.

I can't determine where to add that FIPS setting in a .wixproj project file.

I'm not sure if it's related or not but if I also have files configured for signing, it hangs on attempting to sign them. Signing works perfectly fine when building a package.

Statistics: Posted by C_Herman — Wed Feb 07, 2024 10:34 am — Replies 2 — Views 37



Viewing all articles
Browse latest Browse all 311

Trending Articles