我有一个C++ Windows应用程序内置在Visual Studio 2010中用安装项目创建.msi,当用户有本地My Documents
文件夹时安装正常,但当它们My Documents
文件夹位于网络驱动器上。当安装在网络驱动器上的目录时,Windows安装程序无法访问网络位置
在本地安装,安装在他们的My Documents
文件夹中创建Project
和Data
文件夹,但是当我尝试在网络位置与My Documents
安装到系统中,.msi失败与cannot access network location
错误消息。查看安装程序日志文件,看起来安装程序正在创建描述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
我不认为缺少的错误图标是相关的,但也许?
什么,当你尝试直接导航到在日志输出的网络位置发生了什么? – admdrew
这是按用户安装还是按机器安装? (如果是每台机器安装,安装程序将要求提升权限。) –