Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Install problem with Net framework 4

Featured Replies

Hello, sorry for my poor english

Net 4 and the update installation is going well, without any error. at the restart when I run ngen, t have this error '0xc000007b' and I am obliged to revive the net 4 installation and repair.

do you have an idea for this problem

Thank you

My setupcomplete.cmd

@echo off

for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\sources\install.wim set CDROM=%%i:

REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

SET D=%CDROM%\updates

REG ADD %KEY% /V TITLE /D "Installation des Applications" /f

REG ADD %KEY%\001 /VE /D "Mise … jour de Windows 7..." /f

REG ADD %KEY%\001 /V 1 /D "%D%\windows-kb890830-x64-v4.3.exe /q" /f

REG ADD %KEY%\001 /V 2 /D "%D%\windows6.1-kb2533552-x64.msu /quiet /norestart" /f

REG ADD %KEY%\005 /VE /D "Runtime VC++..." /f

REG ADD %KEY%\005 /V 1 /D "%D%\runtime\vcredist_x64_2005.exe /q" /f

REG ADD %KEY%\005 /V 2 /D "%D%\runtime\vcredist_x64_2008.exe /q" /f

REG ADD %KEY%\005 /V 3 /D "%D%\runtime\vcredist_x64_2010.exe /q" /f

REG ADD %KEY%\005 /V 4 /D "%D%\runtime\vcredist_x86_2008.exe /q" /f

REG ADD %KEY%\005 /V 5 /D "%D%\runtime\vcredist_x86_2005.exe /q" /f

REG ADD %KEY%\005 /V 6 /D "%D%\runtime\vcredist_x86_2010.exe /q" /f

REG ADD %KEY%\010 /VE /D "Runtime Java" /f

REG ADD %KEY%\010 /V 1 /D "%D%\java\Jre16x_x86.exe /s /v\"/qb! ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0 SYSTRAY=0 JU=0 AUTOUPDATECHECK=0 MODIFYREMOVE=modify\"" /f

REG ADD %KEY%\015 /VE /D "Flash Player" /f

REG ADD %KEY%\015 /V 1 /D "%D%\flash\flash_32.exe -install" /f

REG ADD %KEY%\207 /VE /D "Net Framework 4..." /f

REG ADD %KEY%\207 /V 2 /D "%D%\net4\dotNetFx40_client_x86_x64.exe /q /norestart" /f

REG ADD %KEY%\207 /V 3 /D "%D%\net4\dotNetFx40LP_Client_x86_x64fr.exe /q /norestart" /f

REG ADD %KEY%\207 /V 4 /D "%D%\net4\x64\NDP40-KB2468871-v2-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 5 /D "%D%\net4\x64\NDP40-KB2518870-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 6 /D "%D%\net4\x64\NDP40-KB2533523-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 7 /D "%D%\net4\x64\NDP40-KB2539636-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 8 /D "%D%\net4\x64\ndp40-kb2572078-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 9 /D "%D%\net4\x64\ndp40-kb2656351-x64.exe /passive /norestart" /f

REG ADD %KEY%\820 /VE /D "Nettoyage et Red‚marrage" /f

REG ADD %KEY%\820 /V 1 /D "%J%\fin.cmd" /f

EXIT

You get this:


//
// MessageId: STATUS_INVALID_IMAGE_FORMAT
//
// MessageText:
//
// {Bad Image}
// %hs is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.
//
#define STATUS_INVALID_IMAGE_FORMAT ((NTSTATUS)0xC000007BL)

so it looks like a 32Bit DLL was installed were a 64Bit file is expected. When do you see this message?

  • Author

Hello MagicAndre1981

when i clic on ngen.exe after my pc reboot

  • 2 weeks later...

REG ADD %KEY%\207 /VE /D "Net Framework 4..." /f

REG ADD %KEY%\207 /V 2 /D "%D%\net4\dotNetFx40_client_x86_x64.exe /q /norestart" /f

REG ADD %KEY%\207 /V 3 /D "%D%\net4\dotNetFx40LP_Client_x86_x64fr.exe /q /norestart" /f

REG ADD %KEY%\207 /V 4 /D "%D%\net4\x64\NDP40-KB2468871-v2-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 5 /D "%D%\net4\x64\NDP40-KB2518870-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 6 /D "%D%\net4\x64\NDP40-KB2533523-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 7 /D "%D%\net4\x64\NDP40-KB2539636-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 8 /D "%D%\net4\x64\ndp40-kb2572078-x64.exe /passive /norestart" /f

REG ADD %KEY%\207 /V 9 /D "%D%\net4\x64\ndp40-kb2656351-x64.exe /passive /norestart" /f

I have noticed the silent switcher for "Net framework 4+LP+net 4 Hotfix" is wrong, must be like this

dotNetFx40_Full_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT

tested with full and client ver NET Framwork 4

read this in MSDN

.NET Framework Deployment Guide for Administrators


REG ADD %KEY%\207 /VE /D "Net Framework 4..." /f
REG ADD %KEY%\207 /V 2 /D "%D%\net4\dotNetFx40_client_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f
REG ADD %KEY%\207 /V 3 /D "%D%\net4\dotNetFx40LP_Client_x86_x64fr.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f
REG ADD %KEY%\207 /V 4 /D "%D%\net4\x64\NDP40-KB2468871-v2-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f
REG ADD %KEY%\207 /V 5 /D "%D%\net4\x64\NDP40-KB2518870-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f
REG ADD %KEY%\207 /V 6 /D "%D%\net4\x64\NDP40-KB2533523-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f
REG ADD %KEY%\207 /V 7 /D "%D%\net4\x64\NDP40-KB2539636-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f
REG ADD %KEY%\207 /V 8 /D "%D%\net4\x64\ndp40-kb2572078-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f
REG ADD %KEY%\207 /V 9 /D "%D%\net4\x64\ndp40-kb2656351-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f

Edited by dzed

  • 6 months later...

btw, always install C++ 2005 Runtime first. If there are pending update, the setup fails. So install C++ first and next the Win7 updates.

Maybe this information helps somebody.

My NET4 and it works for client

REG ADD %KEY%\1001 /VE /D ".NET Framework 4 Client" /f
REG ADD %KEY%\1001 /V 101 /D "CMD /C Start /Wait D:\APPS\_NET4\dotNetFx40_Client_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f
REG ADD %KEY%\1001 /V 102 /D "CMD /C Start /Wait D:\APPS\_NET4\_NET4updates.cmd" /f

where _NET4updates.cmd is

title .NET Framework NDP40-KB*.exe
cd %~dp0
for %%A in (NDP40*.exe) do %%A /q /norestart /ChainingPackage ADMINDEPLOYMENT
Timeout 5
exit

edit I changed to /q /norestart /ChainingPackage ADMINDEPLOYMENT cause that do work better

Edited by maxXPsoft

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.