Jump to content

.NET Framework 1.1 Service Pack


Recommended Posts


First check that the folder you are going to compress has only 3 objects - 2 folders and one MSI. (you can have the few KB sized install.exe if you need it)

Then just compress this set into a RAR with "Compression method" drop-down box set to "Best" and "Solid Archive" checked.

Link to comment
Share on other sites

8. Now you can compress it to SFX (if compressed it will be just 17.5 MB, if left uncompressed it is 56.2 MB). And set it to silently extract.

;The comment below contains SFX script commands

Setup=Netfx.msi /qn /norestart 

TempMode

Silent=1

Overwrite=1

I'm sorry to say, but this method doesn't work for me :(

1) My start.cmd looks like this:

CLS
@echo off
TITLE Windows XP SP2 - Unattended Installation

ECHO.
ECHO Over the next few minutes you will see automated installations
ECHO of various sofware applications, windows updates, and registry
ECHO tweaks being implemented. The computer will restart automatically
ECHO once the whole process has finished!

ren "%WINDIR%\Web\Wallpaper\bliss.bmp" bliss-old.bmp
copy /Y "%systemdrive%\install\hda1024.bmp" "%WINDIR%\Web\Wallpaper\bliss.bmp"

ECHO.
ECHO Removing useless shortcuts ...
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"

ECHO.
ECHO Renaming Administrator account ...
renuser Administrator admin

ECHO.
ECHO Applying Registry Tweaks ...
REGEDIT /S %systemdrive%\install\HDAreg_tweaks.reg


ECHO.
ECHO Starting installation of Applications ...

ECHO.
ECHO Installing Adobe Reader 6
ECHO Please wait...
start /wait %systemdrive%\install\Apps\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""

ECHO.
ECHO Installing ffdshow 2004-08-08
ECHO Please wait...
start /wait %systemdrive%\install\Apps\ffdshow\ffdshow-20040808.exe /S /f

ECHO.
ECHO Installing .NET Framework v1.1 with SP1
ECHO Please wait...
start /wait %systemdrive%\install\Apps\netfxsp1\netfxsp1.exe


ECHO.
ECHO Restarting the PC in 1 minute ...
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO.
ECHO Deleting Temp Installation Files ...
RD /S /Q %systemdrive%\Drivers
RD /S /Q %systemdrive%\install

EXIT

2) RAR SFX's comment is like the one quoted above.

But, after the exiting of the start.cmd NETFXSP1 is not installed :}

If I start only that RAR SFX after the "60sec restart" it installs just fine with no problem.

But via start.cmd it will not.

Link to comment
Share on other sites

First check that the folder you are going to compress has only 3 objects - 2 folders and one MSI. (you can have the few KB sized install.exe if you need it)

Then just compress this set into a RAR with "Compression method" drop-down box set to "Best" and "Solid Archive" checked.

ah, solid archive. will do that.

@shef Sale, it works fine for me. and i didn't even put /noreboot in the comments. sometimes probs can be caused by using snapshot

Link to comment
Share on other sites

With langage pack

start /w msiexec /a netfx.msi TARGETDIR="c:\netfx"

start /w msiexec /a langpack.msi TARGETDIR="c:\netfx"

start /w msiexec /p sp1.msp /a c:\netfx\netfx.msi

create bat file in same directory

launch.bat

start /w msiexec /i netfx.msi /qn /norestart

start /w msiexec /i langpack.msi /qn

use winrar for create sfx

Link to comment
Share on other sites

Is there another way to make a silent install package?

I am asking because I don't have Winrar.

Or can I use a trial version?

And what would the steps be (=to make a sfx, not to slipstream SP1)?

get winrar. it's the most commonly used archiver/extracter prog.

Link to comment
Share on other sites

Is there another way to make a silent install package?

I am asking because I don't have Winrar.

Or can I use a trial version?

And what would the steps be (=to make a sfx, not to slipstream SP1)?

You can use 7zip as well. I've seen the commands in the drivers forum for how to silently extract 7zip archives.

Link to comment
Share on other sites

You can use 7zip as well.

Right. But there's very specific conditions under which its good to use. 7-zip is not easy - neither to make the archive nor to extract it to where you want.

@bucketbuster

You can get the trial version of winrar from here - WinRAR home-page link. That is itself sufficient to do what we need to here.

@Sheik

Right-click on "C:\Program Files\Internet Explorer\MUI\0409\mscorier.dll" and check the file-version. (there was somewhere on the first page of this topic, a post about version numbers with and without SP1 by RyanVM)

Link to comment
Share on other sites

launch.bat

start /w msiexec /i netfx.msi /qn /norestart

start /w msiexec /i langpack.msi /qn

I do not think the start and msiexec commands are needed. I did not try to run this at Windows installation, but in Windows for the cmd-file it is enough to state:

netfx.msi /qn /norestart

langpack.msi /qn

Probably because administrative installations allready run automatically.

Link to comment
Share on other sites

For the record, the install point compresses down to 10.9MB as a 7zip archive.

And 7z.exe supports all the command switches needed to extract files. Documentation comes with it.

OK, in fact I like 7zip - it gives extremely good compression (therefore huge space savings) in most cases. But I still feel somewhat shackled with it.

RAR sfx'es are much more well-featured. 7-zip doesn't give SFX icon choosing, authenticity verification, the winrar shell extension, recovery record, and lots more.

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