Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

FDV Files - Remove More Stuff

- - - - -

  • Please log in to reply
40 replies to this topic

#1
saugatak

saugatak

    Advanced Member

  • Member
  • PipPipPip
  • 300 posts
@FDV, I figured out how to get Nero and VMWare working. It turns out that my laptop went into hibernation mode in the middle of running HFSLIP and I burned an incomplete ISO image :blushing: After I ran HFSLIP again and made sure it was complete, no problems.

Here are some additional items that can be removed by editing FDV's fileset.

1. To remove WordPad (who's running Windows w/o running Word?), put a ; in front of the following entries in LAYOUT and TXTSETUP. This example is taken from LAYOUT. The numbers in TEXTSETUP differ but filenames are the same.

[SourceDisksFiles]

;wordpad.chm = 1,,31191,,,,,,3,3
;wordpad.exe = 1,,185104,,,,,,3,3
;wordpad.hlp = 1,,25770,,,,,,3,3
;wordpad.inf = 1,,6780,,,,,20,0,0

2. To remove the Accessibility Options from the Accessories folder in the Start Menu (never use 'em), put ; in front of the following files in SYSSETUP.IN_ [FDV provided most of the information plus some suggestions, which I tried out and this setup works.]

[StartMenuGroups]
;Accessibility = %accessibility%,0

[Accessibility]
;%magnifier% = magnify.exe,magnify.exe,,0,%magnifier_infotip%
;%reader% = narrator.exe,narrator.exe,,0,%reader_infotip%
;%screenkeyboard% = osk.exe,osk.exe,,0,%screenkeyboard_infotip%
;%utilman% = utilman.exe,"utilman.exe /start",,0,%utilman_infotip%

3. To remove Win2k's built in disk cleaner, put a ; in front of the following entry in LAYOUT and TXTSETUP. This example is taken from LAYOUT. The numbers in TEXTSETUP differ but filenames are the same.

[SourceDisksFiles]

;cleanmgr.exe = 1,,42256,,,,,2,0,0

Instead of using Win2k's cruddy diskcleaner, I suggest you use CrapCleaner (that's the real name :D ) instead. It's free and it's awesome. Get it at ccleaner.com

4. If you use a text editor other than notepad, you may want to remove Win2k's built-in notepad, which kinda sucks. Here's how:

a. Put a ; in front of the following entries in SYSSETUP.IN_

[Accessories]
;%notepad% = notepad.exe,notepad.exe,,0,%notepad_infotip%

[Files.NoWin31.System32ToSysroot]
;NOTEPAD.EXE

b. Put a ; in front of the following entries in LAYOUT and TXTSETUP. This example is taken from LAYOUT. The numbers in TEXTSETUP differ but filenames are the same.

[SourceDisksFiles]

;notepad.chm = 1,,24616,,,,,21,0,0
;notepad.exe = 1,,50960,,,,,2,1,0
;notepad.hlp = 1,,12566,,,,,21,1,0

5. If you have a real defrag utility (I have O&O and it's awesome) and never use Win2k's built-in defrag, here's how to get rid of it.

a. Put a ; in front of the following entries in SYSSETUP.IN_

[Infs.Always]
;dfrg.inf,DefaultInstall

[OleControlDlls]
;11,,dfrgsnap.dll,R
;11,,dfrgui.dll,R

b. Put a ; in front of the following entries in LAYOUT and TXTSETUP. This example is taken from LAYOUT. The numbers in TEXTSETUP differ but filenames are the same.

[SourceDisksFiles]

;defrag.chm = 1,,22354,,,,,21,0,0
;defrag.hlp = 1,,12855,,,,,21,0,0

;dfrg.inf = 1,,2429,,,,,20,0,0
;dfrg.msc = 1,,98304,,,,,2,0,0
;dfrgfat.exe = 2,,62224,,,,,2,0,0
;dfrgntfs.exe = 2,,76048,,,,,2,0,0
;dfrgres.dll = 1,,28160,,,,,2,0,0
;dfrgsnap.dll = 2,,42768,,,,,2,0,0
;dfrgui.dll = 1,,109328,,,,,2,0,0

P.S. 95% of these "tips" came from FDV.

@FDV, in going through your fileset, I noticed that you don't put a ; in front of the following entry which appears in both TXTSETUP and LAYOUT:

;welcome.exe = 1,,366864,,,,,1,0,0

Wouldn't it be a good idea to get rid of the "Welcome" file? Anyone who uses HFSLIP and your fileset doesn't need the Welcome to Windows tour.

I left the above entry alone because I thought you had a reason to keep it in since all the other entries associated with "welcome.exe" are commented out with a semi-colon.

Edited by saugatak, 09 October 2005 - 07:38 AM.

Posted Image


How to remove advertisement from MSFN

#2
tain

tain

    Cyber Ops

  • Super Moderator
  • 3,680 posts
  • OS:none specified
  • Country: Country Flag

Donator

What about this method: http://support.micro...om/?kbid=255771

In the [Components]section, add the following items based on which components you do not want installed:

accessopt=off
calc=off
cdplayer=off
certsrv_client=off
charmap=off
chat=off
deskpaper=off
dialer=off
fp_extensions=off
freecell=off
hypertrm=off
indexsrv_system=off
iis_pwmgr=off
media_clips=off
media_utopia=off
minesweeper=off
mousepoint=off
mplay=off
mswordpad=off
objectpkg=off
paint=off
pinball=off
rec=off
solitaire=off
templates=off
TSClients=off
vol=off

If some of these items should be installed, exclude the items from the Winnt.sif file.


Doesn't that accomplish the same thing, but easier?

#3
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
saugatak - thanks for giving the info. i left welcome in because it's a sneaky way to get any binary you want to run, right off the bat! just make your EXE file with IEXPRESS, compress it, and replace the welcome.exe file that's already there. the thing is, i've never bothered with it, but for folks who want an easy automatic install, it's all arranged for you (you could have an EXE that installs a bunch of INF files or somesuch).

glad you got nero "fixed" :thumbup

TAiN - this is completely possible. many of these don't get installed anyway. i comment files out because some folks who use my files insist on running without WINNT.SIF, the unattended file, in order to install special drivers at setup by hitting F6.

#4
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
saugatak
I just replace notepad with the other program:

1. First rename say Mark.exe to notepad.exe.
2. Run modifype notepad.exe -c.
3. Run makecab notepad.exe.
4. Place notepad.ex_ in FIX folder.

TAiN
Unfortunatelly not all components can be removed/not installed through winnt.sif.

fdv
I offered you to include all CHM and HLP files in DELFILES. I can help doing this (not in a couple of days of cause but I'll have more free time by the end of the week and I can do it in two days time.

OR
I can do the job with CHM and HLP files manually. But if somebody with scripting knowlege can help creating BAT or CMD file that can add comma before file-names taken from a file say COMMA.txt in txtsetup.sif and dosnet.inf. This way everyone can compile his own COMMA.txt with the files he wants to remove from the source.

I also suggested gathering more information about all components and corresponding files that can be removed from the source. If somebody removes a component he can also include corresponding files in COMMA.txt and run the new script removing the files.

Edited by Oleg_II, 09 October 2005 - 11:00 AM.

Posted Image

#5
tommyp

tommyp

    MSFN Addict

  • Developer
  • 1,680 posts
  • OS:none specified
  • Country: Country Flag
Cool thread, thanks for starting saugatak.

FWIW, I did a task on seeing what services W2K actually needs. Here's what I have running.
Event Log
Plug and Play
Remove Procedure Call (RPC)
Workstation
Network Connections
Protected Storage
Remove Access Connection Manager
Telephony
Windows Management Instrumentation Driver Extensions

I'm sure some of the above services can be eliminated too, but the above list works fine for me. Maybe this will help slim down the source a bit more?
Posted Image

#6
tain

tain

    Cyber Ops

  • Super Moderator
  • 3,680 posts
  • OS:none specified
  • Country: Country Flag

Donator

@TommyP: The trusted resource for Win2K services info was BlackViper but his site appears to have disappeared.

I found a cache of it here: http://web.archive.o...blackviper.com/

Very useful info.

Here is what I have running:

Application Management
Event Log
Logical Disk Manager
Network Connections
Plug and Play
Print Spooler
Remove Access Connection Manager
Remove Procedure Call (RPC)
RunAs Service
Security Accounts Manager
Telephony
VMWare services (3x)
Windows Management Instrumentation Driver Extensions
Workstation

I should probably trim this down a bit...

#7
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
help files
the question is, should i remove help files, like i used to in my SP4 fileset?
my thought is this: if you are ripping IE out, then you probably know how to use windows and don't need the built in help files. does nlite even offer this option? i have not used it since two versions ago.
i think we should go ahead on this. Oleg_II you have a PM from me.
i will put the help files into an INF so that users have a choice of installing them later if they want them.

services
this is going to be kind of a rant, so feel free to ignore. this is NOT aimed at anyone here, it's mostly me taking a poke at people in other forums who would throw out their printers so that they don't have to run the Print Spooler... but they run garbage like Internet Explorer.
here is the bottom line: what sucks up memory? DLLs!!
i recommend The Elder Geek -- this site actually lists people's experience with various settings.

i read in other forums about these so-called tweakers that, for example, shut off Fax Services and think they're allright -- guess what? if the Fax DLLs are on your hard drive, the shell will make calls to them... those DLLs are loaded in memory. "which services can i shut off on my machine that is bogged down with gigs of useless dlls anyway" has become a whole industry on its own with probably hundreds of web pages dedicated to the subject. and as for removing dlls? there are only three guys out there listed (paragraph four).

not much is running anyway if you use my fileset. (remember, manual without a "started" and disabled both mean the service isn't running). i use:
Messenger, Alerter, BITS, Remote Registry, Alerter, Indexing Service, Clipbook, NetDDE, RPC, QoS, Wireless, Smartcard, etc etc etc etc etc etc all of those are off (or not even there). you can even comment out COM and WMI in the SYSOC file before install and skip these, because Windows will run without COM and WMI. (there is software that needs them, but if you're a gamer or you don't use much software you go run without them. even the administrative stuff in windows will run fine without them.

services? meh, who cares, with my fileset the major resource hogs are all already off. i have a network, which right off the bat means i need a bunch of these like Computer Browser and Server and Workstation. RunAs - get rid of it? what am i going to do, logoff and back on as admin every time i want to install software?!

i read with some interest some suggested services to kill like Distributed Link Tracking Client. on a home machine, yeah, it would seem useless. i'm going to need to reboot a few times to see if it actually does save 4mb of memory. i can't see sparing any others, maybe Security Manager, but I have DHCP running, and there is a dependency there. TCP/IP NetBIOS Helper Service? mmkay try filesharing without it. i guess if you have a standalone machine running only games, dumping all of your services could make sense.

is that really the scenario for all these guys whose posts i read? they put a few shiny 512Mb sticks of Corsair in their Pentium 4 overclocked PC, but they act scared to actually put any of it to use. sure, they get a more responsive system, which is good for all of that number crunching they do simulating nuclear reactions and studying protein aggregation for curing diseases, but then they get a glitchy system that can't browse a network... and then they're on the 'net asking people why. :P :P
[/services rant off now]

Edited by fdv, 09 October 2005 - 10:52 PM.


#8
saugatak

saugatak

    Advanced Member

  • Member
  • PipPipPip
  • 300 posts
@FDV: Should this entry in SYSOC.IN_ be edited out?

AutoUpdate=ocgen.dll,OcEntry,au.inf,,7

Is this the Windows AutoUpdate program?

Also, in my FDV'd HFSLIP Win2k (with Notepad, Defrag, Cleanmgr.exe and WordPad removed), I noticed that the following programs normally found in a non-FDV Win2k were missing:

a. Start ==> Programs ==> Accessories ==> System Tools ==> Character Map

b. Start ==> Programs ==> Accessories ==> Paint

c. Start ==> Programs ==> Accessories ==> Calculator

I don't care that the above 3 programs are missing. I was just wondering if my edits to the FDV files had the unintended effect of removing the above 3 programs?

@Oleg_II: THANKS for the tip on Notepad. :thumbup I am going to do as you suggested.

Edited by saugatak, 09 October 2005 - 11:34 PM.

Posted Image

#9
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
saugatak, did you comment out from SYSOC the following line:
AccessUtil=ocgen.dll,OcEntry,accessor.inf,,7
or did you in any way alter accessor.inf?
have a look inside this INF; you can adjust what gets installed. i used my FDV files (of course) and paint and calc installed fine for me.

about AU... that's left on purpose. right now its a blank INF but in the future i might put automatic update in it (this is not the same as windows update). that's a big maybe. it has to get tested first and i haven't done that yet. you will find my experimental new version of au.inf viewable here.

#10
saugatak

saugatak

    Advanced Member

  • Member
  • PipPipPip
  • 300 posts

saugatak, did you comment out from SYSOC the following line:
AccessUtil=ocgen.dll,OcEntry,accessor.inf,,7

Ooops! :P I am changing it back right now.

or did you in any way alter accessor.inf?
have a look inside this INF; you can adjust what gets installed. i used my FDV files (of course) and paint and calc installed fine for me.

I didn't touch accessor.inf. Just looked at it now. I agree with your choices there. All of the files you left untouched are useful or have co-dependencies. The only thing I'd do is use the method Oleg suggested to replace Win2k's built in Calculator and Notepad. If you have a real Paint program (which I don't) you might want to take out Paint but that's about it.

about AU... that's left on purpose. right now its a blank INF but in the future i might put automatic update in it (this is not the same as windows update). that's a big maybe. it has to get tested first and i haven't done that yet. you will find my experimental new version of au.inf viewable here.

OK I'll check it out.

P.S. I agree with you and Oleg that the help files are not needed and can go.

P.P.S. I read in the nLite forum that if you take out extra languages (one of my suggestions earlier), Office 2003 won't work right as it's built to use all the languagues M$ supports.

Edited by saugatak, 09 October 2005 - 11:51 PM.

Posted Image

#11
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
saugatak
Have a look at LANG folder - if you need any of languages from here just leave it alone (I leave only two CHS and CHT - Chinese Simplified and Chinese Traditional as I use both somethime B) And you can delete the rest of the folder LANG itself if you don't use these languages. It saves about 63MB.

As for the service Print Spooling - it takes about 3-5MB and I make it starting manual by default. And I have a few CMD files with shortcuts in Start Menu, one of them is Printing.cmd:
@echo off
MODE CON COLS=60 LINES=3
Title Printing the document
color 1e
net start "Print Spooler"
%programfiles%\"silex technology\PRICOM CX\JRMON.EXE"
goto :eof
When I click the shortcut "Printing" it starts Print Spooler service and I can print (it also starts my wireless printer monitor).

I also have the similar CMD for Scanning ;) and I'm going to explore Internet connections too B) I'm not using printer, scanner or not in the net everytime on my laptop. I think it's a good idea to start services when you need them. Automatically of course ;)

You can use the same technics starting VMWare and its services by only one click.

Edited by Oleg_II, 10 October 2005 - 01:49 AM.

Posted Image

#12
saugatak

saugatak

    Advanced Member

  • Member
  • PipPipPip
  • 300 posts
@Oleg

Are you talking abouth the LANG folder in the SOURCESS\I386 folder?

Just delete extra ones is your suggestion?
Posted Image

#13
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
Yes! If you don't need any of the languages just delete the folder LANG in SOURCESS.
And if you didn't know: you may saftely delete COMPDATA, WIN9XMIG, WIN9XUPG, WINNTUPG also.
Posted Image

#14
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
Acomplishing the task of commenting CHM files int txtsetup.inf I found that not all of *.CH_ files in the source are CHM in fact, there are a few files that have CHQ extention.

I found a usefull batch by Yzöwl :hello: that expands multiple files in a folder so that one can see the real extention.

Edited by Oleg_II, 10 October 2005 - 11:25 AM.

Posted Image

#15
saugatak

saugatak

    Advanced Member

  • Member
  • PipPipPip
  • 300 posts

Yes! If you don't need any of the languages just delete the folder LANG in SOURCESS.
And if you didn't know: you may saftely delete COMPDATA, WIN9XMIG, WIN9XUPG, WINNTUPG also.

@ Oleg. Thanks for the tip.

2 things:

1. I read somewhere in the nLite forum (can't find the post, they have their version of the 76 pages of posts also :whistle: ) that Office 2003 requires all the languages. Do you know if there's any truth to this?

2. I get deleting unused languages from LANG. I presume WIN9XMIG and WIN9XUPG refer to upgrading from Win95/98/ME editions and that's not an issue for clean installs. I presume WINNTUPG is for upgrading from Windows NT and that's not an issue either, don't need it.

I don't know what the role of COMPDATA is, however. What do I lose by deleting it?
Posted Image

#16
saugatak

saugatak

    Advanced Member

  • Member
  • PipPipPip
  • 300 posts
MODIFICATION TO FDV FILESET TO REMOVE OS/2 SUBSYSTEM

FDV's fileset removes POSIX files, but leaves OS/2 subsystem untouched. At this point in time, I doubt too many people need the OS/2 subsystem.

I think this is the way to do it. I'll test it out tomorrow after the latest Windows updates come out tomorro and include them in my latest HFSLIP FDV Win2k and report back.

This link tells you which files need to be removed to get rid of OS/2 and POSIX.

http://arstechnica.c.../memory-1.ars/2

WINNT/system32 directory: OS2.exe, OS2SRV.exe, PSXSS.EXE, OS2SS.exe, and POSIX.exe

PSXSS.EXE and POSIX.exe are commented out in LAYOUT and TXTSETUP in FDVfileset, but the OS2 files are left alone. FDV, is there a reason for this?

In addition, there are the following files not mentioned in the above article:

WINNT\system32\os2\oso001.009
WINNT\system32\os2\dll\doscalls.dll
WINNT\system32\os2\dll\netapi.dll

I commented out all of the above OS2 files in LAYOUT and TXTSETUP as follows (example taken from TXTSETUP, same files as LAYOUT but numbers differ):

[SourceDisksFiles.x86]
;doscalls.dll = 1,,,,,,,8,0,0

;netapi.os2 = 1,,,,,,,8,0,0,netapi.dll

;os2.exe = 1,,,,,,,2,1,0
;os2srv.exe = 1,,,,,,,2,1,0
;os2ss.exe = 1,,,,,,,2,1,0

;oso001.009 = 1,,,,,,_x,6,1,0

What I found weird is that there are a bunch of files that appear to be related to the weird "oso001.009" file which appear in both TXTSETUP and LAYOUT

oso001.007 = 1,,,,,,_x,6,1,3
;oso001.009 = 1,,,,,,_x,6,1,0
oso001.010 = 1,,,,,,_x,6,1,3
oso001.012 = 1,,,,,,_x,6,1,3
oso001.016 = 1,,,,,,_x,6,1,3
oso001.029 = 1,,,,,,_x,6,1,3

These files look like they relate to the OS/2 subsystem ("6" is the key to OS/2) but aside from "oso001.009" I wasn't able to find any other file starting with "oso" so I left those alone.
Posted Image

#17
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts

The only issue I see is that when you make so many mods to TommyP's and FDV's filesets, and then they come out with new ones, you have to make those mods again.


That is why I ask fdv if he agrees me doing the job with commenting CHM and HLP files - there are 400+ files to find and comment in 2 files :wacko: and if he comes with the new version of files :blink:

As you suggest including some modifications proposed by users, I'd suggest making a plugin system - sub batch files that acomplish small but concrete purposes. For examle, fdv agrees me to comment out CHM and HLP but he wants to include an INF file that will install these files if needed (and I understand why - some people could ask him for this). It means the file names won't be included in DELFILES and the files will still in the source. And I would like to have a smaller source.

This example is very easy because I can still have a list of files and can include their names in DELFILES myself. But with a pluging system apart from a Basic set of IE removal files we may have a batch that could delete the files specified in say DELFILESPLUS from the source for those who want a smoller distributive ;) There could be lists of files possible to delete and everyone can choose which of the list he would like to include in this DELFILESPLUS (for example, only CHM, only HLP or both types).

Edited by Oleg_II, 10 October 2005 - 01:37 PM.

Posted Image

#18
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
COMPDATA - is just a folder with TXT and HTM files. I don't know exactly what are they for but I don't think they are functional.

LANG - I don't know about issues with M$ Office as I don't use it :D I use Open Office. But don't think there should be issues either. I know for sure that Office 97 and Office 2k hadn't any issues with this folder as I installed a few laptops in our office with these versions and they are working now using 3 different languages.

I heard (I don't know for sure, just read about it somewhere) that one of the folders is needed for installing Recovery Console. Sorry no more info. I don't install Recovery Console too - I use DOS version of Drive Image that can be run directly from W2k and reboot to DOS utility (it's a part of big software, I use only 7 files from the package and don't install it at all ;)
Posted Image

#19
saugatak

saugatak

    Advanced Member

  • Member
  • PipPipPip
  • 300 posts
Here are some links on Office 2003 and the language problem. It appears that if you remove languages, you have difficulties autoupdating Office 2003.

The fact that I can't use AutoUpdater doesn't concern me since I am using FDV's fileset. I'm wondering if not having all the languages will prevent manual hotfixes to Office 2003, i.e., download the hotfix, extract it and run it.

http://www.msfn.org/...20updates&st=10

http://www.msfn.org/...04

http://www.msfn.org/...showtopic=41553
Posted Image

#20
tommyp

tommyp

    MSFN Addict

  • Developer
  • 1,680 posts
  • OS:none specified
  • Country: Country Flag
You can remove tons of junk from the mdac too. I wrote a script to yank it off the source, which I typically run after running nlite. I based this script from something I read a while back... the pre-nlite days. I attached the file. It's a destructive process.... because it deletes files from the sourcess folder. To run, place this file alongside the hfslip.cmd file and run it. It creates a folder called optional and puts all the crapola there.

Attached Files


Edited by tommyp, 10 October 2005 - 02:44 PM.

Posted Image

#21
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag

and if he comes with the new version of files

:D Oleg_II, don't worry, your changes will be incorporated into the next version (removing help, that is).
i have thought about deleting help files from source and i will probably be addressing that as well. (or, i might recommend searching for *.ch_ and deleting the results from i386 :P

and then they come out with new ones, you have to make those mods again.

saugatak - well, the thing is, my fileset is intended to be as universal as possible. for example, there are folks who use the OS/2 subsystem, so i left it in. it's easy to ditch, though.

i dont have time this month but perhaps it's a good idea to consider removing calc, paint, notepad, os2 subsys, etc. and put in a seperate INF to install them if someone wants them? i'd welcome input on that i guess. i'm not in love with the idea because i don't really want to keep up two filesets. not sure. of course, there is always nlite, but IMHO it does not clear a system of IE quite like my files do (nlite's not really meant to though; nuhi and i have discussed this in emails and are both comfortable with what our seperate projects do).

Edited by fdv, 10 October 2005 - 02:51 PM.


#22
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
saugatak - pretty good work there. i wrote elsewhere about os/2 subsystem... maybe i should remove its files and add an INF to install it if people want it. there are folks who use old programming tools that make use of it.

Oleg_II, yeah, COMPDATA is junk.

about languages generally - my fileset has more global fans than users in my own country, so i am hesitant to comment them out.

to illustrate -- let's see if i can get this story right :P ...
a computer security consultant in poland flew to england. he met with a ceo of a company he was going to do some consulting work for there, and over dinner, he was mentioning removing internet explorer using a fileset downloaded from the internet. the information technology guy was there at dinner as well, and this guy just laughed. the consultant asked "what?" thinking the techie was thinking it couldn't be done. the techie walked over to a nearby laptop and brought up my website... this company had already started using my fileset. :thumbup

#23
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
fdv
I'm not talking about removing languages automatically with the script because I also use some of them B)
It's just an old trick and very simple for manual tweaking - open the folder, find the languages that are not used and delete them. If no languages are used - delete the folder itself. It could be done manually according to your needs, no need to implement it it your set.

I've just downloaded tommyp's CMD for removing MDAC files. I'm not too strong in scripting, just using others ideas :whistle: As I understand the script will move the files mentioned in it to another folder and update txtsetup.sif. Does it mean that the same can be done with CHM, HLP and any othe files I want to remove from the source - the script can move them to another folder and delete them from txtsetup.sif and dosnet.inf?

If I'm wright - that's what I meant with pluging system! We may have separated batch files for removing different files from the source and updating necessery INFs. That could be simplified version of batch-nLite for non-professionals :yes:

By the way if you are going to remove POSIX and OS/2 files I suppose you just comment them but the stay in the source. I uderstand why - there are always people whon need something that you think is not important. Like me - I need Help System so I need the files for it in the source. But it could be greate if one can have a choice to remove or leave the files and can get his source as slim as possible with this. If tommyp confirms his batch could be modified we can get another one for removing POSIX and OS/2 files too :)

Edited by Oleg_II, 10 October 2005 - 03:39 PM.

Posted Image

#24
saugatak

saugatak

    Advanced Member

  • Member
  • PipPipPip
  • 300 posts
@Oleg, I looked at a bunch of the files in COMPDATA.

Yeah, it's junk. It's basically error messages for various drivers that won't work/install, haven't been updated for Win2k, etc.

If you have a system where you know you don't have any driver errors, I don't think there will be any problems deleting COMPDATA. This might be why COMPDATA is useful in Recovery Console (which I don't use either) as it's looking for the error messages.

@FDV, I agree with you, it's not necessary to modify your fileset to remove languages, especially if people around the world are using it to rip out IE on all their computers :thumbup

Also, Oleg's solution of just deleting out the languages you don't need from SOURCESS is just too easy.

Re the .inf file to add back stuff, would it be possible to make one master .inf file to add things back? Then you could create a fileset where basically everything was taken out (.chm files, OS2 subsystem, etc.) and then all people would have to do is go through the one master .inf file to add things back.

RE POSIX and OS/2

Even if you take out the above files, I think the registry still gets littered with POSIX and OS/2 keys. I say "I think" because I noticed POSIX registry keys on my HFSLIP FDV Win2k VM even though POSIX was taken out.

Here are the POSIX and OS/2 registry keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OS/2 Subsystem for NT] Delete all keys & subkeys

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment] Delete the Os2LibPath entry

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems] Delete the Optional, OS2 & Posix entries

Not sure if there's a way to get rid of these from FDV filesets, but they're not too hard to remove after installation. Also, because the files they refer to no longer exist, they're probably orphaned and a decent registry cleaner should get rid of them.
Posted Image

#25
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
saugatak
I don't thing you have get any error messages even if your drivers don't work or install if you specify in your winnt.sif:
[Unattended]
   DriverSigningPolicy=Ignore
The wrong drivers just won't install. So you can delete COMPDATA in any situation.

As for Recovery Console it was one of the other folders WIN9XMIG, WIN9XUPG or WINNTUPG that was mentioned. Probably the last one. But I'm not sure. Anyway if you use winnt.sif you probably just don't have a choice to install Recovery Console (I may be wrong?).
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN