Files
PowerShell/tools
Dongbo Wang c0fc3411b6 Merged PR 40641: Use the -sval parameter for light.exe to skip validation in CI
Use the -sval parameter for light.exe to skip validation in CI

----
#### AI description  (iteration 1)
#### PR Classification
Build configuration change to disable validation during MSI package creation in CI environments.

#### PR Summary
This pull request modifies the WiX Light tool invocation to skip validation checks during MSI build processes by adding the `-sval` parameter, which disables all ICE validation. Additionally, minor whitespace formatting cleanup was performed.

- `/tools/packaging/packaging.psm1`: Added `-sval` parameter to `light.exe` invocation in `Start-MsiBuild` function to skip validation checks during MSI creation
- `/tools/packaging/packaging.psm1`: Cleaned up trailing whitespace in `Get-MacOSPackageIdentifierInfo` function
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->


Cherry picked from !40638

----
#### AI description  (iteration 1)
#### PR Classification
Build process optimization to skip validation during MSI build in CI by adding a command-line parameter.

#### PR Summary
This PR modifies the MSI build process to skip validation by adding the `-sval` parameter to the WiX light.exe command, which will improve CI build performance.

- `/tools/packaging/packaging.psm1`: Added `-sval` parameter to `light.exe` invocation in `Start-MsiBuild` function to skip validation during MSI creation
- `/tools/packaging/packaging.psm1`: Minor whitespace cleanup in `Get-MacOSPackageIdentifierInfo` function
2026-07-16 17:07:18 +00:00
..
2020-02-04 13:21:06 -08:00
2022-03-25 11:22:07 -07:00