WiX Burn Bootstrapper 立即失败,因为 WiX 已从 3.6 升级到 3.11
WiX Burn Bootstrapper fails immediately now that WiX has been upgraded from 3.6 to 3.11
我已将 WiX 从 3.6 升级到 3.11
从那时起项目构建但 bootstrapper.exe 刻录输出立即失败,下面的日志文件中只有以下输出:
[4568:5744][2021-03-25T14:48:04]i001: Burn v3.11.2.4516, Windows v10.0 (Build 19042: Service Pack 0), path: C:\Users\username\AppData\Local\Temp\{AF64B619-B3D3-4801-AB2D-84F528BB2AF2}\.cr\Bootstrapper.exe
[4568:5744][2021-03-25T14:48:04]i009: Command Line: '-burn.clean.room=C:\SiteWork\Sales\Setup\Bootstrapper\bin\Release\Bootstrapper.exe -burn.filehandle.attached=604 -burn.filehandle.self=608'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\SiteWork\Sales\Setup\Bootstrapper\bin\Release\Bootstrapper.exe'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\SiteWork\Sales\Setup\Bootstrapper\bin\Release\'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\username\AppData\Local\Temp\Installer_20210325144804.log'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleName' to value 'Installer'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleManufacturer' to value 'Company name'
[4568:5F54][2021-03-25T14:48:04]i000: Setting version variable '聥' to value '1176.15752.0.0'
任何可能导致此问题的想法?
例如除了升级可能导致此问题的项目引用之外,从 3.6 升级到 3.11 是否需要任何步骤?我不知道要寻找什么(据我所知,没有像单个 .msi 文件那样的冗长开关)
[编辑]
“设置版本变量'聥'”位是自wix(&vs2019)升级以来出现的。有趣的是,每次您 运行 (相同的)引导程序时它都会改变。这是什么我不知道...例如
[4144:5C74][2021-03-26T15:27:02]i000: Setting version variable '聥' to value '848.15752.0.0'
[64C4:63A8][2021-03-26T15:27:40]i000: Setting version variable '聥' to value '776.15752.0.0'
我最好的猜测是您有一个自定义的 Bootstrapper 应用程序。 v3.x中没有二进制兼容性,升级时必须重新编译BA。
我已将 WiX 从 3.6 升级到 3.11 从那时起项目构建但 bootstrapper.exe 刻录输出立即失败,下面的日志文件中只有以下输出:
[4568:5744][2021-03-25T14:48:04]i001: Burn v3.11.2.4516, Windows v10.0 (Build 19042: Service Pack 0), path: C:\Users\username\AppData\Local\Temp\{AF64B619-B3D3-4801-AB2D-84F528BB2AF2}\.cr\Bootstrapper.exe
[4568:5744][2021-03-25T14:48:04]i009: Command Line: '-burn.clean.room=C:\SiteWork\Sales\Setup\Bootstrapper\bin\Release\Bootstrapper.exe -burn.filehandle.attached=604 -burn.filehandle.self=608'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\SiteWork\Sales\Setup\Bootstrapper\bin\Release\Bootstrapper.exe'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\SiteWork\Sales\Setup\Bootstrapper\bin\Release\'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\username\AppData\Local\Temp\Installer_20210325144804.log'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleName' to value 'Installer'
[4568:5744][2021-03-25T14:48:04]i000: Setting string variable 'WixBundleManufacturer' to value 'Company name'
[4568:5F54][2021-03-25T14:48:04]i000: Setting version variable '聥' to value '1176.15752.0.0'
任何可能导致此问题的想法? 例如除了升级可能导致此问题的项目引用之外,从 3.6 升级到 3.11 是否需要任何步骤?我不知道要寻找什么(据我所知,没有像单个 .msi 文件那样的冗长开关)
[编辑] “设置版本变量'聥'”位是自wix(&vs2019)升级以来出现的。有趣的是,每次您 运行 (相同的)引导程序时它都会改变。这是什么我不知道...例如
[4144:5C74][2021-03-26T15:27:02]i000: Setting version variable '聥' to value '848.15752.0.0'
[64C4:63A8][2021-03-26T15:27:40]i000: Setting version variable '聥' to value '776.15752.0.0'
我最好的猜测是您有一个自定义的 Bootstrapper 应用程序。 v3.x中没有二进制兼容性,升级时必须重新编译BA。