Creating the install log file in the installation folder? - Advanced Installer Community
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Creating the install log file in the installation folder?

Hello,

How to create the install log file in the installation folder? Even if the installation failed, the log file should remain in the installation folder. So the installation folder also should not be removed if the installer failed.

:?:
K
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Creating the install log file in the installation folder?

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.

Then, you can create your custom action that will copy the log file into the installation folder. For details, please check the Possible to copy the verbose log after install to AppDir forum thread that debates a similar subject.

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

Return to “Common Problems”