Help - Search - Members - Calendar
Full Version: .net Framework
The CD Forum > Bart's PE Builder > Plugins
balthasar
I have finished my .NET v2.0b plug-in. You can find it here:
http://download.stutterdot.org/dotnetfx2.zip

I welcome any feedback that you could give me. I have only built and tested it in a Windows 2003 environment, but I assume it will work for XP (let me know, eh?). If you run into any problems or think there should be any additions, please feel free to mention it here as well.

Thanks.
MrCobra
While I and other will appreciate the work you did for this, wouldn't it have been better to do 1.1 as 2.0 is still beta? Just a thought.

Thanks for this. I will post back.
balthasar
A 1.1 version is already done tongue.gif You can get it here: http://www.911cd.net/forums/index.php?show...opic=8149&st=0&

2.0b is a very stable beta (virtually no problems whatsoever), and it provides a huge speed increase over 1.1. I already did a similar plug to 1.1 (That was a little smaller), but I didn't bother posting it since the one I linked to above was already done.

Then again, 2.0 takes up heaps of space... I'd only use it if you're planning on burning a PE DVD, not a CD wink.gif
jmhalder
does anyone have a copy of this plugin?, i need .net 2.0b for bikisoft, control software for my ECU's daughterboard in my car (www.bikirom.com) anywho, my HD in my lappy took a crap, and ive used bartPE before, so ive begun getting a PE that has firefox, XPE, .net 2.0, and wireless for my lappy... this link is effectively dead... if anyone has it, email it to me at joes240nismo@yahoo.com
jmhalder
QUOTE (jmhalder @ Nov 30 2005, 12:06 PM)
does anyone have a copy of this plugin?, i need .net 2.0b for bikisoft, control software for my ECU's daughterboard in my car (www.bikirom.com) anywho, my HD in my lappy took a crap, and ive used bartPE before, so ive begun getting a PE that has firefox, XPE, .net 2.0, and wireless for my lappy... this link is effectively dead... if anyone has it, email it to me at joes240nismo@yahoo.com
*


i gotta bump this again now that .net 2.0 isnt beta (AFAIK)
jmhalder
ttt
Ed_P
Have you checked this thread?

http://www.911cd.net/forums//index.php?showtopic=10830
jmhalder
QUOTE (Ed_P @ Dec 10 2005, 11:17 AM)

can somebody back me up on this, but im pretty sure colin finck's .net plugin is ONLY for .net 1.1... im specifically looking for a plugin for .net 2.0
TommyB
balthasar:
Please, could you re-upload your file? I'm searching for a .net framework 2 (!) plugin, and yours is the only one I've found, but your link is dead...

Thanks
jmhalder
yeah, this is the ONLY 2.0 version that exists, but i guess the author deleted it, so if anyone is still hanging on to this, it would be much appreciated, especially since 2.0 is no longer in beta anymore.
jmhalder
bump, is anyone planning on making a .net 2.0 plugin? or does ANYONE have a copy of balthasar's?
kiman
I can't host this file forever, but I'll leave it up for a few days so someone else can get it. I believe it is the plugin you're looking for, but it was in with a bunch of old downloads I had. Hope it's what you needed!

[edit]
jmhalder
sweet mother of Good Grief! badass!, im gonna try this out with the 2.0 final version... let you guys know how it goes, if not i guess ill revert back to the beta. thanks man
kiman
QUOTE (jmhalder @ Dec 28 2005, 11:42 PM) *
sweet mother of Good Grief! badass!, im gonna try this out with the 2.0 final version... let you guys know how it goes, if not i guess ill revert back to the beta. thanks man

No problem and glad I could help!
RvdH
from the info i found on colin finck's website, he's finalizes his .NET plugin 1.1 in the near future and then he's going to work on v2
jmhalder
well, his 1.1 plugin is done now, and i hope this means we can get a 2.0 plugin soon biggrin.gif
ColinFinck
QUOTE (jmhalder @ Jan 3 2006, 06:26 PM) *
well, his 1.1 plugin is done now, and i hope this means we can get a 2.0 plugin soon biggrin.gif

Currently I am working on a .NET 2.0 plugin, but I have massive problems with it. No .NET program starts (a message box appears saying "mscorwks.dll could not be loaded") sad.gif
If someone of you has got an idea, please post it here. At the moment I have no ideas, how to fix this problem.

Best regards,

Colin Finck
RvdH
Have you installed & registred that dll?


[Software.AddReg]
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\104","{NR}","{PATH}\mscorwks.dll|DllRegisterServer"

NR & Path must be adjusted wink.gif
ColinFinck
Edited at 20th February 2006: Now the .NET Framework 2.0 works. See the new thread here.

Thanks for your tip. Unfortunately it did not help.
If I add your line, a message box appears at the XPE start, saying: "Error while executing: X:\i386\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll".
If I try to register the DLL file with regsvr32, a different message box appears. It says: "LoadLibrary failed. The application has failed to start because the application configuration is incorrect".

I have uploaded my current version of the .NET Framework 2.0 plugin for someone, who wants to take a look on it. Maybe it helps solving the problem.
Here is the link: LINK REMOVED: see above

Best regards,

Colin Finck
dcolpitts
QUOTE (ColinFinck @ Jan 17 2006, 09:11 PM) *
A message box appears at the XPE start, saying: "Error while executing: X:\i386\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll".
If I try to register the DLL file with regsvr32, a different message box appears. It says: "LoadLibrary failed. The application has failed to start because the application configuration is incorrect".


Has anyone ever found a resolution to this problem? I have a .Net 2 app that I need to run under PE and I've I'm stuck at the same location... My source is 2003SP1.
Ed_P
QUOTE (dcolpitts @ Jan 13 2008, 02:13 PM) *
Has anyone ever found a resolution to this problem? I have a .Net 2 app that I need to run under PE and I've I'm stuck at the same location... My source is 2003SP1.

Did you look at the new link?
QUOTE (ColinFinck @ Jan 17 2006, 04:11 PM) *
Edited at 20th February 2006: Now the .NET Framework 2.0 works. See the new thread here.
Does it help?
sanbarrow
I use dotnet2 apps on my builts for 2k3 -sp2.
You will have to make sure vcredist2005 is available first.

You also need to set systemsetupinprogress to 0.

I don't use a plugin for dotnet - I just make junctions to assembly and microsoft.net dirs and then apply a patch - this way I only have to load it when I really need it.
dcolpitts
Thanks guys - I finally got it working... I ended up having to create a scrip that does the following to run my .Net 2 app:

CODE
reg delete HKLM\Software\Microsoft\PCHealth\ErrorReporting\DW /f
reg add "HKLM\SYSTEM\Setup" /v "SystemSetupInProgress" /t REG_DWORD /f /d 0
start /wait x:\minint\system32\msiexec.exe /regserver
start /wait x:\vcredist_x86.exe /q
start /wait x:\dotnetfx\install.exe /q
reg add "HKLM\SOFTWARE\Microsoft\.NETFramework" /v "InstallRoot" /t REG_SZ /f /d X:\minint\Microsoft.NET\Framework
reg add "HKLM\SYSTEM\Setup" /v "SystemSetupInProgress" /t REG_DWORD /f /d 0


As long as HKLM\SYSTEM\Setup\SystemSetupInProgress is set to 1, the .NETFramework 2 will not run, even after installation. I had already extracted dotnetfx.exe to the root of the drive (note that PE is installed to a hard drive here - I haven't tried it with a CD yet).
sanbarrow
In case you are interested ...
Found a way to load dotnet2 on demand - without adding any plugins at built-time.

Only works with NTFS-formatted RAM-loading images - but then it only adds a 72 Mb wim-image to your built.

Don't know if dotnet2 is really fully functional - only tested with two apps: VMware VIclient 2.5 and VEEAM FastSCP.

Needs files from WAIK
bilou_gateux
Can you post a link with your full scripts. I don't need a BartPE plugin but rather a working script to check on a real Windows XP (protected with EWF). WAIK files already available.

Maybe have you added dotnet2 scripts into the latest MOA?
sanbarrow
Hi Bilou

there is not much scripting required - here is a summary of what I did:

1. install dotnet2 and capture the changes with regshot or installrite. (its easiest to do this on the same system so that no translation of reg-entries is necessary)

This will result in a maybe 1.6 MB reg-patch and about 235 MB of added files in this directories:
assembly
inf
Microsoft.net
system32
WINSXS

Next I copied these 5 directories into "add2win.wim" - with highest compression this makes a 72 MB package - and copied this wim-image into a vmdk

2. on next boot of BartPE I mount the vmdk and then mount the "add2win.win" to R:\add2win - looks like readonly is suffiecient for my needs.

3. next I copy/junction from R:\add2win to X:\i386 with this batch

CODE
RoboCopy.exe "R:\add2win\system32" "X:\I386\SYSTEM32" *.*     /R:0 /W:0 /E /ZB /COPY:DAT /XO /IT /TEE /FP /NDL /NP /LOG+:"R:\HOME\MOON\DESKTOP\ROBOCOPY.LOG"

RoboCopy.exe "R:\add2win\WINSXS" "X:\I386\WINSXS" *.*         /R:0 /W:0 /E /ZB /COPY:D /XO /NS /NC /NDL /NP /NJH /NJS



if not exist X:\i386\assembly            junction X:\i386\assembly                     R:\add2win\assembly
if not exist X:\i386\Microsoft.net       junction X:\i386\Microsoft.net                R:\add2win\Microsoft.net
if not exist X:\i386\RegisteredPackages  junction X:\i386\RegisteredPackages           R:\add2win\RegisteredPackages

if not exist X:\i386\INF\000             junction X:\i386\INF\000                      R:\add2win\INF\000
if not exist X:\i386\INF\001             junction X:\i386\INF\001                      R:\add2win\INF\001
if not exist X:\i386\INF\005             junction X:\i386\INF\005                      R:\add2win\INF\005
if not exist X:\i386\INF\006             junction X:\i386\INF\006                      R:\add2win\INF\006
if not exist X:\i386\INF\007             junction X:\i386\INF\007                      R:\add2win\INF\007
if not exist X:\i386\INF\008             junction X:\i386\INF\008                      R:\add2win\INF\008
if not exist X:\i386\INF\009             junction X:\i386\INF\009                      R:\add2win\INF\009
if not exist X:\i386\INF\00A             junction X:\i386\INF\00A                      R:\add2win\INF\00A
if not exist X:\i386\INF\00B             junction X:\i386\INF\00B                      R:\add2win\INF\00B
if not exist X:\i386\INF\00C             junction X:\i386\INF\00C                      R:\add2win\INF\00C
if not exist X:\i386\INF\00D             junction X:\i386\INF\00D                      R:\add2win\INF\00D
if not exist X:\i386\INF\00E             junction X:\i386\INF\00E                      R:\add2win\INF\00E
if not exist X:\i386\INF\010             junction X:\i386\INF\010                      R:\add2win\INF\010
if not exist X:\i386\INF\011             junction X:\i386\INF\011                      R:\add2win\INF\011
if not exist X:\i386\INF\012             junction X:\i386\INF\012                      R:\add2win\INF\012
if not exist X:\i386\INF\013             junction X:\i386\INF\013                      R:\add2win\INF\013
if not exist X:\i386\INF\014             junction X:\i386\INF\014                      R:\add2win\INF\014
if not exist X:\i386\INF\015             junction X:\i386\INF\015                      R:\add2win\INF\015
if not exist X:\i386\INF\019             junction X:\i386\INF\019                      R:\add2win\INF\019
if not exist X:\i386\INF\01D             junction X:\i386\INF\01D                      R:\add2win\INF\01D
if not exist X:\i386\INF\01F             junction X:\i386\INF\01F                      R:\add2win\INF\01F
if not exist X:\i386\INF\404             junction X:\i386\INF\404                      R:\add2win\INF\404
if not exist X:\i386\INF\416             junction X:\i386\INF\416                      R:\add2win\INF\416
if not exist X:\i386\INF\804             junction X:\i386\INF\804                      R:\add2win\INF\804
if not exist X:\i386\INF\816             junction X:\i386\INF\816                      R:\add2win\INF\816
if not exist X:\i386\INF\inc             junction X:\i386\INF\inc                      R:\add2win\INF\inc
X:\I386\SYSTEM32\shell\RoboCopy.exe "R:\add2win\inf" "X:\I386\inf" *.*             /R:0 /W:0 /ZB /COPY:DAT /XO /IT /TEE /FP /NDL /NP /LOG+:"R:\HOME\MOON\DESKTOP\ROBOCOPY.LOG"


exit


With the dirs "assembly" and "Microsoft.net" I can do a junction - with the dirs "inf", "system32" and "WINSXS" I use robocopy to only copy newer files.

Actually I only have to copy a few MBs to the running system - if your EWF-filter allows 16 MB of free space you should be able to do the same.

4. finally I have to apply
regedit /s r:\setupoff.reg
regedit /s r:\framework2.reg
this patches.

No starting of services or other actions are required.
The whole procedure takes about 10 seconds.

Bilou - I doubt that 2k3-sp2 uses the same files and registry as you would need for XP - anyway I uploaded my filelist to

http://sanbarrow.com/moa23/files/filelist-add2win.txt

the batch I use is here
http://sanbarrow.com/moa23/files/add2win-cmd.cmd

and the framework2.reg is here
http://sanbarrow.com/moa23/files/framework2.reg

Warning - this patch needs a clean-up - it still includes some "background-noise"

the setupoff.reg is a simple

CODE
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\Setup]

"SystemSetupInProgress"=dword:00000000


Hope this helps ...

Hey - one nasty trap that just comes to my mind again:
watch out when copying the "assembly" dir - in 2k3-sp2 there is a junction from
X:\I386\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a
to
X:\I386\WINSXS\x86_System.EnterpriseServices_b03f5f7f11d50a3a_2.0.0.0_x-ww_7d5f3790
- either create the same junction or simply copy the two files
System.EnterpriseServices.dll
System.EnterpriseServices.Wrapper.dll
to "assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a" manually.
Don't know if this applies to XP-sp2 ?

Ulli
sanbarrow
Oops - forgot to list the files that go to commn-files dir:

R:\programs\common\microsoft shared\DW
R:\programs\common\microsoft shared\DW\DW20.EXE
R:\programs\common\microsoft shared\DW\DWDCW20.DLL
R:\programs\common\microsoft shared\DW\DWTRIG20.EXE
R:\programs\common\microsoft shared\DW\1025\DWINTL20.DLL
R:\programs\common\microsoft shared\DW\1028\DWINTL20.DLL
R:\programs\common\microsoft shared\DW\1031\DWINTL20.DLL
R:\programs\common\microsoft shared\DW\1033\DWINTL20.DLL
R:\programs\common\microsoft shared\DW\1036\DWINTL20.DLL
R:\programs\common\microsoft shared\DW\1040\DWINTL20.DLL
R:\programs\common\microsoft shared\DW\1041\DWINTL20.DLL
R:\programs\common\microsoft shared\DW\1042\DWINTL20.DLL
R:\programs\common\microsoft shared\DW\2052\DWINTL20.DLL
R:\programs\common\microsoft shared\DW\3082\DWINTL20.DLL

I didn't add them to the add2win.wim as the programs-and-home drive R: usually is writeable with my builts - so I only have to add files once ...
Sorry

Ulli
sanbarrow
made a vmware-codec-movie of a bootup that loads dotnet on the fly and starts dotnet2 apps - 1.5 MB 7zipped

first dotnet2-app is available 2.30 minutes after starting boot - no plugin required
http://sanbarrow.com/moa23/files/moa23-exp...entalstartup.7z
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.