Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6248617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:05:31+00:00 2026-05-24T13:05:31+00:00

My addin target 64 bit Excel requires .NET 4 client profile. When I build

  • 0

My addin target 64 bit Excel requires .NET 4 client profile. When I build installer (VS Setup project), I put .NET 4 client profile in prerequisite.
When I install my AddIn on a PC without .NET framework 4 client profile, my installer tries to download & install it.

However, the installation failed. I have admin right so no permission issue. IT guys told me there is some certificate issue with .NET 4 web installer and I have to use Full installer.

Then I replaced .NET 4 client profile with .NET 4 in prerequisite. But it did not work either. Installer gave the almost the same error.

But if I download .NET 4 installation and install it manually before install my addin, it installs without problem.

Here is error message: (with .NET 4 client profile in prerequisite)
….

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\MyName\AppData\Local\Temp\VSD54E2.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe
WinVerifyTrust returned 0 File trusted Installing using command
‘C:\Users\MyName\AppData\Local\Temp\VSD54E2.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe’
and parameters ‘ /q /norestart /ChainingPackage ClientX64ClickOnce
/lcid 1033’ Process exited with code -2146762482 Status of package
‘Microsoft .NET Framework 4 Client Profile (x86 and x64)’ after
install is ‘InstallFailed’

Edit:
I change .NET Framework 4 client profile to .NET framework 4, installer still failed but I got a slightly different error message.

Component Microsoft .NET Framework 4 (x86 and x64) has failed to
install with the following error message: “A failure occurred
attempting to install the .NET Framework 4 Full.”

The following components failed to install:
– Microsoft .NET Framework 4 (x86 and x64)

See the setup log file located at
‘C:\Users***\AppData\Local\Temp\VSD2403.tmp\install.log’ for more
information.

the log file is: File trusted Running checks for package ‘Microsoft
.NET Framework 4 (x86 and x64)’, phase BeforePackage Reading value
‘Version’ of registry key ‘HKLM\Software\Microsoft\NET Framework
Setup\NDP\v4\Full’ Unable to read registry value Not setting value for
property ‘DotNet40Full_TargetVersion’ The following properties have
been set for package ‘Microsoft .NET Framework 4 (x86 and x64)’:
Running checks for command ‘DotNetFX40\dotNetFx40_Full_setup.exe’
Result of running operator ‘ValueNotEqualTo’ on property ‘InstallMode’
and value ‘HomeSite’: false Skipping ByPassIf because Property
‘DotNet40Full_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
‘DotNetFX40\dotNetFx40_Full_setup.exe’ is ‘Install’ ‘Microsoft .NET
Framework 4 (x86 and x64)’ RunCheck result: Install Needed Verifying
file integrity of
C:\Users\yhou\AppData\Local\Temp\VSD2403.tmp\DotNetFX40\dotNetFx40_Full_setup.exe
WinVerifyTrust returned 0 File trusted Installing using command
‘C:\Users\yhou\AppData\Local\Temp\VSD2403.tmp\DotNetFX40\dotNetFx40_Full_setup.exe’
and parameters ‘ /q /norestart /ChainingPackage FullX64Bootstrapper
/lcid 1033’ Process exited with code -2146762482 Status of package
‘Microsoft .NET Framework 4 (x86 and x64)’ after install is
‘InstallFailed’

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T13:05:31+00:00Added an answer on May 24, 2026 at 1:05 pm

    I changed registry key value State to 0x23c00, worked perfectly!!!

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing
        State    REG_DWORD    0x23c00
    

    For more info see
    http://social.technet.microsoft.com/Forums/en-US/w7itproperf/thread/c273df3c-cdb9-4572-989f-446b4b390b24/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing an Excel Addin using COM Interop from .net. I have a command
My Excel AddIn was targeted to .NET 35 SP1, I just changed it to
When adding a reference to a project I sometimes see the message... The Target
I've created an addin for Excel containing a number of different functions. Now, I
In a VSTO Excel addin the code: Dim XMLDoc As XElement = XElement.Load(XMLFile1.xml) generates
I have a setup project in which I have a custom action that is
Using c#, VS2005, and .NET 2.0. (XP 32 bit) This is a Winforms app
I am trying to programmatically add the following Target to my Visual Studio Project
I'm using InstallShield 2010 Premiere. I have a basic MSI project that install an
I'd like to associate some ANT targets with my project's build in Eclipse. No

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.