You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Just tested this on latest WiX 3.8 using XPS Document Printer. Was able to print 4 times from the same dialog, each output to a different file, each file came out just fine.
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.
Originally posted by firegiantco Status changed from Closed to Untriaged
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.
The text was updated successfully, but these errors were encountered: