QUOTE (PeteK27 @ Sep 3 2005, 12:24 AM)
Having spent far too much time exploring the Win9x setup process, I would like to clarify a number of misconceptions about setup.exe. Jimmsta is mostly correct when he says “setup.exe is basically just a dummy launcher”. However even the *.bin files don’t really do much. They mostly just provide the pretty GUI front end. The real work is done by a handful of key DLL’s of which setupx.dll performs the bulk of the work.
Setupx.dll is mostly just a text file parsing engine. Its job is simply to open, read and process inf files. Contrary to what you are thinking, it is the content of the setup files (infs) that determines what gets installed, not setup.exe or the related files. If you change the infs, you can radically change what gets installed. Overall there is really no point in rewriting setup.exe (and/or its related files) since a rewritten version won’t do anything that couldn’t be done much easier with a few custom inf files.
Okay thanks for clarifying my misconceptions there on Setup.exe.
I had read that all setup.exe does is launch a mini win3.x enviroment
to copy files and provide a temporary gui for installation. I see that
what I read is only half the situation. From my misconceptions I had
the thought that the way to go would be to bootstrap a mini W9x
enviroment and go from there, that no being the case then .infs
are where I want to go. Hmmm....
QUOTE (PeteK27 @ Sep 3 2005, 12:24 AM)
>Things like adding IE6SP1 at install time simply can't happen because setup.exe says so.
Unless MS recently changed things, most of the IE packages use an inf driven setup engine that for the most part is modeled on setupx.dll. If you download the IE setup files (mostly various cab files) you will find that they contain a number of inf files. With some relatively minor modifications, I am not aware of any reason why you could not slipstream IE6SP1 into the Win9x setup process. After all this is exactly what MS did with IE4 in Win98, IE5 in Win98SE and IE5.5 in WinMe. I haven’t done it simply because I am not a big fan of IE.
>I'd like to be able to install IE6 at install
Then learn all you can about how the win9x setup process works, download the IE setup files, fire up notepad, and start editing.
Alright, then but please understand I'm not the fan of IE you seem
to think I am...I only want IE for its updated files and then to make
the rest of it go away as quickly as possible. I was hoping that once
IE was installed (or at least the essensial files needed for updates) it
could be modified ala Fred Vork's Win2000 RegInstall tips in step 19
(I think it was) of his project. I want\need the GUI shell enhancements
of IE but don't want to pay for them by accpeting the rest of it. If
there were a way to just add the files needed and reshack the ####
out of them so they don't make all those directories in /Windows I'd
be the happiest man on Earth.
QUOTE (PeteK27 @ Sep 3 2005, 12:24 AM)
>ditto on Direct X
Different program, same process. I can’t think of a program (assuming that it was designed to run under Win9x) that couldn’t be made a part of the normal setup process. It is simply a matter of figuring out what files need to be copied and what registry entries need to be made, and then writing an inf file that will do that. All most of the various setup programs (Installshield, etc.) do is put a pretty face on the job of copying files and making registry entries. I’m not saying this is a 5 minute process. However the bulk of the work involves mostly testing, testing and more testing of your custom inf file until you get it right.
Well that's basically where I'm going...I'd like to do 'strange' things
with the system though, like provide for installing the '/program files'
folder at a different directory ala the way setup.exe currently asks
for the /Windows location. Also I'd like to make the default install
install certain files in a different location, either at /Windows/Command
or if I can do it without breaking too much I'd like to make the setup
put everything in '/Windows/system' ... and of course not install certain
items at all! Like the whole 'Welcome to Windows' or the old RealAudio
files..not to mention the WebTV stuff which seems to be inhereintly
broken...unless someone knows of a way to fix it up ala Windows MCE?
QUOTE (PeteK27 @ Sep 3 2005, 12:24 AM)
98lite and my package (pcss) only scratch the surface of what could be done simply with inf files. I have a number of ideas for creating what could be a whole new version of Win9x. I simply don’t have the time to execute them.
Ahh...well THIS is it exactly. I'd like to see about creating a whole new
version of Windows 9x. I've tried before (I mentioned my first foolhardy
attempt in my first post) some time ago and got some (limited) good
results as long as I installed IE 6SP1 before allowing setup to continue.
I'd like to try again with a little more enlightenment at my side. I'd even
like to see what could be done about creating some kind of front end to
this ala 98Lite (which to all extents and purposes seems dead) and make
it freely available to the world. The trick (IMHO) is to get something that
can be run on a proposed 98Setup directory and make all the changes
from there with the user typing 'y' ala MGX's 98SE2ME which does
just that. The difference would be that once finished the program\bat
would exit out leaving a completely patched directory with everything
ready to be used. You could burn the directory to disk with some extra
tools (although that shouldn't be necessary) and when you installed the
whole thing would run from start to finished and exit out with an updated
(in all senses of the word) desktop. Drivers ect allready installed.
Something that would be soporific's work on steriods....
Something that would use Tihiy's 98Revolutions Pack from the get go.
Something...I think you get the picture...