Jump to content

Installing .NET Framework 2.0 from SVCPACK


Recommended Posts


Why do you people never extract dotnetfx? Don't you have a few MB left on your CD? It's so much faster to install and less of a hassle with the syntax:

dotnetfx.exe /q:a /c:"install.exe /qb"

Now, if you extract dotnetfx first, it all comes down to

install.exe /qb

On a side note, I'd recommend doing an administrative installation of the dotnet framework and integrating KB917283 into it.

Edit: Yes, I do recommend RunOnceEx - leave svcpack for the updates.

Edited by legionaire
Link to comment
Share on other sites

.NET 2.0 can't be run from svcpack.inf... there was a workaround somewhere.

here:

http://www.msfn.org/board/index.php?showtopic=59614

for this:

Microsoft .NET Framework All-in-One

to run all of the released DotNet including all hotfixes/updates from svcpack.inf; I am typing this on such an install

Edited by RickSteele
Link to comment
Share on other sites

@echo off 
SETLOCAL ENABLEEXTENSIONS
FOR /F "tokens=2* delims= " %%A IN ('reg query "HKLM\SYSTEM\Setup" /v SystemSetupInProgress') DO SET SSIP=%%B
IF /I '%SSIP%'=='0x0' SET SSIP=0
IF /I '%SSIP%'=='0x1' (
SET SSIP=1
) ELSE (
SET SSIP=1
)
IF /I '%SSIP%'=='1' (
reg delete HKLM\Software\Microsoft\PCHealth\ErrorReporting\DW /f
reg add HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f
)
hidec.exe /w msiexec /i netfx2.msi /qn
reg add HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d %SSIP% /f

I wrote this. Been using it for a while. It works. Note the second to last line, hidec.exe /w msiexec /i netfx2.msi /qn. I am using that hidec.exe that RogueSpear includes in all of his silent installers. If you don't want to use that, just modify the syntax of that line. Save this script as a .cmd and put it in with your dnfw2 SFX. ;)

Link to comment
Share on other sites

You run PreNTFX.reg before installing .NET Framework 2.0 and PostNTFX.reg after installing it.

Silent command: You can extract the EXE and create a SFX with the following arguments:

Setup=install.exe /q /1033

TempMode

Silent=1

Overwrite=1

Or: You can use the original EXE to install .NET Framework 2.0 by its MSI directly:

dotnetfx.exe /q /c:"msiexec.exe /i netfx.msi ADDEPLOY=1 /qn"

The reference for MSI idea.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\Setup]

"SystemSetupInProgress"=dword:00000000

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting\DW]

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\Setup]

"SystemSetupInProgress"=dword:00000001

The reg entries were provided by GreenMachine, if I remember correctly.

Link to comment
Share on other sites

Yes, i put it in the beginning, another good example was Sony Ericcsson Sync software, it needed Outlook, and my Office was after Sony installation so it didn't find it, but was easy to fix, just swap these to

Link to comment
Share on other sites

hi friends,

i ahve a question pls do help me or guide me in this i have tried to make my own xp cd and all goes fine. i have integrate sp2 latest version and even wm10 but the prob now is the net frame v 2.0 i want to know how to integrate this netframe and guide or step by step tutor for this i have download a netframe v2.0 7 zip set up file but i dont know how to integrate that into N lite any1 here can let me know it would be mucly appreciate

Thanks

Maran

Link to comment
Share on other sites

finally i am donoe with my xp cd all the addons are integraded anyway thank you guys for the help and the one who reply my post u are grt man thanks to the link i get that addon and its working.

during my cd installation i always have to enter computer name and user thats can it be done unatteded and one more is the workgroup domain thing its so anoying how to by pass it without entering anything during installation

Any1

Thanks

maran

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