Bootstrapper安装失败 - 0x80070645

时间:2012-02-15 14:58:55

标签: wix

使用Burn创建我的设置时,我很难获得链式.msi安装。它似乎正确安装,然后在最后,安装失败对话框0x80070645 - 此操作仅对当前安装的产品有效。 .msi有效负载看起来像是正确安装的,事实上,我在ARP中看到它。我正在使用实例转换。

我在安装之前搜索了注册表,但未找到{3332C54F-3BED-4A25-8699-331A10B0F24E}。

任何帮助,评论或建议都会得到热情,热切和感激的接受......我是这个安装游戏的新手,我有很多东西需要学习。

OS Win7 x64 WiX v3.6.2610.0发布 Visual Studio 2008

这是SetupProject1.msi中的实例转换:

    <Property Id="RADPRODUCTID" Value="UndefinedRADProductID" />

    <InstanceTransforms Property="RADPRODUCTID">
        <Instance Id="Instance1" ProductCode="5D52FCDA-9630-4FED-9D44-B9099AAFE624" ProductName="RADInstance1"/>
        <Instance Id="Instance2" ProductCode="086677C8-07A1-4D1F-B3F9-86C7CF8F3CE4" ProductName="RADInstance2"/>
        <Instance Id="Instance3" ProductCode="3332C54F-3BED-4A25-8699-331A10B0F24E" ProductName="RADInstance3"/>
    </InstanceTransforms>

这是Bundle.wxs代码:                                                                                                         - &GT;                                                             

这是Bootstrapper日志:

        [1938:2568][2012-02-14T09:44:47]: Burn v3.6.2610.0, path: L:\bldtools\Setup\WiX\Bootstrapper3\Bootstrapper3\bin\Debug\Bootstrapper3.exe, cmdline: '-burn.unelevated BurnPipe.{26DF0A77-1345-4393-853C-7BFEAE2DCEEA} {10F18146-372B-4202-AE80-5A4E25729CB9} 6844'
        [1938:2568][2012-02-14T09:44:47]: Setting string variable 'WixBundleLog' to value 'C:\Users\hrody\AppData\Local\Temp\Bootstrapper3_20120214094447.log'
        [1938:2568][2012-02-14T09:44:47]: Setting string variable 'WixBundleName' to value 'Bootstrapper3'
        [1938:2568][2012-02-14T09:44:47]: Setting string variable 'WixBundleOriginalSource' to value 'L:\bldtools\Setup\WiX\Bootstrapper3\Bootstrapper3\bin\Debug\Bootstrapper3.exe'
        [1938:2568][2012-02-14T09:44:48]: Detect 1 packages
        [1938:2568][2012-02-14T09:44:48]: Detected package: SetupProject1.msi, state: Absent, cached: No
        [1938:2568][2012-02-14T09:44:48]: Detect complete, result: 0x0
        [1938:2568][2012-02-14T09:44:52]: Plan 1 packages, action: Install
        [1938:2568][2012-02-14T09:44:52]: Setting string variable 'WixBundleLog_SetupProject1.msi' to value 'C:\Users\hrody\AppData\Local\Temp\Bootstrapper3_20120214094447_0_SetupProject1.msi.log'
        [1938:2568][2012-02-14T09:44:52]: Setting string variable 'WixBundleRollbackLog_SetupProject1.msi' to value 'C:\Users\hrody\AppData\Local\Temp\Bootstrapper3_20120214094447_0_SetupProject1.msi_rollback.log'
        [1938:2568][2012-02-14T09:44:52]: Planned package: SetupProject1.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
        [1938:2568][2012-02-14T09:44:52]: Plan complete, result: 0x0
        [1938:2568][2012-02-14T09:44:52]: Apply begin
        [1ABC:212C][2012-02-14T09:44:52]: Caching bundle from: 'C:\Users\hrody\AppData\Local\Temp\{c1edb98f-61a0-4e47-81cf-093309e0e72b}\.be\Bootstrapper3.exe' to: 'C:\ProgramData\Package Cache\{c1edb98f-61a0-4e47-81cf-093309e0e72b}\Bootstrapper3.exe'
        [1ABC:212C][2012-02-14T09:44:52]: Registering bundle dependency provider: {c1edb98f-61a0-4e47-81cf-093309e0e72b}, version: 1.0.0.0
        [1ABC:1E94][2012-02-14T09:44:53]: Verified acquired payload: SetupProject1.msi at path: C:\ProgramData\Package Cache\.unverified\SetupProject1.msi, moving to: C:\ProgramData\Package Cache\{7CB17298-D56B-40C3-9040-D9CC676F4AFF}v1.0.0.1\SetupProject1.msi.
        [1ABC:1E94][2012-02-14T09:44:53]: Verified acquired payload: cabF52D1B2425057F8281C66111B2795130 at path: C:\ProgramData\Package Cache\.unverified\cabF52D1B2425057F8281C66111B2795130, moving to: C:\ProgramData\Package Cache\{7CB17298-D56B-40C3-9040-D9CC676F4AFF}v1.0.0.1\cab1.cab.
        [1ABC:212C][2012-02-14T09:44:53]: Applying package: SetupProject1.msi, action: Install, path: C:\ProgramData\Package Cache\{7CB17298-D56B-40C3-9040-D9CC676F4AFF}v1.0.0.1\SetupProject1.msi, arguments: ' MSIFASTINSTALL="7" TRANSFORMS=":Instance3" MSINEWINSTANCE="1" INSTALLFOLDER="C:\temp\TestPID3" RADAPPLICATION="TestPID3"'
        [1ABC:212C][2012-02-14T09:44:55]: Error 0x80070645: Failed to register source directory: C:\ProgramData\Package Cache\{7CB17298-D56B-40C3-9040-D9CC676F4AFF}v1.0.0.1; product: {7CB17298-D56B-40C3-9040-D9CC676F4AFF}
        [1ABC:212C][2012-02-14T09:44:55]: Error 0x80070645: Failed to register source directory.
        [1ABC:212C][2012-02-14T09:44:55]: Error 0x80070645: Failed to execute MSI package.
        [1938:2568][2012-02-14T09:44:55]: Error 0x80070645: Failed to configure per-machine MSI package.
        [1938:2568][2012-02-14T09:44:55]: Error 0x80070645: Failed to execute MSI package.
        [1ABC:212C][2012-02-14T09:44:55]: Removing cached package: {7CB17298-D56B-40C3-9040-D9CC676F4AFF}v1.0.0.1, from path: C:\ProgramData\Package Cache\{7CB17298-D56B-40C3-9040-D9CC676F4AFF}v1.0.0.1\
        [1938:2568][2012-02-14T09:44:55]: Error 0x80070645: Failed to execute apply.
        [1ABC:212C][2012-02-14T09:44:55]: Removing bundle dependency provider: {c1edb98f-61a0-4e47-81cf-093309e0e72b}
        [1ABC:212C][2012-02-14T09:44:55]: Removing cached bundle: {c1edb98f-61a0-4e47-81cf-093309e0e72b}, from path: C:\ProgramData\Package Cache\{c1edb98f-61a0-4e47-81cf-093309e0e72b}\
        [1938:2568][2012-02-14T09:44:55]: Apply complete, result: 0x80070645 restart: No

可以在此处找到.msi的日志:

https://sourceforge.net/mailarchive/forum.php?thread_name=77EA17723639BF45A66458C58EAEB9531E591E66%40US-MBX2.ingrnet.com&forum_name=wix-users

Marshall Rody RAD技术咨询 过程,动力和海洋 鹰图公司 300 Intergraph Way,Madison,AL 35758 USA P 1.256.730.3298 F 1.256.730.3200 marshall.rody@intergraph.com,www.intergraph.com http://www.intergraph.com/

1 个答案:

答案 0 :(得分:0)

Per Rob Mensching via。维克斯 - 用户 Burn(不幸的是)还没有处理实例转换。交换 来自“非变形”的MSI将使Burn目前感到困惑。我们的东西 需要解决,但不会在第一个版本中得到它。