zorro1 Posted January 10, 2012 Share Posted January 10, 2012 Hello, sorry for my poor englishNet 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 problemThank youMy setupcomplete.cmd@echo offfor %%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\RunOnceExSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExSET D=%CDROM%\updatesREG ADD %KEY% /V TITLE /D "Installation des Applications" /fREG ADD %KEY%\001 /VE /D "Mise … jour de Windows 7..." /fREG ADD %KEY%\001 /V 1 /D "%D%\windows-kb890830-x64-v4.3.exe /q" /fREG ADD %KEY%\001 /V 2 /D "%D%\windows6.1-kb2533552-x64.msu /quiet /norestart" /fREG ADD %KEY%\005 /VE /D "Runtime VC++..." /fREG ADD %KEY%\005 /V 1 /D "%D%\runtime\vcredist_x64_2005.exe /q" /fREG 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" /fREG ADD %KEY%\005 /V 4 /D "%D%\runtime\vcredist_x86_2008.exe /q" /fREG ADD %KEY%\005 /V 5 /D "%D%\runtime\vcredist_x86_2005.exe /q" /fREG ADD %KEY%\005 /V 6 /D "%D%\runtime\vcredist_x86_2010.exe /q" /fREG ADD %KEY%\010 /VE /D "Runtime Java" /fREG 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\"" /fREG ADD %KEY%\015 /VE /D "Flash Player" /fREG ADD %KEY%\015 /V 1 /D "%D%\flash\flash_32.exe -install" /fREG ADD %KEY%\207 /VE /D "Net Framework 4..." /fREG ADD %KEY%\207 /V 2 /D "%D%\net4\dotNetFx40_client_x86_x64.exe /q /norestart" /fREG ADD %KEY%\207 /V 3 /D "%D%\net4\dotNetFx40LP_Client_x86_x64fr.exe /q /norestart" /fREG ADD %KEY%\207 /V 4 /D "%D%\net4\x64\NDP40-KB2468871-v2-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 5 /D "%D%\net4\x64\NDP40-KB2518870-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 6 /D "%D%\net4\x64\NDP40-KB2533523-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 7 /D "%D%\net4\x64\NDP40-KB2539636-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 8 /D "%D%\net4\x64\ndp40-kb2572078-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 9 /D "%D%\net4\x64\ndp40-kb2656351-x64.exe /passive /norestart" /fREG ADD %KEY%\820 /VE /D "Nettoyage et Red‚marrage" /fREG ADD %KEY%\820 /V 1 /D "%J%\fin.cmd" /fEXIT Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted January 10, 2012 Share Posted January 10, 2012 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 More sharing options...
zorro1 Posted January 10, 2012 Author Share Posted January 10, 2012 Hello MagicAndre1981 when i clic on ngen.exe after my pc reboot Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted January 10, 2012 Share Posted January 10, 2012 Use Dependency Walker to see which wrong DLL is loaded.This guide is for searching for missing DLLs, but the same way can be used to see which DLL is bad:http://blogs.technet.com/b/askperf/archive/2010/06/25/analyze-application-failures-the-easier-way-with-dependency-walker.aspx Link to comment Share on other sites More sharing options...
dzed Posted January 25, 2012 Share Posted January 25, 2012 (edited) REG ADD %KEY%\207 /VE /D "Net Framework 4..." /fREG ADD %KEY%\207 /V 2 /D "%D%\net4\dotNetFx40_client_x86_x64.exe /q /norestart" /fREG ADD %KEY%\207 /V 3 /D "%D%\net4\dotNetFx40LP_Client_x86_x64fr.exe /q /norestart" /fREG ADD %KEY%\207 /V 4 /D "%D%\net4\x64\NDP40-KB2468871-v2-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 5 /D "%D%\net4\x64\NDP40-KB2518870-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 6 /D "%D%\net4\x64\NDP40-KB2533523-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 7 /D "%D%\net4\x64\NDP40-KB2539636-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 8 /D "%D%\net4\x64\ndp40-kb2572078-x64.exe /passive /norestart" /fREG ADD %KEY%\207 /V 9 /D "%D%\net4\x64\ndp40-kb2656351-x64.exe /passive /norestart" /fI have noticed the silent switcher for "Net framework 4+LP+net 4 Hotfix" is wrong, must be like thisdotNetFx40_Full_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENTtested with full and client ver NET Framwork 4read this in MSDN.NET Framework Deployment Guide for AdministratorsREG ADD %KEY%\207 /VE /D "Net Framework 4..." /fREG ADD %KEY%\207 /V 2 /D "%D%\net4\dotNetFx40_client_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /fREG ADD %KEY%\207 /V 3 /D "%D%\net4\dotNetFx40LP_Client_x86_x64fr.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /fREG ADD %KEY%\207 /V 4 /D "%D%\net4\x64\NDP40-KB2468871-v2-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /fREG ADD %KEY%\207 /V 5 /D "%D%\net4\x64\NDP40-KB2518870-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /fREG ADD %KEY%\207 /V 6 /D "%D%\net4\x64\NDP40-KB2533523-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /fREG ADD %KEY%\207 /V 7 /D "%D%\net4\x64\NDP40-KB2539636-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /fREG ADD %KEY%\207 /V 8 /D "%D%\net4\x64\ndp40-kb2572078-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /fREG ADD %KEY%\207 /V 9 /D "%D%\net4\x64\ndp40-kb2656351-x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /f Edited January 25, 2012 by dzed Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted August 12, 2012 Share Posted August 12, 2012 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. Link to comment Share on other sites More sharing options...
maxXPsoft Posted August 13, 2012 Share Posted August 13, 2012 (edited) My NET4 and it works for clientREG ADD %KEY%\1001 /VE /D ".NET Framework 4 Client" /fREG ADD %KEY%\1001 /V 101 /D "CMD /C Start /Wait D:\APPS\_NET4\dotNetFx40_Client_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT" /fREG ADD %KEY%\1001 /V 102 /D "CMD /C Start /Wait D:\APPS\_NET4\_NET4updates.cmd" /fwhere _NET4updates.cmd istitle .NET Framework NDP40-KB*.execd %~dp0for %%A in (NDP40*.exe) do %%A /q /norestart /ChainingPackage ADMINDEPLOYMENTTimeout 5exitedit I changed to /q /norestart /ChainingPackage ADMINDEPLOYMENT cause that do work better Edited August 23, 2012 by maxXPsoft Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now