|
Posted by Perseus on 10/13/05 23:50
Taken from Vladd44.com's General Forum "The Cesspool":
Here's the process this installer goes through:
1) checks if internet connection is active. If it's not active, it
tries to establish the connection. Failing this, the user is informed.
2) downloads PIE2.6-manual.zip from Vladd. There is support in the code
to use mirror sites as well.
3) downloads PKUNZIP.EXE, I found about a half-dozen places where this
is available, but only coded 2 into the script. Others could be added
as mirrors.
4) extracts hosts from PIE patch zipfile
5) reads the newly-extracted hosts file, saving only lines that contain
the string ".winmx.com" and disregarding all others. This is the only
data we need to add to the user's hosts file
6) Detects the person's version of windows
7) sets the path to the hosts file based on their version and using the
variable $WINDIR which is the Windows install directory
makes a copy of the users's original hosts file, named backuphosts
9) reads the user's hosts file, removing any lines with the string
".winmx.com" this preserves their data, but removes anything that was
added in order to restore winmx unction
10) combines the user's hosts file (which now has winmx references
removed) with the PIE manual file, which only contains winmx
references. The combined file is copied over their old hosts file,
yielding the updated one.
Maybe this answers some questions people apparently have regarding the
way this installer operates.
--
Perseus
E-mail: leave out ".erase" <- mind the dot!
**
Idealism is what precedes experience; cynicism is what follows.
Navigation:
[Reply to this message]
|