【问题标题】:Delay in custom action自定义操作延迟
【发布时间】:2015-06-11 03:48:41
【问题描述】:

我们在应用程序 (WIX) 中使用了自定义操作。通常在安装设置时,此自定义操作将需要大约 20 分钟才能完成。但是我们的一台客户机器需要 15 个小时才能完成。

我们附上了自定义操作开始和结束详细信息的日志文件详细信息。谁能告诉我为什么某些机器会出现这个问题?

日志:

Action start 14:02:14: REMOVE_DLL.
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI9D80.tmp-\
SFXCA: Binding to CLR version v2.0.50727
Calling custom action Info.MysampleRemoveAll!Info.MysampleRemoveAll.CustomActions.RunMysampleConsole_RemoveAllVersions
MSI (s) (2C:1C) [17:21:32:257]: Running as a service.
Action ended 5:07:50: REMOVE_DLL. Return value 1.
Action start 5:07:50: INSTALL_DLL.
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSIB833.tmp-\
SFXCA: Binding to CLR version v2.0.50727
Calling custom action Info.MysampleInstall!Info.MysampleInstall.CustomActions.RunMysampleConsole_InstallVersion
Action ended 7:54:59: INSTALL_DLL. Return value 1.

截图:

【问题讨论】:

  • 你能发布一个可读版本的日志吗?目标机器的操作系统是什么?自定义操作有什么作用?

标签: wix wix3.8


【解决方案1】:

目标机器的操作系统是Windows 7(64bit)。自定义操作将从 GAC 位置删除程序集。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-05-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-06-14
    • 2013-11-06
    • 1970-01-01
    相关资源
    最近更新 更多