Jump to content

Install problem with Net framework 4


Recommended Posts

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

Link to comment
Share on other sites


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?

Link to comment
Share on other sites

  • 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
Link to comment
Share on other sites

  • 6 months later...

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
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...