Wix, custom dialog when previous version exists

Next / Back Button Override: I am no GUI expert, in fact it is a neglected area (GUI is always suppressed for corporate deployment), but I believe something like this can work – redefining the Next and Back buttons – 3 dialogs involved: <!– 1. OldVersionDlg showing –> <Publish Dialog=”LicenseAgreementDlg” Control=”Next” Event=”NewDialog” Value=”OldVersionDlg”>LicenseAccepted = “1” … Read more

Registering a CPP dll into COM after installation using Wix Msi installer

Short, Summary Answer You need to stop using batch files and custom actions for COM registration (unreliable) and rather extract the COM registration information using the heat.exe tool from the WiX toolkit to add the COM registration to your MSI database at compile time. There are some complications for 64-bit binaries, see details below. Fortunately … Read more