Article View: news.software.nntp
Article #45597Re: tools for discovering what has been modified when an application is installed
From: Kjetil Torgrim Homme
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
47 lines
2222 bytes
2222 bytes
[lisa choiniere]
> Is there a tool (Unix or Windows) available which would allow me
> to find out what files are installed and which registry keys are
> modified when installing a software? I have heard of CleanSweep.
Many well-behaved applications use the program "install" for
installation. I use this wrapper so I have the option of keeping a
log of what happened.
#! /bin/sh
if [ x"$LOGFILE" != x"" ]; then
echo install "$@" >> "$LOGFILE"
fi
PATH=/local/gnu/bin:/usr/ucb:/usr/bin:$PATH
export PATH
exec install "$@"
(The PATH is set to avoid the recursion well, the preferred install
lies in /local/gnu/bin.)
> Also is tehre a development tool available which can tell what
> internall and externall DLL calls are being made when an
> application is run?
strace will give you system calls, which is usually enough. On
Solaris you can trace calls to shared libraries as well, using
truss -u '*' program
This will produce a LOT of output. Read the man page to see how
restrict it.
I've toyed with the idea of using an strace-like tool to create a
comprehensive and failsafe list of files installed.
strace -f -eopen make install
will give you a rough approximation, but the output needs to be
massaged.
Kjetil T.
PS. I think this question is off-topic for this group. Perhaps you
should try comp.unix.admin or an OS specific group instead.
Technical Details
Message-ID:
<1raej6brqm.fsf@haey.ifi.uio.no>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<8c2qau$7r8$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
Message-ID: <1raej6brqm.fsf@haey.ifi.uio.no> Subject: Re: tools for discovering what has been modified when an application is installed Date: Fri, 07 Apr 2000 00:00:00 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> References: <8c2qau$7r8$1@nnrp1.deja.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 607811881 X-Complaints-To: abuse@ifi.uio.no X-Trace: maud.ifi.uio.no 955072467 11845 129.240.64.139 (7 Apr 2000 01:54:27 GMT) Organization: Dept. of Informatics, University of Oslo, Norway NNTP-Posting-Date: 7 Apr 2000 01:54:27 GMT Newsgroups: news.software.nntp