Mack UR .net v1.1&2.0 from SVCPACK mode

Questions or comments on the switchless installers? Want to create a new one? Talk about it here.
Post Reply
BLACK HAWK
Posts: 4
Joined: Wed Aug 09, 2006 2:49 pm

Mack UR .net v1.1&2.0 from SVCPACK mode

Post by BLACK HAWK » Wed Aug 30, 2006 8:24 pm

HI am back this is a small explination for installing : :idea:

.NET framework v1.1 SP1
.NET framework v2.0 SP1

------------------------------ from svcpack mode.

DOWNLOAD
----------
1- goto microsoft.com and download dotnetfx1.exe.
2- goto microsoft.com and download dotnetfx2.exe.
3- goto microsoft.com and download NDP1.1sp1-KB867460-X86.exe. <<<< OPTIONAL
4- goto microsoft.com and download NDP20-KB917283-X86.exe. <<<< OPTIONAL
5- goto msfn download sleep.zip. <<<< OPTIONAL

FOLDERS
----------------------

6- creat folder in Partition c: call it netfx.
7- creat 2 subfolder in netfx call them fx1 & fx2.


.NET framework v1.1
----------------------

8- run "dotnetfx1.exe" with the "/C" switch (to extract contents).
9- run "NDP1.1sp1-KB867460-X86.exe" with the "/XP" switch (to extract contents).
10- A dialog box asking you where to save the MSP (update patch) comes up,choose where you want to save it.
11- Rename that MSP to SP1.MSP,and place the extracted contents of dotnetfx1.exe in the same directory.
12- open ur command prompet and type that
A-- msiexec /a netfx.msi TARGETDIR="c:\netfx\fx1"
B-- msiexec /p sp1.msp /a c:\netfx\fx1\netfx.msi

.NET framework v2.0
----------------------

13- run "dotnetfx2.exe" with the "/C" switch (to extract contents).
14- open ur command prompet and type that
A-- msiexec /a netfx.msi TARGETDIR="c:\netfx\fx2"

Finalising
-------------

15- EXTRACT sleep.zip to directory c:\netfx\
16- RENAME NDP20-KB917283-X86.exe TO sp21.exe and put it in directory c:\netfx\fx2\

17- OPEN ur notepad and paste this code.

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
%windir%\system32\cmdow @ /HID
@echo off
echo EDIT BY { B.H } <<<< THOS IS FOR ME U CAN DEL IT

echo NET Framework 1.1 sp1
echo ------------------------

START/WAIT %windir%\system32\netfx\fx1\netfx.msi /quiet /norestart
%windir%\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 %windir%\system32\netfx\fx2\netfx.msi ADDEPLOY=1 /quiet /norestart
START/WAIT%windir%\system32\netfx\fx2\sp21.exe /q
%windir%\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

exit
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------

18- save it to what ever u like i will call it z.bat in directory c:\netfx\
19- u now have in directory c:\netfx 2 folders and 2 files ( fx1,fx2,sleep.exe,z.bat )
20- to do the rest u must have winrar
21- add this "fx1 - fx2 - sleep.exe - z.bat" to archive
22- in general select creat sfx archive
23- in advanced select sfx option
A-- PATH TO EXTRACT ENTAR %windir%\system32\netfx
B-- RUN AFTER EXTRACTION %windir%\system32\netfx\z.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=%windir%\system32\netfx
SavePath
Setup=%windir%\system32\netfx\z.bat
Silent=1
Overwrite=1
----------------------------------------------------------
D-- HIT OK AND A SFX WILL RENAME IT TO NETFX.EXE
24- PUT NETFX.EXE IN \I386\svcpack directory
25- EDIT UR SVCPACK.INI AND UNDER [SetupHotfixesToRun] ADD netfx.exe
26- SAVE AND COMPRESS WITH CABINET TO SVCPACK.IN_
27- PUT SVCPACK.IN_ IN \I386 directory
28- u can add del code in the end of batch file to remove all the directory found in ( %windir%\system32\netfx )


THANKES TO prathapml - RyanVM THIR :idea: IDEA :idea: HELP ME ALOT IN WRITING THIES
EXP and i hope it can help 8)

<< BLACK HAWK >>

EGYPT

Peterpan
Posts: 4
Joined: Mon Aug 28, 2006 9:24 pm
Location: Mexico City

change z.bat location

Post by Peterpan » Thu Aug 31, 2006 8:04 am

Hi

thanks for the detailed description.

I'm running WPI in svcpack mode after netfx.
Netfx.exe would run before WPI.
The netfx.exe installation will "complete" already after extraction of the sxf cab file and not after completing the z.bat file. This is causing problems during the WPI installation.

Easy solution was to
a) change netfx.exe so that it will not run z.bat after extraction.
Then
b) add z.bat after netfx.exe in the scvpack.inf.
c) copy z.bat into the SVCPACK directory.

This worked pretty well and WPI only starts now after all is completed.

One question I have though:
I cannot find the usual shortcuts for Net.2 in the Start | Programs | Administrative Tools menu.
Do I do something wrong or is this supposed to be like that?
How to make an easy check that net.2 is installed correctly? I
can see the shortcuts for Net.1.1. As well I can see net1.1 & net2 in "add/remove programs".

Peterpan
try mine, I try yours

BLACK HAWK
Posts: 4
Joined: Wed Aug 09, 2006 2:49 pm

Post by BLACK HAWK » Thu Aug 31, 2006 8:29 pm

ok first thanks for ur reply :D

secend i don't use WPI cose it increase the size of CD

i don't have the shortcuts for Net.2 to but u can check the ( Services ) found in Administrative Tools and searche for

( .NET Runtime Optimization Service v2.0.50727_X86 )

if u found it it's installed correct

i hope it can help 8)
EGYPT

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Thu Aug 31, 2006 9:03 pm

OMG WPI adds less than 2 megs aaaaaaaaaa oh no!!!

If you strip it down it only adds a little over 300 kbs to the disk.

Peterpan
Posts: 4
Joined: Mon Aug 28, 2006 9:24 pm
Location: Mexico City

Post by Peterpan » Fri Sep 01, 2006 12:00 am

Thanks BLACK HAWK for the hint where to check for net.2!
The installation works very well and all is at its place. Really good instructions provided. :D

Maybe an additional recommendation to Kell or Ryan about the [SetupHotfixesToRun] section run priorities after integration.

In my SP2 installation I added in the svcpack.inf before addon etc integration:
[SetupHotfixesToRun]
netfx.exe
z.bat

after integration it will always look like that:
[SetupHotfixesToRun]
netfx.exe
WPIS.bat
z.bat

WPIS.bat always positions itself between netfx.exe and z.bat. This is not desired. WPIS.bat should position itself at the end of all HotfixesToRun.
It should look like this:
[SetupHotfixesToRun]
netfx.exe
z.bat
WPIS.bat

Is there a way to avoid manual editing of svcpck.inf?
Why is WPIS.bat squeezing itself between the 2 entries?

ciao
Peterpan
try mine, I try yours

BLACK HAWK
Posts: 4
Joined: Wed Aug 09, 2006 2:49 pm

Post by BLACK HAWK » Fri Sep 01, 2006 8:13 pm

ok about avoid manual editing of svcpck.inf

i don't know alot of WPI like i said befor but u can semply rename ur

z.bat to eny thing els << but bigen with eny letter befor ( W ) >>

like Asd.bat


i hope this the correct answr to u

plz let me know if it work :?: :!:

:)
EGYPT

Post Reply