从本地驱动器上的MSI“您正在尝试访问的功能…" [英] “The feature you are trying to access…” from MSI on local drive

查看:132
本文介绍了从本地驱动器上的MSI“您正在尝试访问的功能…"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是

This is a follow-up on this question, which was solved by locating the installation package on a local drive.

不幸的是,似乎在某些计算机上,这不能解决问题.

Unfortunately, it seems that on some machines, this doesn't solve it.

我有以下可用的日志

=== Verbose logging started: 03.07.2013  23:17:03  Build type: SHIP UNICODE 4.05.6001.00  Calling process: C:\WINDOWS\system32\msiexec.exe ===
Resetting cached policy values
Machine policy value 'Debug' is 0
******* RunEngine:
       ******* Product: C:\myInstallation.msi
       ******* Action: 
       ******* CommandLine: **********
Machine policy value 'DisableUserInstalls' is 0
User policy value 'SearchOrder' is 'nmu'
User policy value 'DisableMedia' is 0
Machine policy value 'AllowLockdownMedia' is 1
SOURCEMGMT: Looking for sourcelist for product {88D5305B-8FC3-4197-8482-5383FC7683ED}
SOURCEMGMT: Adding {88D5305B-8FC3-4197-8482-5383FC7683ED}; to potential sourcelist list (pcode;disk;relpath).
SOURCEMGMT: Now checking product {88D5305B-8FC3-4197-8482-5383FC7683ED}
SOURCEMGMT: Attempting to use LastUsedSource from source list.
SOURCEMGMT: Trying source C:\Documents and Settings\user123\Local Settings\Temporary Internet Files\Content.IE5\FALCNH9A\.
Note: 1: 2203 2: C:\Documents and Settings\user123\Local Settings\Temporary Internet Files\Content.IE5\FALCNH9A\myInstallation[1].msi 3: -2147287037 
SOURCEMGMT: Source is invalid due to missing/inaccessible package.
Note: 1: 1706 2: -2147483647 3: myInstallation[1].msi 
SOURCEMGMT: Processing net source list.
Note: 1: 1706 2: -2147483647 3: myInstallation[1].msi 
SOURCEMGMT: Processing media source list.
Note: 1: 2203 2:  3: -2147287037 
SOURCEMGMT: Source is invalid due to missing/inaccessible package.
Note: 1: 1706 2: -2147483647 3: myInstallation[1].msi 
SOURCEMGMT: Processing URL source list.
Note: 1: 1402 2: UNKNOWN\URL 3: 2 
Note: 1: 1706 2: -2147483647 3: myInstallation[1].msi 
Note: 1: 1706 2:  3: myInstallation[1].msi 
User policy value 'SearchOrder' is 'nmu'
SOURCEMGMT: Prompting user for a valid source.
Machine policy value 'DisableBrowse' is 0
Machine policy value 'AllowLockdownBrowse' is 0
SOURCEMGMT: Browsing is enabled.
Font created.  Charset: Req=0, Ret=0, Font: Req=, Ret=Arial
SOURCEMGMT: Now checking product {88D5305B-8FC3-4197-8482-5383FC7683ED}
SOURCEMGMT: Attempting to use LastUsedSource from source list.
Note: 1: 1706 2:  3: myInstallation[1].msi 
SOURCEMGMT: Processing net source list.
Note: 1: 1706 2: -2147483647 3: myInstallation[1].msi 
SOURCEMGMT: Processing media source list.
SOURCEMGMT: Trying media source ;.
Note: 1: 1706 2:  3: myInstallation[1].msi 
SOURCEMGMT: Processing URL source list.
Note: 1: 1402 2: UNKNOWN\URL 3: 2 
Note: 1: 1706 2: -2147483647 3: myInstallation[1].msi 
Note: 1: 1706 2:  3: myInstallation[1].msi 
SOURCEMGMT: Failed to resolve source
MainEngineThread is returning 1612
=== Verbose logging stopped: 03.07.2013  23:17:41 ===

但是我无法真正从中获取任何有用的信息,这与第一个问题很明显,在第一个问题中,显然运行安装包的驱动器实际上是网络驱动器.

But I can't really draw any useful information out of it, different from the first question where it was clear that the drive the installation package was run from is actually a network drive.

在这种情况下,安装直接位于C:\下,但是MSI仍然以某种方式尝试在Internet Explorer缓存文件中找到某些内容,而我对此一无所知.

In this case though, the installation resides directly under C:\, but somehow MSI still tries to locate something in Internet Explorers cache files, which I can't wrap my head around.

这是怎么回事,我该如何解决?

What's happening here and how can I fix it?

UPDATE

UPDATE

尝试命令后

C:\> msiexec /i myInstallation.msi REINSTALL=ALL REINSTALLMODE=vomus /qb

我看到一个错误窗口

尝试从文件C:\ myInstallation [1] .msi读取时发生网络错误

A network error ocurred while attempting to read from the file C:\myInstallation[1].msi

当我执行(刷新)C:中的所有内容时,怎么办?

How can this happen when I'm executing (and refreshing) everything from C:?

推荐答案

有人下载了MSI,然后单击打开",因此从缓存中安装了MSI.这是一个短暂的地点,所以现在您在哪里.

Someone downloaded an MSI and clicked Open so the MSI was installed from the cache. This was an ephemeral location so now you are where you are.

您可以从某个地方获取此MSI的副本吗?如果是这样,请将其复制到要从中缓存的位置,然后运行命令msiexec/i foo.msi REINSTALL = ALL REINSTALLMODE = vomus/qb.现在它将被缓存在那里.

Can you obtain a copy of this MSI from somewhere? If so, copy it to a location you want it to be cached from and run the command msiexec /i foo.msi REINSTALL=ALL REINSTALLMODE=vomus /qb. It will now be cached there.

如果您需要编程的话,有些API会做同样的事情.

There are APIs that do the same thing if you need it to be programatic.

安装程序功能参考

MsiSourceListAddSource

在指定的位置添加或重新排序补丁或产品的来源 上下文.

Adds or reorders the sources of a patch or product in a specified context.

MsiSourceListAddSourceEx

在指定的位置添加或重新排序补丁或产品的来源 语境.为不存在的修补程序创建源列表 指定的上下文.在Windows Installer 3.0中可用.

Adds or reorders the sources of a patch or product in a specified context. Creates a source list for a patch that does not exist in a specified context. Available in Windows Installer 3.0.

MsiSourceListClearSource

删除指定产品或补丁的现有来源 语境.在Windows Installer 3.0中可用.

Removes an existing source for a product or patch in a specified context. Available in Windows Installer 3.0.

MsiSourceListClearAll

删除特定来源类型的所有现有来源, 指定的产品实例.

Removes all the existing sources of a specific source type for a specified product instance.

MsiSourceListClearAllEx

删除特定来源类型的所有现有来源, 指定的产品实例.在Windows Installer 3.0中可用.

Removes all the existing sources of a specific source type for a specified product instance. Available in Windows Installer 3.0.

MsiSourceListForceResolution

删除当前产品来源的注册,或 补丁,已注册为属性"LastUsedSource".这 功能不会影响已注册的来源列表.

Removes the registration of the current source of the product or patch, which is registered as the property "LastUsedSource". This function does not affect the registered source list.

MsiSourceListForceResolutionEx

删除当前产品来源的注册,或 补丁,已注册为属性"LastUsedSource".这 功能不会影响已注册的来源列表.可用于 Windows Installer 3.0.

Removes the registration of the current source of the product or patch, which is registered as the property "LastUsedSource". This function does not affect the registered source list. Available in Windows Installer 3.0.

MsiSourceListGetInfo

检索有关产品或补丁的来源列表的信息 特定的上下文.

Retrieves information about the source list for a product or patch in a specific context.

MsiSourceListSetInfo

设置产品或补丁程序中最近使用的来源 指定的上下文.在Windows Installer 3.0中可用.

Sets the most recently used source for a product or patch in a specified context. Available in Windows Installer 3.0.

MsiSourceListEnumMediaDisks

枚举为媒体源注册的磁盘列表 补丁或产品.在Windows Installer 3.0中可用.

Enumerates the list of disks registered for the media source for a patch or product. Available in Windows Installer 3.0.

MsiSourceListAddMediaDisk

添加或更新已注册产品的媒体源的磁盘或 修补.在Windows Installer 3.0中可用.

Adds or updates a disk of the media source of a registered product or patch. Available in Windows Installer 3.0.

MsiSourceListClearMediaDisk

在介质源下删除现有的已注册磁盘,以用于 产品或补丁在特定情况下. Windows Installer中可用 3.0.

Removes an existing registered disk under the media source for a product or patch in a specific context. Available in Windows Installer 3.0.

MsiSourceListEnumSources

枚举指定补丁程序的来源列表中的来源,或者 产品.在Windows Installer 3.0中可用.

Enumerates the sources in the source list of a specified patch or product. Available in Windows Installer 3.0.

这篇关于从本地驱动器上的MSI“您正在尝试访问的功能…"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆