我希望你做得很好:)
所以,我在做一些关于烧伤,Bootstrapper工具的wix教程。
我试图构建我自己的UI (遵循本教程),当我想运行它时,它就崩溃了。
我已经把这个包括在我的AsseblyInfo.cs里了
[assembly: BootstrapperApplication(
typeof(CustomBootstrapperApplication))]这是我的BootstrapperCore.config
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
<configuration>
<configSections>
<sectionGroup name="wix.bootstrapper" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup, BootstrapperCore">
<section name="host" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection, BootstrapperCore" />
</sectionGroup>
</configSections>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
<supportedRuntime version="v2.0.50727" />
</startup>
<wix.bootstrapper>
<!-- Example only. Use only if the startup/supportedRuntime above cannot discern supported frameworks. -->
<!--
<supportedFramework version="v4\Client" />
<supportedFramework version="v3.5" />
<supportedFramework version="v3.0" />
-->
<!-- Example only. Replace the host/@assemblyName attribute with assembly that implements BootstrapperApplication. -->
<host assemblyName="CustomBA" />
</wix.bootstrapper>
</configuration>我的图书课叫CustomBA。
所有的东西都编译得很好,但是当试图运行*.exe输出文件时,它不能工作。
在查看了日志之后我发现了这个..。
[5364:3710][2020-07-22T13:53:50]i000: Loading managed bootstrapper application.
[5364:3710][2020-07-22T13:53:50]e000: Error 0x8007000b: Failed to create the managed bootstrapper application.
[5364:3710][2020-07-22T13:53:50]e000: Error 0x8007000b: Failed to create UX.
[5364:3710][2020-07-22T13:53:50]e000: Error 0x8007000b: Failed to load UX.
[5364:3710][2020-07-22T13:53:50]e000: Error 0x8007000b: Failed while running 我已经挣扎了好几天了。我可以看到,这个问题发生在许多年前,但没有人能为netFramework4.8和Wix3.11的新版本提供解决方案(我认为这就是问题所在,因为我正在学习的教程使用了NetF 3.5和Wix3.6,我认为是https://learning.oreilly.com/library/view/wix-36-a/9781782160427/ch16s07.html)。这就是我开始新职位的原因。
我希望有人能帮我解决这个问题。亲切的问候:)
发布于 2020-07-23 08:27:30
所以,就像我说的,我也看到了,我的意思是,太多的帖子要求帮助,没有解决办法。然而,在整整几天之后,我发现UI库类和引导程序应用程序必须使用版本x86进行编译。我是用x64编译的,因为我的msi是用这样的拱形构建的。
我希望这能对其他人有所帮助。
https://stackoverflow.com/questions/63034290
复制相似问题