unco Posted March 6, 2005 Posted March 6, 2005 Hi All, I've spent a few days reviewing lots of your topics and searching how to get .net framework 1.1 slipstreamed with SP1 and Hotfix to include in my svcpack.inf.RyanVM had a download of this already.And is probably 100% A OK and easy to find, but I am a fool for doing things the hard way (I tested installing RyanVM downland along side Zilla Data Nuker, ZDN includes Ebates and Topmoxie sypware but only realised this too late) and like to learn for myself. I found a site with the following instructions that I just had to share. It teaches how to apply .msp files to .msi, cool stuff for us who are new to it.Before all the guru's out there who are going to tell me I never searched hard enough, and this shouldn't be posted here, I hope they realise I'm only posting this in the hope I save hours (even days [in my case]) for other newbies. So peace to you all.InstructionsCreating am admin install for .net v1.1 SP1 and the latest ASP.NET Security patch.Download the following filest to the C:\Temp folderMicrosoft .NET Framework Version 1.1 Redistributable Package (dotnetfx.exe) http://www.microsoft.com/downloads/details...&displaylang=enMicrosoft .NET Framework 1.1 Service Pack 1 (NDP1.1sp1-KB867460-X86.exe)http://www.microsoft.com/downloads/details...&displaylang=enASP.NET Security Update for Microsoft .NET Framework 1.1 Service Pack 1http://www.microsoft.com/downloads/details...&displaylang=enRun the following commands to build the admin install.rem extract the dotnetfx and build admin installmd C:\Temp\dotnetfxC:\Temp\dotnetfx.exe /T:C:\Temp\dotnetfx /Cmd C:\Temp\dotnetfxAdminmsiexec /a C:\Temp\dotnetfx\netfx.msi TARGETDIR=C:\Temp\dotnetfxAdmin /qnrem Add SP1 to the admin install (patch)md C:\Temp\NDP1.1sp1-KB867460-X86C:\Temp\NDP1.1sp1-KB867460-X86.exe /xp:C:\Temp\NDP1.1sp1-KB867460-X86msiexec /p C:\Temp\NDP1.1sp1-KB867460-X86\S867460.msp /a C:\Temp\dotnetfxAdmin\netfx.msi rem Add ASP.NET Security to admin installmd C:\Temp\NDP1.1sp1-KB886903-X86C:\Temp\NDP1.1sp1-KB886903-X86.exe /xp:C:\Temp\NDP1.1sp1-KB886903-X86msiexec /p C:\Temp\NDP1.1sp1-KB886903-X86\M886903.msp /a C:\Temp\dotnetfxAdmin\netfx.msiNote that I didn't get my SP1 and hotfix .msp file using the statement "C:\Temp\NDP1.1sp1-KB867460-X86.exe /xp:C:\Temp\NDP1.1sp1-KB867460-X86" ..., but rather started the install and without hitting yes to continue or no to cancel, grabbed the file from the Documents and Settings\<user>\Local Settings\Temp folder. The file name was auto generated each time so your will be different. The following cleans up the temp files.rem cleanuprmdir /s /q C:\Temp\dotnetfxrmdir /s /q C:\Temp\NDP1.1sp1-KB867460-X86rmdir /s /q C:\Temp\NDP1.1sp1-KB886903-X86The admin install is created in the C:\Temp\dotnetfxAdmin folder and is about 61MB in size.Next I created the package to install the above using self extracting executable ... to do this:I added a batch file to the admin install and compressed it to a selfextracting executable using 7Zip (12MB). batch file: dotnetfx.bat@echo offpushd "%~dp0"msiexec /i "netfx.msi" REBOOT=REALLYSUPRESS /qpopd[CODE][I]utf file: utf-8script.txt[/I][CODE];!@Install@!UTF-8!Title="Microsoft .NET Framework 1.1 with Service Pack 1"RunProgram="dotnetfx.bat";!@InstallEnd@!Create the above 2 files, place .bat in the admin install folder with the netfx.msi. Place utf-8script.txt in c:\temp, download 7Zip, and once installed grab 7za.exe and 7zS.sfx from where it was installed and put in c:\temp as well.Commands to run in command prompt:pushd C:\Temp\dotnetfxAdmin7za.exe a -r "C:\Temp\dotnetfx.7z" * -m0=BCJ -m1=LZMA:d=25 -ms -mmtpopdcopy /y /b 7zS.sfx+utf-8script.txt+C:\Temp\dotnetfx.7z C:\Temp\dotnetfxAdmin.exeIf you have taken care with all the path and file placements ... C:\Temp\dotnetfxAdmin.exe output file will be created.Simply put in your XPCD\I386\SVCPACK folder and update your svcpack.inf to include the dotnetfxAdmin.exe under the [setupHotfixesToRun] section, no switches needed.And you will have a silent install with no EULA screen ...Lastly there was a note about someother switches I didn't try, but you may ...To install the .NET Framework with no entries in the Add/Remove Programs list use the following command line:msiexec /i netfx.msi /q ARPSYSTEMCOMPONENT=1 ARPNOREMOVE=1
sixpack Posted March 6, 2005 Posted March 6, 2005 http://www.msfn.org/board/index.php?showtopic=38681nice guide tho
ArNeo Posted March 6, 2005 Posted March 6, 2005 Nice work on the guide, i was yust looking for it.I think it's a good one to be added to the "Intermediate Users" menu orso on http://unattended.msfn.orgCiao
Alanoll Posted March 6, 2005 Posted March 6, 2005 Nice work on the guide, i was yust looking for it.I think it's a good one to be added to the "Intermediate Users" menu orso on http://unattended.msfn.orgCiao<{POST_SNAPBACK}>You're lucky that I read almost every thread on this forum....And actually, i believe it'd be better under Application Switches Too bad it's not finished yet...
dziubek Posted June 12, 2005 Posted June 12, 2005 InstructionsCreating am admin install for .net v1.1 SP1 and the latest ASP.NET Security patch.Download the following filest to the C:\Temp folderMicrosoft .NET Framework Version 1.1 Redistributable Package (dotnetfx.exe) http://www.microsoft.com/downloads/details...&displaylang=enMicrosoft .NET Framework 1.1 Service Pack 1 (NDP1.1sp1-KB867460-X86.exe)http://www.microsoft.com/downloads/details...&displaylang=enASP.NET Security Update for Microsoft .NET Framework 1.1 Service Pack 1http://www.microsoft.com/downloads/details...&displaylang=enCould you write how add Microsoft .NET Framework Version 1.1 Language Pack for this instruction?thnksdziubek
sleepnmojo Posted June 12, 2005 Posted June 12, 2005 I have a batch script that downloads all the files for you, and will make a rar sfx file. I don't really use it anymore, because Ryan has a pack with more updates that aren't publicly available. I do repack it though, as I'm not a big fan of the switchless installers.I can post it, and I can modify it for 7z if anyone is interested.There is one prob with your guide. Looks like you forgot to close one of the code tags, so the utf file and batch file are running together.
dziubek Posted June 22, 2005 Posted June 22, 2005 Could You post this batch script ,i'am interestedthnksdziubek
RyanVM Posted June 22, 2005 Posted June 22, 2005 (edited) You're also going to be leaving behind unnecessary uninstall files (of course, to delete them you also have to remove the references to them in the MSI). Not doing so will only add to the size of the final EXE.@sleepnmojo - Actually, I don't anymore. I was running into some issues with the unofficial fixes, so I ended up nixing them outright. If anybody else wants to attempt it, though, I can send what I've got. Edited June 22, 2005 by RyanVM
frisbiej Posted October 20, 2005 Posted October 20, 2005 Silent install switches for running dot net frameworkdotnetfx.exe /q:a /c: "install /q"Or through VB:set shell = WScript.CreateObject("WScript.Shell")Shell.run "<SourceLocation>\dotnetfx.exe /q:a /c:""install /q"""
prathapml Posted October 20, 2005 Posted October 20, 2005 i think someone could post the final .exeWhich is already here - http://ryanvm.msfn.org/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now