We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

dexter_v
Posts: 23
Joined: Sat Nov 22, 2014 5:25 pm

Generating installation Report

Hello,

Can we use a c# code to read the verbose log, generate a pdf file and then attached the link of the pdf file to the read me button on the last dialog (form) of the installer.

How to implement this in the custom action i.e getting the log file, reading it using c# and then attaching the pdf to the last form.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Generating installation Report

Hello,

In order to generate an installation log, you can check the Enable Verbose Logging option from the Install Parameters page. By enabling this option, a log file will be generated each time the install package runs. This option sets the Windows Installer MsiLogging property to v value. Windows Installer will automatically set the MsiLogFileLocation property to the full path of the log file.

So, on the ReadMe control from the last dialog, you can execute the custom action. For details, please check the How to execute a custom action when a button is pushed? article.

You can also take a look on the How to integrate and debug custom actions? article which may be useful to you.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dexter_v
Posts: 23
Joined: Sat Nov 22, 2014 5:25 pm

Re: Generating installation Report

Hi Dan,

I tried the step that you have mentioned. But I was not able to read the log file because it was being used by advanced installer.

Is there a way we can get the log file before the final dialog page and read it? So that we can generate a installation report from the log file

Return to “Building Installers”