Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Install problem with Net framework 4


  • Please log in to reply
6 replies to this topic

#1
zorro1

zorro1

    Junior

  • Member
  • Pip
  • 84 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




How to remove advertisement from MSFN

#2
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,022 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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?
Posted Image

#3
zorro1

zorro1

    Junior

  • Member
  • Pip
  • 84 posts
Hello MagicAndre1981

when i clic on ngen.exe after my pc reboot

#4
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,022 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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...ncy-walker.aspx
Posted Image

#5
dzed

dzed
  • Member
  • 5 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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, 25 January 2012 - 05:53 AM.


#6
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,022 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.
Posted Image

#7
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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, 23 August 2012 - 09:09 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN