[71] in installers
Tool for comparing Windows directory listings
daemon@ATHENA.MIT.EDU (Jim Repa)
Fri May 9 18:51:05 1997
Date: Fri, 09 May 97 15:15:44 EDT
From: Jim Repa <REPA@mitvma.mit.edu>
To: Mohammed Sharari <SHARARI@MIT.EDU>
Cc: INSTALLERS@MIT.EDU
Mohammed, & installers list,
As we discussed, I put together a perl script that processes two
directory files (produced by the DOS 'dir' command) to display differences.
By running 'dir' and saving the results, running a commercial installer,
and then running 'dir' and saving the results in a different file, you can
determine what files were added, changed, or deleted by the installation
process. This might be handy in working on the SQL*Net install to make
sure you've found all the files that need to be included.
There might be a better way of finding out about installed files on NT --
the Registry might contain all the information you need. However, the
script didn't take long to write, and it still might be helpful.
(It first transforms both input files to a format with the full pathname
for each file on a separate line, and then it runs the Unix 'diff' command.)
To find out what changed on a Windows hard drive after an installation,
do the following:
1. On a Windows machine from the DOS command prompt,
dir /s /a /tw > dir1.txt
2. Run the Oracle installer
3. Run another 'dir' command from the command prompt,
dir /s /a /tw > dir2.txt
4. Use FTP to transfer the files to your Athena locker. Make sure you
do the transfer in ASCII mode, not BINARY.
5. From an Athena machine,
add repa
6. /mit/repa/Public/dirdiff dir1.txt dir2.txt dir.changes
(This will read the two directory files and write the changes
to "dir.changes".)
If people on the installers list think this will be generally useful,
I can put the Perl script somewhere in the installers locker.
Jim