QUOTE (Super-Magician @ Jan 14 2007, 12:59 AM)

I have made at least three posts in this exact forum linking to
RogueSpear's .NET 2.0 installer. Please search more closely before asking.
I found that link the other day in another post on this forum -- don't remember if it was you or someone else. But just like the other one, I get a page with a login box. So I went to that forum's main page and did a search for "framework" and for "net", neither of which got me what I was looking for. So I suppose it isn't located in a thread of its own. I also went to the root URL (main site) and couldn't find it there either.
Yes, I have had the same problem... but I have made by myself a silent installer for both 1.1 and 2.0 net framework, I'll post the instructions below (found on RyanVM site), so you can create a web page on your site (so nobody ask you for net framework problem
).
I have only an issue, if I install net framework 2.0 language pack at T-13 (1.1 net framework works at T-13, but 2.0 doesn't.. bah), when I search for update with Windows update, it tell me that it isn't installed. So this is my question: there is a way, in hfslip directory, to install this language pack at first logon like "RunOnceEx.cmd" (http://unattended.msfn.org/unattended.xp/view/web/59/) do?
These are the instructions I have found, can you add these instructions to your website?
.NET framework v1.1 SP1
.NET framework v2.0 SP1
------------------------------ from svcpack mode.
What you need
----------
1- goto microsoft.com, download & rename in
dotnetfx1.exe2- goto microsoft.com and download
NDP1.1sp1-KB867460-X86.exe3- goto microsoft.com and download
NDP1.1sp1-KB886903-X86.exe4(optional)- goto microsoft.com, choose your language, download & rename in
langpack1.exe5- goto microsoft.com, download & rename in
dotnetfx2.exe6- goto microsoft.com and download
NDP20-KB917283-X86.exe7- goto microsoft.com and download
NDP20-KB922770-X86.exe8- goto msfn site and download
sleep.zip9- You need Winrar
FOLDERS
----------------------
10- create folder in Partition c: call it netfx.
11- create 3 subfolder in netfx call them fx1, fx2 and temp.
.NET framework v1.1
----------------------
12- run "dotnetfx1.exe" with the "/C" switch for extracting the contents to C:\netfx\temp folder.
13- run "NDP1.1sp1-KB867460-X86.exe" with the "/XP" switch, a dialog box asking you where to save the MSP file, extract it to C:\netfx\temp folder.
14- run "NDP1.1sp1-KB886903-X86.exe" with the "/XP" switch, a dialog box asking you where to save the MSP file, extract it to C:\netfx\temp folder.
15- open your command prompt and type these instructions:
CODE
A-- msiexec /a C:\netfx\temp\netfx.msi TARGETDIR="C:\netfx\fx1"
NOTE: You MUST wait until a dialog box show that the installation is complete!
B-- msiexec /p C:\netfx\temp\S867460.msp /a C:\netfx\fx1\netfx.msi
C-- msiexec /p C:\netfx\temp\M886903.msp /a C:\netfx\fx1\netfx.msi
16(optional)- Extract the contents of language1.exe with the "/C" switch, a dialog box asking you where to save the files, extract them to C:\netfx\fx1\language
And Now
---------
You have the updated pack for 1.1 net framework in C:\netfx\fx1, delete all the contents in C:\netfx\temp, because we need a clean temp directory for integrate the hotfix for 2.0 net framework.
.NET framework v2.0
----------------------
17- run "dotnetfx2.exe" with the "/C" switch for extracting the contents to C:\netfx\temp folder.
18- run "NDP20-KB917283-X86.exe" with the "/EXTRACT" switch, a dialog box asking you where to save the MSP file, extract it to C:\netfx\temp folder.
19- run "NDP20-KB922770-X86.exe" with the "/EXTRACT" switch, a dialog box asking you where to save the MSP file, extract it to C:\netfx\temp folder.
20- open your command prompt and type these instructions:
CODE
A-- msiexec /a C:\netfx\temp\netfx.msi TARGETDIR="c:\netfx\fx2"
B-- msiexec /p C:\netfx\temp\NDP20-KB917283-X86.msp /a C:\netfx\fx2\netfx.msi
C-- msiexec /p C:\netfx\temp\NDP20-KB922770-X86.msp /a C:\netfx\fx2\netfx.msi
And Now
---------
You have the updated pack for 1.1 net framework in C:\netfx\fx1, and 2.0 net framework in C:\netfx\fx2.
Delete the directory C:\netfx\temp with all inside contents, we don't need it at all.
Finalising
-------------
21- EXTRACT sleep.zip to directory c:\netfx\
22- Create a file named "inst.bat" and paste this code, NOTE: There is a line for 1.1 language pack that can be removed.
CODE
@ECHO off
IF EXIST %SystemRoot%\system32\cmdow.exe cmdow @ /HID
ECHO NET Framework 1.1 sp1
ECHO ------------------------
START/WAIT %SystemRoot%\system32\netfx\fx1\netfx.msi /quiet /norestart
REM ###The line below is optional###
START/WAIT %SystemRoot%\system32\netfx\fx1\language\inst.exe /qb
%SystemRoot%\system32\netfx\sleep.exe 10
ECHO NET Framework 2.0 sp1
ECHO ------------------------
REG DELETE HKLM\Software\Microsoft\PCHealth\ErrorReporting\DW /f
REG ADD HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f
START/WAIT %SystemRoot%\system32\netfx\fx2\netfx.msi ADDEPLOY=1 /quiet /norestart
%SystemRoot%\system32\netfx\sleep.exe 5
REG ADD HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 1 /f
REG ADD HKLM\Software\Microsoft\PCHealth\ErrorReporting\DW\Installed /v DW0200 /t REG_SZ /d C:\PROGRA~1\COMMON~1\MICROS~1\DW\DW20.EXE /f
ECHO Delete Temp Files
ECHO ------------------------
RD %SystemRoot%\system32\netfx /S /Q
EXIT
23- now you have in directory c:\netfx 2 folders and 2 files ( fx1,fx2,sleep.exe,inst.bat )
24- to do the rest you MUST have Winrar
25- add this "fx1 - fx2 - sleep.exe - inst.bat" to archive
26- in general select creat sfx archive
27- in advanced select sfx option
A-- PATH TO EXTRACT ENTER %SystemRoot%\system32\netfx
B-- RUN AFTER EXTRACTION %SystemRoot%\system32\netfx\inst.bat
C-- goto modes select 1- hide all 2- overwrite all files
<<THE CODE WILL BE LIKE>>
----------------------------------------------------------
;The comment below contains SFX script commands
Path=%SystemRoot%\system32\netfx
SavePath
Setup=%SystemRoot%\system32\netfx\z.bat
Silent=1
Overwrite=1
----------------------------------------------------------
D-- Hit OK and a sfx file will create, rename it to netfx.exe
Now you can add the file netfx.exe to HFSLIP\HFSVCPACK, for installing net framework contents!!!