Jump to content











Photo
- - - - -

How to update to net framework 4.0.


  • Please log in to reply
9 replies to this topic

#1 Vegaredo

Vegaredo

    Member

  • Members
  • 92 posts
  •  
    Norway

Posted 30 November 2011 - 11:18 AM

How to update to net framework 4.0 without rebuilding the whole project?
This is for a win7pe_SE project.

kind regards Vegard

Edited by Vegaredo, 30 November 2011 - 11:21 AM.


#2 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 30 November 2011 - 02:53 PM

Hello Vegaredo ;)

You can test to install the latest Assessment and Deployment Kit (ADK) from MSDN subscribers download (Windows Developper preview)
Create the C:Mount folder
and after mount your winpe
Imagex /mountrw C:Your_Winpe_Directoryboot.wim 1 C:Mount

cd /d "C:Program Files (x86)Windows Kits8.0Assessment and Deployment KitWindows Preinstallation Environmentamd64WinPE_OCs"

And after install package with Dism
dism /image:C:Mount /add-package /packagepath:"WinPE-NetFx4.cab"

dism /image:C:Mount /add-package /packagepath:"en-usWinPE-NetFx4_en-us.cab"


Commit the changes to the boot image by running the following command:

Imagex /unmount /commit C:Mount


Source: http://www.deploymen...PowerShell.aspx

#3 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 30 November 2011 - 09:58 PM

@Ludovici...Do you really want to recommend that he use "windows 8" and amd64???

@Vegaredo, I would just rebuild the project...Yes, you can always use DISM to modify the WIM file, but in this case, I would think it is easier to just rebuild...(more automated, less chance for error, etc.) But at least you have a choice.

#4 Vegaredo

Vegaredo

    Member

  • Members
  • 92 posts
  •  
    Norway

Posted 01 December 2011 - 09:55 AM

@Ludovici...Do you really want to recommend that he use "windows 8" and amd64???

@Vegaredo, I would just rebuild the project...Yes, you can always use DISM to modify the WIM file, but in this case, I would think it is easier to just rebuild...(more automated, less chance for error, etc.) But at least you have a choice.


I know this may sound wired, but all windows software consist of either files, registry entries and or services. I'd like to know what files, registry changes and services that are changing in the windows system. Do you know a software that do that? See what changes are made to the system. Snapshot before and after;)

#5 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 01 December 2011 - 10:26 AM

You have whatchanged.exe, installrite, regcpe...
@Ludovici...Do you really want to recommend that he use "windows 8" and amd64???
Yes, actually it's the most simple installation of Net Framework 4 in Winpe. If you find better tell me :dubbio:
If Vegaredo has an X86 Winpe, it can also use Windows 8 and X86 in Win7pe

#6 Vegaredo

Vegaredo

    Member

  • Members
  • 92 posts
  •  
    Norway

Posted 01 December 2011 - 10:46 AM

You have whatchanged.exe, installrite, regcpe...
@Ludovici...Do you really want to recommend that he use "windows 8" and amd64???
Yes, actually it's the most simple installation of Net Framework 4 in Winpe. If you find better tell me :dubbio:
If Vegaredo has an X86 Winpe, it can also use Windows 8 and X86 in Win7pe


I can't find the download page for windows aik?

#7 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 01 December 2011 - 11:06 AM

It's difficult to find the last aik
Search with filetube this iso: Windows-developer-preview-adk-ks86-ks64-2011eng

You can also check this forum topic
http://bbs.wuyou.com....php?tid=201489

If you find how to get the Win8PE iso or how to get Net Framework 4 with this forum, tell me (With messenger) ;)

#8 Vegaredo

Vegaredo

    Member

  • Members
  • 92 posts
  •  
    Norway

Posted 01 December 2011 - 01:08 PM

It's difficult to find the last aik
Search with filetube this iso: Windows-developer-preview-adk-ks86-ks64-2011eng

You can also check this forum topic
http://bbs.wuyou.com....php?tid=201489

If you find how to get the Win8PE iso or how to get Net Framework 4 with this forum, tell me (With messenger) ;)


How much space will the .net framework 4 take?
In MB please.
Will it be hard to boot afterword with boot.wim?

#9 interuptor

interuptor
  • Members
  • 6 posts
  •  
    Germany

Posted 15 January 2012 - 09:40 PM

i' ve done a working version of framework 4, but the files and registry entrys are unfiltered.

the script is also too big to post, because i put the Frameworkfiles from working installation in 2 zip files (one for the program files path and one for the windows path).

I post the script without the included zip files. I wish someone could tell me, which registry key are not necessary. Perhaps someone can tell me, how i split the Files like the .net2 project (full, without assemblys, dotnet only or minimal).
I am a beginner in scripting.
I've done the project with total uninstaller and exportet the changes in a filelist an a reg file.
the filelist can be downloaded from http://www.faroh.de/...rk_Filelist.txt

The regfile is converted in the script -> http://www.faroh.de/...ramework.script

Let me know, what you think.

#10 metalphoenix

metalphoenix
  • Members
  • 1 posts
  •  
    United States

Posted 19 October 2012 - 11:01 PM

So... you post the script without the zip files it needs...

Right...

Edited by metalphoenix, 19 October 2012 - 11:40 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users