Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.
Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.
We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.
Read Forum Rules
Jan 16 2007, 06:12 AM Post
#1 | |
| MSFN Junkie Group: Software Developers Posts: 3171 Joined: 8-August 05 From: Flanders, Belgium Member No.: 68008 OS: 2000 | Silent .NET Maker This batch utility allows you to create your own silent switchless installers for .NET 1.1, .NET 2.0 SP1, .NET 3.0 SP1 and .NET 3.5. They are compatible with Windows 2000 (except .NET 3.x), Windows XP x86 and Windows Server 2003 x86 (except .NET 1.1). The installers for .NET 1.1 and 2.0 SP1 can be installed at T-13. Quick download: SNM.zip Changelog: see bottom Supported: - .NET 1.1 package - any NDP1.1*.exe, Sxxxxxx.msp and Mxxxxxx.msp hotfix for .NET 1.1 - language pack for .NET 1.1 - .NET 2.0 SP1 package (NetFx20SP1_x86.exe) - language pack for .NET 2.0 SP1 (NetFx20SP1_x86XX.exe) - language pack for .NET 3.0 SP1 (NetFx30SP1_x86XX.exe -- not recommended) - full .NET 3.5 package (dotnetfx35.exe -- contains .NET 2.0 SP1, .NET 3.0 SP1 and .NET 3.5) - language pack for .NET 3.5 (dotnetfx35langpack_x86XX.exe -- only .NET 2.0 SP1 and .NET 3.0 SP1 portions are supported) Hotfixes and language packs require the main .NET package they apply to. This script is not intended to create installers for hotfixes or language packs only. Processing a specific version of .NET requires it to be already installed on the system on which you run this script (.NET 1.1 needs to be installed if you want to process .NET 1.1 and .NET 2.0 SP1 needs to be installed if you want to process .NET 2.0 SP1). For .NET 3.0 SP1, it is enough to have .NET 2.0 SP1 installed. For .NET 3.5, you need at least .NET 3.0 SP1 installed which in turn requires .NET 2.0 SP1. This is not a limitation of the script, but of the fact that an administrative installation can't be processed if the packages aren't installed "normally" first. MSXML6 in .NET 3.0 SP1... Currently, .NET 3.0 SP1 contains the latest version of MSXML6 SP1 so it isn't needed to include it separately in the root of the SNM working folder anymore. Please remove it if it exists because SNM will assume it's newer than the MSXML6 package in .NET 3.0 SP1. When DNF30.exe or DNF35.exe is installed, MSXML6 binaries are only copied if they don't yet exist in system32. This decision was made because Windows XP SP3 contains MSXML6 SP2. .NET 3.0 SP1 language pack... While the standalone .NET 3.0 SP1 language pack (NetFx30SP1_x86XX.exe) is supported, it is not recommended to use it because it doesn't contain the localized XML Paper Specification update. It's better to use the language pack for .NET 3.5 which contains the complete .NET 3.0 SP1 language pack. In this case, you can also ignore the standalone language pack for .NET 2.0 SP1 (NetFx20SP1_x86XX.exe) if applicable because it's also part of the .NET 3.5 language pack. .NET 3.5 language pack... This pack is fully supported with the exception of the language pack for .NET 3.5 itself. I'm still struggling with that bit, so only the .NET 2.0 SP1 and .NET 3.0 SP1 language packs are processed. Hotfixes for .NET 2.0 SP1 and .NET 3.0 SP1... These aren't really supported because I don't know of any, so I can't know how they will be named or how they should be processed. Silent .NET Maker currently assumes the names of the updates for .NET 2.0 SP1 start with "NetFX20" and those for .NET 3.0 SP1 with "NetFX30" but that may need to be changed. .NET 3.x notes... .NET 3.0 SP1 can't be installed at T-13 (SVCPACK) because it breaks the WebClient service; it must be installed at first GUI logon. .NET 3.0 SP1 won't install if you install .NET 1.1 in the same go unless you install .NET 1.1 AFTERWARDS. By default, Silent .NET Maker will split the individual frameworks from the .NET 3.5 package into DNF20.exe, DNF30.exe and DNF35.exe. This script is primarily intended to create installers for an unattended Windows installation, and since .NET 3.0 SP1 should be installed at first GUI logon and .NET 2.0 SP1 doesn't have to be necessarily, it is better to keep them separated to give you more leeway as to what should be installed when. If you want to change the default behavior, open _SNM.ini (the answer file) in a basic text editor and change the default settings to: PROCESS_DNF35_DNF2=YES if you want .NET 2.0 SP1 included in the DNF35.exe package PROCESS_DNF35_DNF3=YES if you want .NET 3.0 SP1 included in the DNF35.exe package Answer file... The answer file _SNM.ini allows you to modify some things to your needs. For example, to merge .NET 1.1 and .NET 2.0 SP1 packages, open the answer file in a basic text editor and set MERGE_FRAMEWORKS at the bottom to 12 (MERGE_FRAMEWORKS=12 without any spaces). The answer file included in the script package shows the defaults used by the script, so you only need it if you want to modify something. Merging packages... To merge .NET 1.1 with .NET 2.0 SP1, set MERGE_FRAMEWORKS in the answer file to 12. To make a single package containing all processed .NET Frameworks, set MERGE_FRAMEWORKS to FULL. In order to allow .NET 3.0 SP1 installation to complete, .NET 1.1 is installed last. If you don't like the sound of this... don't do it. MERGE_FRAMEWORKS=12 MERGE_FRAMEWORKS=FULL Setting compression ratio... If the temporary file named TEMP.7z doesn't change size for several minutes, it is more than likely your system cannot handle the default compression ratio used by the script. At the bottom of the answer file you can find a variable called COMPRESSION_RATIO; set it to MED (medium) or LOW if you are experiencing problems. Try MED first. COMPRESSION_RATIO=MED COMPRESSION_RATIO=LOW Extra features of the outputted .NET 1.1 installer: - if a language pack is integrated, it will be reflected in the name of the outputted installer (eg, DNF11_es.exe) - if any hotfix for .NET 1.1 SP1 is slipstreamed, its useless entry is removed from Add/Remove Programs - if the language pack is integrated, the English .NET 1.1 configuration/wizards links are removed from the Administrative Tools folder Extra features of the outputted .NET 2.0 SP1 installer: - if a language pack is integrated, it will be reflected in the name of the outputted installer (eg, DNF20_fr.exe) - if the system on which it's installed is not Windows 2000 and if Windows setup is in progress, the registry is modified to allow .NET 2.0 SP1 to be installed from SVCPACK - if any hotfix for .NET 2.0 SP1 is slipstreamed, its useless entry is removed from Add/Remove Programs Extra features of the outputted .NET 3.0 SP1 installer: - if a language pack is integrated, it will be reflected in the name of the outputted installer (eg, DNF30_fr.exe) - if the system on which it's installed is not Windows 2000 and if Windows setup is in progress, the registry is modified to allow .NET 2.0 SP1 to be installed from SVCPACK - the .NET 3.0 SP1 portions are not processed if the system is Windows 2000 - if any hotfix for .NET 3.0 SP1 is slipstreamed, its useless entry is removed from Add/Remove Programs Features specific to the script only: - the installers are created in a subfolder of which the name is "OUT" followed by a number starting with "1" - if the script is run again, it will create the installers in a new OUT* folder as to not overwrite the previous ones - empty OUT* folders are deleted - any remaining temporary folders and files from a previous failed run are removed first Instructions: 1) Download the script package and extract it into a folder of your choice. The path can contain spaces but no special characters such as exclamation marks. 2) Read readme.txt if it's your first time 3) Download the .NET installer(s) you wish to have processed into the folder you created: - .NET 1.1 - NDP1.1sp1-KB867460-X86.exe - NDP1.1sp1-KB928366-X86.exe - language pack for .NET 1.1 in your language - .NET 2.0 SP1 (do not rename; not needed if including dotnetfx35.exe) - language pack for .NET 2.0 SP1 in your language (do not rename; not needed if including both dotnetfx35.exe and the language pack for dotnetfx35.exe) - .NET 3.5 (full redist called dotnetfx35.exe with a size of 197MB) - language pack for .NET 3.5 in your language (do not rename) 4) Optionally, edit _SNM.ini (the answer file) to your needs 5) Run the script by double-clicking SNM.cmd from within a Windows account with administrative privileges Tested and found working on: - Windows 2000 SP4 (English) - Windows XP SP2 (English and Dutch) Thanks to Oleg_Sch for the hidcon.exe and msistub.exe utilities. hidcon.exe: totally hide the DOS box that would appear when the batch file in a silent installer is run msistub.exe: interface with MSIEXEC.EXE Also thanks to Acheron for letting me know how to create a usable administrative install of .NET 2.0 SP1. Changelog: 20080603 - allowed creating merged .NET 1.1 and .NET 2.0 SP1 installer with dotnetfx.exe and dotnetfx35.exe as input files - names of .NET 2.0 SP1 hotfixes are expected to start with "NetFX20" instead of "NDP20" - attempting to get the language of the language pack for .NET 1.1 for the name of the standalone .NET 1.1 output file (eg, DNF11_es.exe) - code cleanup 20080530b - fixed support for Chinese Simplified, Chinese Traditional, Portuguese and Portuguese Brazil language packs for .NET 2.0 SP1, .NET 3.0 SP1 and .NET 3.5 20080530 - added support for NetFx20SP1_x86.exe, NetFx20SP1_x86XX.exe, NetFx30SP1_x86XX.exe and dotnetfx35.exe - added almost complete support for dotnetfx35langpack_x86XX.exe (.NET 2.0 SP1 and .NET 3.0 SP1 language packs) - if a language pack is integrated, the name of the silent DNF20 and DNF30 executables will contain the language code (eg, DNF30_fr.exe) - included newer version of 7zS.sfx (version 4.57 + custom icon + compressed with UPX 3.03) - updated _SNM.ini - to make a single installation package, MERGE_FRAMEWORKS=13 should now be MERGE_FRAMEWORKS=FULL - during setup of DNF30.exe and DNF35.exe, MSXML6 binaries are only copied if they don't yet exist in system32 - removed support for .NET 2.0, .NET 2.0 language pack, NET 3.0 and .NET 3.0 language pack 20070712b - fixed bug with merged .NET 1.1/3.0 installer whereby .NET 1.1 would fail to install on Win2K - changed processing order of .NET 1.1 hotfixes just in case (S*.msp, then NDP1.1*.exe, then M*.msp) - Add/Remove Programs entry is now removed for all current and future .NET 2.0 hotfixes - Add/Remove Programs entry is now removed for all current and future .NET 3.0 hotfixes 20070710b - removed support for hotfixes named NDP1.1*.msp; use the original Sxxxxxx.msp and Mxxxxxx.msp names - Add/Remove Programs entry is now removed for all current and future .NET 1.1 hotfixes (previously only KB886903) 20070710 - allowed slipstreaming of NetFX30*.msp files for Windows Presentation Foundation and the .NET 3.0 "wrapper" - now checking for the existence of Windows Presentation Foundation and the .NET 3.0 "wrapper" before applying a NetFX30 patch - you can now have a mix of *.msp and *.exe hotfixes for all .NET packages (previously only one type was allowed per package) 20070709 - added support for NetFX30-KB*.exe hotfixes for Windows Presentation Foundation (like KB932471) or the .NET 3.0 "wrapper" 20070624b - workaround for harmless error message which appeared when SNM created empty dummy file 20070624 - added support for xpsepsc*.exe updates for .NET 3.0 and .NET 3.0 langpack; they don't have to be renamed - it's no longer needed to rename msxml6_x86.msi to msxml6.msi - the dummy file for KB886903 for .NET 1.1 is now 0KB instead of 1KB 20070201 - the entries in Add/Remove Programs for the .NET 2.0 hotfixes are removed 20070127 - msistub.exe (2.5 KB) is now used instead of StartX.exe (164.0 KB) - the PROCESS_DNF3_DNF2 variable now defaults to SEPARATE, which means: create DNF20.exe and don't include .NET 2.0 in DNF30.exe - updated readme.txt with info about msistub.exe 20070125 - updated readme.txt (.NET 3.0 cannot be installed from SVCPACK) 20070123 - any msxml6-KB* executable is accepted so people don't have to extract msxml6.msi (msxml6.msi is still accepted) 20070122 - some temp files and folders are removed earlier so you don't have to look at the mess while the silent installers are created - added support for .NET 3.0 language pack (langpack3.exe) - if the system on which the silent .NET 3.0 installer will be installed is Win2K, the .NET 3.0 portions won't execute (Christmas present for the absent-minded) - faster querying for the Windows version - updated readme.txt 20070121 - using hidcon.exe from Oleg_Sch (included in new script package) instead of cmdow.exe - code cleanup - updated readme.txt 20070120 - allow merging of .NET 1.1 with .NET 3.0 (install order: .NET 2.0, .NET 3.0 and then .NET 1.1) - allow custom compression ratio setting from answer file - main three .NET 3.0 components are left unextracted to keep down the size of the silent installer - variable "PROCESS_DNF3_DNF3" is now called "PROCESS_DNF3_WRAPPER" - the msxml6 binaries are processed individually to keep the total size down; you won't see an MSXML6 entry in Add/Remove Programs anymore 20070119-b - forgot to allow renaming of langpack files 20070119 - fixed potential issue with Win2K if reg.exe is slipstreamed - resulting installers can now be installed on a "normal" system too - added support for .NET 3.0 (allow replacing msxml6.msi) - optional answer file - possibility to merge .NET 1.1 with .NET 2.0 packages This post has been edited by Tomcat76: Jun 3 2008, 10:47 AM |
| | |
Tomcat76 Silent .NET Maker (latest update: 20080603) Jan 16 2007, 06:12 AM
Super-Magician Since CMDOW causes problems with quite a few virus... Jan 16 2007, 07:13 AM
Tomcat76 I'll give RunHiddenConsole.exe another go... Jan 16 2007, 08:53 AM
S3pHiroTh I have tried, but the language pack for Net 1.1 do... Jan 16 2007, 09:53 AM
daddydave It looks like a leading space accidentally slipped... Jan 16 2007, 10:11 AM
Tomcat76 QUOTE (Tomcat76 @ Jan 16 2007, 03:53 PM) ... Jan 16 2007, 10:21 AM
S3pHiroTh Isn't accidentaly is for evidence!!... Jan 16 2007, 10:21 AM
Tomcat76 With that size the language pack can never be part... Jan 16 2007, 10:31 AM
S3pHiroTh QUOTE (Tomcat76 @ Jan 16 2007, 05:31 PM) ... Jan 16 2007, 10:35 AM
Super-Magician OK, thanks for trying the RunHiddenConsole thing. ... Jan 16 2007, 03:52 PM
Tomcat76 QUOTE (Super-Magician @ Jan 16 2007, 10... Jan 21 2007, 12:30 PM
glentium this is great, thanks Tomcat!
btw, I know that... Jan 16 2007, 06:53 PM
Kiki Burgh hi all! i see the same crowd here ... just st... Jan 16 2007, 10:54 PM
S3pHiroTh QUOTE (Kiki Burgh @ Jan 17 2007, 05:54 AM... Jan 16 2007, 11:42 PM
glentium I don't think anyone would want to recreate do... Jan 17 2007, 09:36 PM
Tomcat76 Dotnet3 is such a beast.... And Windows Communicat... Jan 18 2007, 06:43 PM
Tomcat76 New version Jan 19 2007, 08:55 AM
daddydave I am running the new version under Windows 2000, n... Jan 19 2007, 11:40 AM
Tomcat76 It isn't normal. How much memory do you have?... Jan 19 2007, 11:46 AM
daddydave QUOTE (Tomcat76 @ Jan 19 2007, 12:46 PM) ... Jan 19 2007, 12:06 PM
Tomcat76 I don't really know how much RAM is needed and... Jan 19 2007, 01:00 PM
S3pHiroTh Only 2 questions... why do you integrate net frame... Jan 19 2007, 02:14 PM
Tomcat76 QUOTE (S3pHiroTh @ Jan 19 2007, 09:14 PM)... Jan 19 2007, 04:30 PM
glentium thanks for the new version, tomcat!
btw, in ... Jan 19 2007, 09:58 PM
Tomcat76 @daddydave
Please try the latest version. You can... Jan 20 2007, 03:08 PM
daddydave COMPRESSION_RATIO=LOW did the trick for DNF20. I t... Jan 20 2007, 08:53 PM
Sonic The output file will install in one pass all frame... Jan 21 2007, 02:37 PM
S3pHiroTh If you put only one version of a net framework, th... Jan 21 2007, 03:30 PM
Sonic QUOTE (S3pHiroTh @ Jan 21 2007, 11:30 PM)... Jan 21 2007, 05:18 PM
S3pHiroTh QUOTE (Sonic @ Jan 22 2007, 12:18 AM) QUO... Jan 22 2007, 03:28 AM
cyberyeye This script is amazing !
Wonderful job Tomcat... Jan 21 2007, 05:25 PM
Yzöwl QUOTE (cyberyeye @ Jan 21 2007, 11:25 PM)... Jan 21 2007, 10:33 PM
Tomcat76 QUOTE (S3pHiroTh @ Jan 22 2007, 10:28 AM)... Jan 22 2007, 08:37 AM
Super-Magician Wow, this script has changed a lot since the first... Jan 22 2007, 06:57 AM
Sonic Thanks for correction Tomcat.
Are there any issues... Jan 22 2007, 02:47 PM
Tomcat76 I don't see why there should be any issues. I... Jan 22 2007, 03:08 PM
S3pHiroTh Tomcat another question
Before you have made th... Jan 23 2007, 02:03 AM
Tomcat76 Glentium already asked this (see my second post on... Jan 23 2007, 02:18 AM
S3pHiroTh Sorry for my last question... I have read that pos... Jan 23 2007, 07:25 AM
Tomcat76 QUOTE (S3pHiroTh @ Jan 23 2007, 02:25 PM)... Jan 23 2007, 07:29 AM
S3pHiroTh QUOTE (Tomcat76 @ Jan 23 2007, 02:29 PM) ... Jan 23 2007, 07:57 AM
Tomcat76 Don't know if this is your problem, but it... Jan 23 2007, 11:04 AM
S3pHiroTh QUOTE (Tomcat76 @ Jan 23 2007, 06:04 PM) ... Jan 23 2007, 12:48 PM
Kiki Burgh TC this is great! i had no problem running th... Feb 4 2007, 01:56 AM
Tomcat76 QUOTE (Kiki Burgh @ Feb 4 2007, 08:56 AM)... Feb 4 2007, 01:30 PM
Tomcat76 BTW... The newest version supports your msxml6-KB9... Jan 23 2007, 11:07 AM
Tomcat76 And add support for every possible .NET 1.1 execut... Jan 23 2007, 01:23 PM
S3pHiroTh QUOTE (Tomcat76 @ Jan 23 2007, 08:23 PM) ... Jan 24 2007, 04:54 AM
Tomcat76 I am aware of those errors but am not sure why the... Jan 25 2007, 03:56 AM
S3pHiroTh Another error is that Webclient service doesn... Jan 25 2007, 04:54 AM
Tomcat76 I also have this problem with the WebClient servic... Jan 25 2007, 07:14 AM
Tomcat76 Alright. I did the test with RogueSpear's ins... Jan 25 2007, 10:09 AM
Tomcat76 The problems are still there when only installing ... Jan 25 2007, 05:41 PM
S3pHiroTh QUOTE (Tomcat76 @ Jan 26 2007, 12:41 AM) ... Jan 26 2007, 12:03 AM
some1 does anyknow how I could do this will "iexpre... Jan 26 2007, 02:35 AM
darafat i ve tryed your tools
installed via svcpack, at T-... Jan 26 2007, 07:41 PM
inited Greetings, this is my first post (newbie alert... Jan 27 2007, 07:46 AM
S3pHiroTh I'll pm you, so we can speak italian ok? I tea... Jan 27 2007, 08:04 AM
Tomcat76 @darafat
.NET 3.0 breaks the WebClient service in ... Jan 27 2007, 11:55 AM
darafat QUOTE (Tomcat76 @ Jan 27 2007, 11:55 AM) ... Jan 27 2007, 12:05 PM
Tomcat76 Yes. But don't include .NET 2.0 inside .NET 3... Jan 27 2007, 12:21 PM
S3pHiroTh Tomcat you should remove the option of MERGE_FRAME... Jan 27 2007, 02:16 PM
Tomcat76 QUOTE (S3pHiroTh @ Jan 27 2007, 09:16 PM)... Jan 27 2007, 05:20 PM
S3pHiroTh QUOTE (Tomcat76 @ Jan 28 2007, 12:20 AM) ... Jan 28 2007, 12:11 AM
Super-Magician I just tested this with the default options and ev... Jan 27 2007, 03:30 PM
XibaD Question... (maybe noobie one)
Since .NET 3.0 can... Feb 1 2007, 07:46 AM
Tomcat76 From experience, I can only speak for HFSLIP. Wit... Feb 1 2007, 10:15 PM
Kiki Burgh hi TC! i'm going to try this over the week... Feb 3 2007, 04:00 AM
S3pHiroTh Net framework 3.0 with language pack 25,9mb
Net fr... Feb 3 2007, 11:32 AM
Kiki Burgh thanks TC for the clarification! i guess i... Feb 4 2007, 01:42 PM
Kiki Burgh hi TC! this is just to update you on what hape... Feb 10 2007, 02:57 AM
Tomcat76 QUOTE (Kiki Burgh @ Feb 10 2007, 09:57 AM... Feb 10 2007, 10:11 AM
Kiki Burgh my apologies for HFSLIP-related Qs ... i just thou... Feb 10 2007, 10:29 AM
meulc Ok Feb 16 2007, 03:24 AM
S3pHiroTh I have used once again this script and I found a s... Feb 20 2007, 10:55 AM
Kiki Burgh hi!i just want to clarify this:QUOTE (Tomcat76... Feb 22 2007, 02:34 AM
Tomcat76 @S3pHiroTh
You have PROCESS_DNF3_DNF2=SEPARATE (th... Feb 22 2007, 08:43 AM
Kiki Burgh thanks TC! prior to your coonfirmation, i did ... Feb 22 2007, 05:05 PM
dread How can you install all 3 frameworks without any w... Feb 23 2007, 12:05 PM
450 It tried. This is very wonderful.
By the way, is... Mar 5 2007, 10:00 AM
Sheep.PL Hi, 450.
WindowsUpdate claims that you need KB92... Mar 7 2007, 10:50 AM
Joc I have got a lots of error messages... Is it OK? (... Mar 16 2007, 05:24 AM
dONALDBlood Isn't it possible with the script (awesome btw... Mar 30 2007, 02:53 AM
Sonic .NET 3.0 "is" .NET 2.0 + few new compona... Mar 30 2007, 04:34 PM
surgeon Hello
all is ok for me and works very well
thx a... Apr 1 2007, 07:14 AM
03GrandAmGT THANKS Tomcat76
I have been doing it with a b... Apr 15 2007, 07:51 PM
Kiki Burgh hi TC! would these files be good for using the... May 5 2007, 07:45 AM
Tomcat76 I could only find KB932394 after a brief search on... May 6 2007, 12:15 PM
nmic Hi!
I've tried to run the silent installe... May 7 2007, 07:09 AM
fanatf1 Hello!
I have a critical error
I`ve ... May 24 2007, 10:21 PM
Kelsenellenelvian 7zip is most likely choke-ing up due to low ram.
... May 24 2007, 11:17 PM
fanatf1 I have 512 - 64 (Video) = 480 mb RAM
Yep i think ... May 24 2007, 11:25 PM
Kelsenellenelvian Thank you very much!
And yes I would try it ... May 24 2007, 11:27 PM
AgiHammerklau Hi Tomcat76 !
Thank You for this great SNM ... Jun 23 2007, 11:12 AM
Tomcat76 New version.
20070624
- added support for xpsepsc... Jun 24 2007, 09:24 AM
0d14r3 Hi,
I dowload the last version of SNM and show the... Jun 24 2007, 04:34 PM
Tomcat76 You can ignore it. It's because the script cr... Jun 24 2007, 05:03 PM
0d14r3 OK.
More one question DNF11_30 include the DNF20 ... Jun 24 2007, 05:27 PM
Tomcat76 If you want to exclude .NET 2.0 from the package, ... Jun 25 2007, 04:23 PM
0d14r3 Thanks, I use this key after the solution this pro... Jun 25 2007, 06:22 PM![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2009 - 05:00 PM |