Both bundle installation and the packages logs will be created into %TEMP%
(C:\Users\username\AppData\Local\Temp).
The naming scheme for the log file is:
BundleName_yyyyMMddHHmmss.log
Where the date and time is when the installation started. For each chained MSI package, Burn automatically enables verbose logging. The chained package log file naming scheme is:
BundleName_yyyyMMddHHmmss_#_PackageId.log
Where # indicate the order that the package was applied. The same package may show up multiple times with #s if the installation failed and the package was removed during rollback. (for example BundleName_yyyyMMddHHmmss_002_FailedPackage_rollback.log)
In order to get the bundle installer location path you can use BootstrapperApplication.Engine.StringVariables[WixBundleLog]
, in order to get the package log file you can use BootstrapperApplication.Engine.StringVariables[WixBundleLog_packageId]
.
if you want to change the default location (%TEMP%
) you can use the LogPathVariable
attribute of the MsiPackage element to provide a custom log file name:
See: http://wixtoolset.org/documentation/manual/v3/xsd/wix/msipackage.html
Also: https://support.firegiant.com/hc/en-us/articles/230912207-Pass-Properties-to-MsiPackage-from-Bundle-