Hello,
We’re on Advanced Installer 24.0 with an EXE bootstrapper. In our installer project, in the "Install Parameters" page, we have the “Enable verbose logging” and “Copy MSI log to” options on, and the Reboot behaviour is “Force Reboot after install”.
We have specified a path to copy the log file to in the “Copy MSI log to” field.
We observe:
1. During an interactive install (UI based), or during a silent install with the /norestart option: the log is copied correctly to the specified path.
2. During a silent install or uninstall without /norestart: no copy is made. The log shows CopyMsiLogFileCommit invoked about 2 seconds before logging stops, and then the machine restarts right away. Is this expected? Is there a way to have the copy finish before the forced restart, without requiring /norestart?
3. When uninstalling from Programs and Features (Apps & features), a copy is made, but it’s incomplete: it misses the last part of the log, including the “Removal completed successfully” line. Is there a way to get the complete log copied on uninstall?
Thanks,
SDutt
FOLLOW US
Get the latest news in Application Packaging