none
Problem with word 2007 add-in installation RRS feed

  • Question

  • ·         Hi,

    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 ?

    Any Help Please

    Thanks,


    • Edited by Mtaraby Tuesday, December 6, 2011 7:33 AM
    Monday, December 5, 2011 1:03 PM

Answers

  • I would propose the correct installer is in place as .NET4 requires the later Windows Installer to execute. The actual issue I see is the VSTO4 runtime has not been installed, if you use Word 2007 you will not get the automatic install as you would when using the word 2010

    Regards

    Mike Walker


    Mike Walker MVP - Visual Developer VSTO - Please mark the best replies as Answers ! Owner and CTO FWBS Ltd http://www.fwbs.net Twitter: www.twitter.com/mikewalker74
    • Marked as answer by Mtaraby Wednesday, December 7, 2011 12:39 PM
    Wednesday, December 7, 2011 11:09 AM
    Moderator

All replies

  • Hi Mtaraby,

     

    Thanks for posting in the MSDN Forum.

     

    It seems that the Windows Installer’s version was too older to install your add-in. Do you ensure new version of Windows Installer has been installed on your customer’s computer?

     

    Have a good day,

     

    Tom
    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Wednesday, December 7, 2011 9:32 AM
    Moderator
  • I would propose the correct installer is in place as .NET4 requires the later Windows Installer to execute. The actual issue I see is the VSTO4 runtime has not been installed, if you use Word 2007 you will not get the automatic install as you would when using the word 2010

    Regards

    Mike Walker


    Mike Walker MVP - Visual Developer VSTO - Please mark the best replies as Answers ! Owner and CTO FWBS Ltd http://www.fwbs.net Twitter: www.twitter.com/mikewalker74
    • Marked as answer by Mtaraby Wednesday, December 7, 2011 12:39 PM
    Wednesday, December 7, 2011 11:09 AM
    Moderator