【发布时间】:2014-03-04 22:05:20
【问题描述】:
我有一个在 Visual Studio 2010 中构建的 C++ Windows 应用程序,它带有一个安装项目来创建一个 .msi,当用户有一个本地 My Documents 文件夹时可以正常安装,但当他们的 My Documents 文件夹位于网络驱动器上时会失败.
在本地安装时,安装程序会在其My Documents 文件夹中创建Project 和Data 文件夹,但是当我尝试在网络位置使用My Documents 安装到系统时,.msi 失败并显示@987654327 @ 错误信息。查看安装程序日志文件,似乎是在安装程序创建描述Project 和Data 目录的属性时发生故障,而不是在尝试创建和填充这些目录时发生。
是否有人知道如何避免、解决或从该错误中恢复?
现在安装失败并回滚网络上带有“我的文档”的系统。谢谢。
来自 MSI 日志:
"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
Error 1606. Could not access network location \\TOMVEE-W7PC\Users\W8RemoteUserDocs\\eQUEST 3-65 Projects\.
MSI (c) (38:64) [13:13:34:987]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (38:64) [13:13:34:987]: Product: eQUEST 3-65 -- Error 1606. Could not access network location \\TOMVEE-W7PC\Users\W8RemoteUserDocs\\eQUEST 3-65 Projects\.
MSI (c) (38:64) [13:13:34:989]: Note: 1: 1314 2: \\TOMVEE-W7PC\Users\W8RemoteUserDocs\\eQUEST 3-65 Projects\
MSI (c) (38:64) [13:13:34:989]: Note: 1: 1606 2: \\TOMVEE-W7PC\Users\W8RemoteUserDocs\\eQUEST 3-65 Projects\
MSI (c) (38:64) [13:13:34:989]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (38:BC) [13:13:34:991]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
Error 1606. Could not access network location \\TOMVEE-W7PC\Users\W8RemoteUserDocs\\eQUEST 3-65 Projects\.
MSI (c) (38:64) [13:13:39:006]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (38:64) [13:13:39:006]: Product: eQUEST 3-65 -- Error 1606. Could not access network location \\TOMVEE-W7PC\Users\W8RemoteUserDocs\\eQUEST 3-65 Projects\.
MSI (c) (38:64) [13:13:39:007]: Note: 1: 1606 2: \\TOMVEE-W7PC\Users\W8RemoteUserDocs\\eQUEST 3-65 Projects\
MSI (c) (38:64) [13:13:39:007]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (38:BC) [13:13:39:009]: Note: 1: 2262 2: Error 3: -2147287038
我不认为丢失的错误图标是相关的,但也许?
【问题讨论】:
-
当您尝试直接导航到日志中输出的网络位置时会发生什么?
-
这是按用户安装还是按机器安装? (如果是每台机器安装,安装程序将请求提升权限。)
标签: windows visual-studio-2010 networking installation directory-structure