I need help for putting a button (Print Agreement) on Inno Setup form to print EULA via printer.
During installation when the User Agreement page shows up there are 3 buttons (Back, Next and Cancel). I want to add one more button Print so user can print EULA document. Is there any way to do it?
Here’s a simple script I put together that displays a Print button on the license screen and then opens Notepad with the license file which can be printed.
The
ShellExeccan be changed to the "Print" verb (shown in code but commented out) so that it can print to the default printer automatically. That doesn’t take into account systems with no printers installed though. The code is: