📖 ~1 min read
Table of contents
Symptom & Impact
WiX build on Windows Server 2019 build agent fails with ICE validation errors that block release of internal MSI packages.
Environment & Reproduction
Reproduces when light.exe runs full ICE validation on a package that uses overlapping component IDs or invalid sequencing.
light.exe -nologo -ext WixUIExtension product.wixobj
Root Cause Analysis
ICE rules detect structural issues such as duplicate components, invalid table relationships, or unsequenced custom actions.
Quick Triage
Capture the exact ICE codes emitted and consult their documented meaning.
light.exe -ext WixUIExtension product.wixobj -out product.msi 2> ice.log
Select-String -Path ice.log -Pattern 'ICEd+'
Step-by-Step Diagnosis
Re-run with verbose validation flag to map errors to source lines.
light.exe -v -ext WixUIExtension product.wixobj

Solution — Primary Fix
Fix duplicate component definitions, supply missing scheduling, and rebuild the MSI.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
# Edit product.wxs: ensure unique Component Id and Directory ref
candle product.wxs
light -ext WixUIExtension product.wixobj -out product.msi

Solution — Alternative Approaches
Suppress non-critical ICEs only when the underlying behaviour is intentional and reviewed.
light.exe -sice:ICE57 product.wixobj
Verification & Acceptance Criteria
light.exe completes without errors and resulting MSI installs cleanly on a test server.
msiexec /i product.msi /qn /l*v test.log
Rollback Plan
Revert WiX source changes via source control if validation tightening breaks other modules.
git revert HEAD
Prevention & Hardening
Run ICE validation in pre-merge builds and treat new ICE warnings as failures.
# Pipeline step: light -ext WixUIExtension -fatalwarning
Related Errors & Cross-Refs
Related: MSI install rollback, custom action sequencing errors, and SmokeTest validation failures.
Related tutorial: View the step-by-step tutorial for Windows Server 2019.
View all Windows Server 2019 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Microsoft Learn documentation for Windows Installer ICEs and WiX toolset validation.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.