j4ever Posted September 7, 2004 Posted September 7, 2004 ok guys...i got it all to work! (found msiexec in sys32)all i need to know is how to hide that extraction window. (do i put the -y in svcpack ? like this: netfx.exe -y)also what is the difference between /qb , /qb!- , /qn .will any of them work in svcpack? ( i would probably use the /qn if it works in svcpack.)
ironside Posted September 7, 2004 Posted September 7, 2004 Use XP's iexpress to create install packages for your svcpack updates (you can do all of the current updates except dotnet sp1) much better than using a 3rd party utility like 7zip or winrar.You dont arf' make a lot of work for yourself I suggest you go back to the main msfn guides and read through them, most of the answers you need are in there.hint hint: svcpack guide & NetFramework install method 2 guide
bitmonster Posted September 7, 2004 Posted September 7, 2004 Attention! This guide is outdated! Look on page 24 to see the new one!The 7z-Method is the most space-saving method I know of, so I don't think you can beat it with something else. It will also run from everywhere.Here is a small guide how to create your own (might be usefull, if you want to use localized builds of .NET):1. Get the .NET framework v1.1 re-distributable package and put it in some folder.2. Get the .NET framework v1.1 SP1 update and put it in the same folder as above.3. Get 7-Zip and install it.4. Get the UPX-package (Win32 console version), unpack it and copy the upx.exe to your folder5. Open up the folder where 7-zip has installed itself to and grab the 7za.exe and 7zS.sfx files and copy them to your folder.6. Now you need to make a batch-file in your folder, name it make.bat and paste the following text into it:%~d0CD "%~p0"MD tmpMD netfxsp1START /wait dotnetfx.exe /C /T:"%~dp0tmp"START /wait NDP1.1sp1-KB867460-X86.exe /XP:"%~dp0tmp"CD tmpSTART /wait msiexec /a netfx.msi TARGETDIR="%~dp0netfxsp1" /QB START /wait msiexec /p S867460.msp /a "%~dp0netfxsp1\netfx.msi"COPY %SystemRoot%\system32\msiexec.exe "%~dp0netfxsp1"CD..RMDIR /S /Q tmpCD netfxsp1..\7za.exe a "%~dp0netfxsp1.7z" -r -mx=7 -mfb=255 -md=48m *CD..RMDIR /S /Q netfxsp1COPY 7zS.sfx 7zSC.sfxupx.exe 7zSC.sfxECHO ;!@Install@!UTF-8!>config.txtECHO RunProgram="msiexec.exe /i netfx.msi /qb">>config.txtECHO ;!@InstallEnd@!>>config.txtCOPY /b 7zSC.sfx + config.txt + netfxsp1.7z netfxsp1.exeDEL 7zSC.sfxDEL config.txtDEL netfxsp1.7zNow you should have the following files in your folder:7za.exe7zS.sfxdotnetfx.exemake.batNDP1.1sp1-KB867460-X86.exeupx.exeStart the make.bat and wait 2 minutes. At the end you should have a netfxsp1.exe in your folder with a size of about 11.3 MB. The machine where you make this should have XP-SP2 installed, if you want to use the package on a XP-SP2-CD.
koszopal Posted September 7, 2004 Posted September 7, 2004 @bitmonster hmm to add langpack here ? koszopal
bitmonster Posted September 7, 2004 Posted September 7, 2004 @bitmonster hmm to add langpack here ? koszopalDidn't understand what you ask really.If you need a languagepack, you can simply install it directly after the netfxsp1.exe. As far as I know a languagepack cannot be 'slipstreamed' into a .NET-Adminsitrative-Install-Point. But as the resulting netfxsp1.exe runs like charm from svcpack.inf there is no problem to install the languagepack directly afterwards.But there are also localized-builds of the .NET-1.1-package, so it might be a good idea to use them instead of the default english one. But I haven't got any problems with the english-packages, even when I install a german-languagepack afterwards. Anyhow you can change the language at the microsoft-links I posted above and get the right one for you. The batch should work with every version.It might be possible to create a 7z-languagepack-installer to save some bytes. Hmm, will see if this would bring any benefit.
CrashUK Posted September 7, 2004 Posted September 7, 2004 Just what to point this out.. you can not install .net from cd-rom or dvd-r you need to copy the setup files to your hard disk..
bitmonster Posted September 7, 2004 Posted September 7, 2004 Just what to point this out.. you can not install .net from cd-rom or dvd-r you need to copy the setup files to your hard disk..The netfxsp1.exe mentioned above runs from CD (simply because it unpacks itself first to the user-temp-folder before executing msiexec).
j4ever Posted September 7, 2004 Posted September 7, 2004 where do i put that -y switch....in svcpack?
bitmonster Posted September 7, 2004 Posted September 7, 2004 where do i put that -y switch....in svcpack?There is no -y switch. Just call it without parameters.
j4ever Posted September 7, 2004 Posted September 7, 2004 im trying to set it up so that it doesn't show the extraction process. also....will /qn work in svcpack?
koszopal Posted September 8, 2004 Posted September 8, 2004 @bitmonster hmm to add langpack here ? koszopalDidn't understand what you ask really.If you need a languagepack, you can simply install it directly after the netfxsp1.exe. As far as I know a languagepack cannot be 'slipstreamed' into a .NET-Adminsitrative-Install-Point. But as the resulting netfxsp1.exe runs like charm from svcpack.inf there is no problem to install the languagepack directly afterwards.But there are also localized-builds of the .NET-1.1-package, so it might be a good idea to use them instead of the default english one. But I haven't got any problems with the english-packages, even when I install a german-languagepack afterwards. Anyhow you can change the language at the microsoft-links I posted above and get the right one for you. The batch should work with every version.It might be possible to create a 7z-languagepack-installer to save some bytes. Hmm, will see if this would bring any benefit. ok i just want to have not only net. 1.1 + sp1 but with langpack too now im using rar sfx with launch.bat start /w netfx.msi /qnstart /w langpack.msi /qnbut with your metod size of exe is ab 1 mb lower comparing to winrar metodim asking how to using your script not only start msiexec.exe /i netfx.msi /qbbut langpack too (msiexec.exe /i langpack.msi /qb)? koszopal
bitmonster Posted September 8, 2004 Posted September 8, 2004 @koszopalI tried it with the german langpack and the 7z-method downsized the file from 1.37 MB to 670 kB.Here is the batch I used:%~d0CD "%~p0"MD tmpMD langpackSTART /wait langpack.exe /C /T:"%~dp0tmp"CD tmpSTART /wait msiexec /a langpack.msi TARGETDIR="%~dp0langpack" /QBCOPY %SystemRoot%\system32\msiexec.exe "%~dp0langpack"CD..RMDIR /S /Q tmpCD langpack..\7za.exe a "%~dp0langpack.7z" -r -mx=7 -mfb=255 -md=48m *CD..RMDIR /S /Q langpackCOPY 7zS.sfx 7zSC.sfxupx.exe 7zSC.sfxECHO ;!@Install@!UTF-8!>config.txtECHO RunProgram="msiexec.exe /i langpack.msi /qb">>config.txtECHO ;!@InstallEnd@!>>config.txtCOPY /b 7zSC.sfx + config.txt + langpack.7z langpack-new.exeDEL 7zSC.sfxDEL config.txtDEL langpack.7zSimply put your langpack.exe and this batch-file in the same folder as described for the .NET-SP1-method. After you have run this batch, you should have a 'langpack-new.exe' in your folder.
RyanVM Posted September 8, 2004 Posted September 8, 2004 OK, here's a link to a fully standalone, 7-zip based (Ultra compression), .NET 1.1 SP1 installer for XP SP2 (I've been told anecdotally that SP2's msiexec.exe isn't backwards compatible with SP1, but I haven't verified it). It requires no command switches to be operated. It extracts to a temporary directory and calls the MSI file, which is run with the /qb switch (sorry all you /qn nuts). Upon completion, all setup files are deleted and Windows setup continues on its merry way.Enjoy http://www.ryanvm.net/msfn/netfxsp1.exe (11.0MB)EDIT: Special thanks to bitmonster and evilvoice for the help in creating the 7-zip installer.
edmoncu Posted September 8, 2004 Posted September 8, 2004 im having this problem running the slipstreamed .NET SP1 (please see attached pic)the switch i used when running the installation is:msiexec.exe /i netfx.msi /qbanyway, what i want to achieve is to run this under svcpack.inf
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