Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot Print twice with PrintEULA #3854
I am using custom dialogs but wanted the print functionality from WiX. I added WiXUIExtension and created a reference to WixUIPrintEula. I then had a print button in my license agreement dialog that would publish a DoAction event with WixUIPrintEULA. If i click print and print out the license agreement, it goes through just fine. If I click the print button again, which calls PrintEULA again, I am able to select a printer and all its options, but when I click print (in the print options dialog) to actually print, the print options dialog just closes and goes back to the license dialog without performing any print and this repeates until I close the installer and open it again.
We can reproduce this issue inconsistently and have customers that also report the same problem inconsistently. We have found some memory leaks in the code and the window class is not being unregistered after each invocation. At this point in time that seems to be the root cause. We'd like to send a fix we are testing for WiX v3.8.