Troubleshooting
Use
-VerboseonNew-Installerto see WiX compiler and linker output.Verify every file referenced by
New-InstallerFile,AddRemoveProgramsIcon, shortcut icons, and UI parameters exists before building.Keep file and directory IDs unique when you specify them manually.
Use a stable
UpgradeCodeand increaseVersionfor upgrade releases.Use
-RequiresElevationfor installers that write to protected machine locations such as Program Files.Inspect the generated
.wxsfile when WiX reports validation or linking errors.
Last updated