Word 2007 加载项安装不适用于 Word 2010

发布于 2024-12-19 17:00:30 字数 6174 浏览 1 评论 0原文

我使用 Visual Studio 2010 开发了一个 Word 2007 加载项,在开发环境中一切正常,但是当我在最终用户计算机上安装该加载项时,出现以下异常:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 6.1.0 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
Unable to read registry value
Not setting value for property 'DotNet40Client_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Bypass'
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Install'
'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck result: Install Needed
Running checks for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R'
Unable to read registry value
Not setting value for property 'VSTORuntimeVersionInstalled'
The following properties have been set for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)':
Running checks for command 'VSTOR40\vstor40_x86.exe'
Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of checks for command 'VSTOR40\vstor40_x86.exe' is 'Install'
Running checks for command 'VSTOR40\vstor40_x64.exe'
Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': true
Result of checks for command 'VSTOR40\vstor40_x64.exe' is 'Bypass'
'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' RunCheck result: Install Needed
EULA for components 'Microsoft .NET Framework 4 Client Profile (x86 and x64)' was accepted.
EULA for components 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' was accepted.
Copying files to temporary directory "C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\"
Downloading files to "C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\"
(12/5/2011 7:48:33 AM) Downloading 'DotNetFX40Client\dotNetFx40_Client_setup.exe' from 'http://go.microsoft.com/fwlink/?linkid=182804' to 'C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\'
Download completed at 12/5/2011 7:48:38 AM
Verifying file integrity of C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe
WinVerifyTrust returned -2146762749
Subject form unknown
(12/5/2011 7:48:38 AM) Downloading 'VSTOR40\vstor40_x86.exe' from 'http://go.microsoft.com/fwlink/?LinkId=158917' to 'C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\'
Download completed at 12/5/2011 7:48:42 AM
Verifying file integrity of C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\VSTOR40\vstor40_x86.exe
WinVerifyTrust returned -2146762749
Subject form unknown
Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)', phase BeforePackage
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
Unable to read registry value
Not setting value for property 'DotNet40Client_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Install'
'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck result: Install Needed
Verifying file integrity of C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe
WinVerifyTrust returned -2146762749
Subject form unknown
Error: Setup has detected that the file 'C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe' has changed since it was initially published.

注意:-

1 - 最终-用户计算机具有 .Net Framework 4.0

2 - 客户端具有 Word 2010

应安装 Word 2007 加载项是否有任何先决条件?

I have developed a word 2007 add-in using Visual Studio 2010, everything is working fine in the Development environment , but when I install the add-in on a end-user computer the following exception appears :

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 6.1.0 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
Unable to read registry value
Not setting value for property 'DotNet40Client_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Bypass'
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Install'
'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck result: Install Needed
Running checks for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R'
Unable to read registry value
Not setting value for property 'VSTORuntimeVersionInstalled'
The following properties have been set for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)':
Running checks for command 'VSTOR40\vstor40_x86.exe'
Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of checks for command 'VSTOR40\vstor40_x86.exe' is 'Install'
Running checks for command 'VSTOR40\vstor40_x64.exe'
Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': true
Result of checks for command 'VSTOR40\vstor40_x64.exe' is 'Bypass'
'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' RunCheck result: Install Needed
EULA for components 'Microsoft .NET Framework 4 Client Profile (x86 and x64)' was accepted.
EULA for components 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' was accepted.
Copying files to temporary directory "C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\"
Downloading files to "C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\"
(12/5/2011 7:48:33 AM) Downloading 'DotNetFX40Client\dotNetFx40_Client_setup.exe' from 'http://go.microsoft.com/fwlink/?linkid=182804' to 'C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\'
Download completed at 12/5/2011 7:48:38 AM
Verifying file integrity of C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe
WinVerifyTrust returned -2146762749
Subject form unknown
(12/5/2011 7:48:38 AM) Downloading 'VSTOR40\vstor40_x86.exe' from 'http://go.microsoft.com/fwlink/?LinkId=158917' to 'C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\'
Download completed at 12/5/2011 7:48:42 AM
Verifying file integrity of C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\VSTOR40\vstor40_x86.exe
WinVerifyTrust returned -2146762749
Subject form unknown
Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)', phase BeforePackage
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
Unable to read registry value
Not setting value for property 'DotNet40Client_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Install'
'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck result: Install Needed
Verifying file integrity of C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe
WinVerifyTrust returned -2146762749
Subject form unknown
Error: Setup has detected that the file 'C:\Users\Mtaraby\AppData\Local\Temp\VSD4EF7.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe' has changed since it was initially published.

Note:-

1 - the end-user computer is having .Net Framework 4.0

2 - the client has word 2010

Is there any prerequisites for Word 2007 add-in should be installed ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

菩提树下叶撕阳。 2024-12-26 17:00:30

您需要安装以下 2 个安装程序

1-Microsoft Visual Studio 2010 Tools for Office Runtime (x86) 安装程序

2-Microsoft .NET Framework 4 安装程序

you shold install the below 2 installer

1-Microsoft Visual Studio 2010 Tools for Office Runtime (x86) Setup

2-Microsoft .NET Framework 4 Setup

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文