Home All Groups Group Topic Archive Search About

Monitoring a software installation.....

Author
2 Jun 2005 2:11 PM
John Morley
Hi,

This is slightly OT, but here goes........ I have a VB6 project that
works with a USB connected data acquisition module. I'm trying to build
an installer (using Installshield) that installs my VB program AND the
drivers for the USB device in one-shot WITHOUT requiring the user to run
the USB device installer as a separate operation. I know this is
possible, but the USB device vendor hasn't been too helpful in telling
me all the files I need to load onto the target machine. I'd like to
"reverse engineer" the process by running the USB installation software
and seeing what changes are made to the system (files copied, registry
changes, etc.) and was wondering if anyone knows of a software program
that will record this information for viewing after the fact??

Thanks!!

John

Author
2 Jun 2005 2:16 PM
Steven Burn
Total Uninstall
http://freeware.it-mate.co.uk/?Cat=System#148

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quoteHide quote
"John Morley" <jmorley@nospamanalysistech.com> wrote in message news:O74c7z3ZFHA.3488@tk2msftngp13.phx.gbl...
> Hi,
>
> This is slightly OT, but here goes........ I have a VB6 project that
> works with a USB connected data acquisition module. I'm trying to build
> an installer (using Installshield) that installs my VB program AND the
> drivers for the USB device in one-shot WITHOUT requiring the user to run
> the USB device installer as a separate operation. I know this is
> possible, but the USB device vendor hasn't been too helpful in telling
> me all the files I need to load onto the target machine. I'd like to
> "reverse engineer" the process by running the USB installation software
> and seeing what changes are made to the system (files copied, registry
> changes, etc.) and was wondering if anyone knows of a software program
> that will record this information for viewing after the fact??
>
> Thanks!!
>
> John
Author
2 Jun 2005 3:00 PM
Ken Halter
Show quote Hide quote
"John Morley" <jmorley@nospamanalysistech.com> wrote in message
news:O74c7z3ZFHA.3488@tk2msftngp13.phx.gbl...
> Hi,
>
> This is slightly OT, but here goes........ I have a VB6 project that works
> with a USB connected data acquisition module. I'm trying to build an
> installer (using Installshield) that installs my VB program AND the
> drivers for the USB device in one-shot WITHOUT requiring the user to run
> the USB device installer as a separate operation. I know this is possible,
> but the USB device vendor hasn't been too helpful in telling me all the
> files I need to load onto the target machine. I'd like to "reverse
> engineer" the process by running the USB installation software and seeing
> what changes are made to the system (files copied, registry changes, etc.)
> and was wondering if anyone knows of a software program that will record
> this information for viewing after the fact??
>
> Thanks!!
>
> John

The good news is.... a list of changes is easy. I use System Mechanic
(http://www.iolo.com/sm/5/index.cfm) for things like this. You can create a
"System Snapshot" and compare that to the current settings anytime you want.
Especially handy right after an installation.

The bad news is.... Installshield, or any other Windows Installer based
installation utility won't be able to install device drivers for you (not
directly anyway). You can add a custom action that'll launch a 3rd party
driver installation package but Windows Installer itself won't install
devices. If the driver's "Unsigned", forget about any of InstallShield's
wizards too. I wish I could find the pile of support requests/replies we
made after InstallShield sales told us that AdminStudio would do it "no
problem". We bought it (about 2 grand) and it failed miserably. Their 30 day
refund policy is a bit of a joke. We did get a refund but it took about 120
days (90 days to convince them that sales didn't know what the heck they
were talking about and another 30 to get the check.). That was right after
they were swallowed by Macrovision and their staff didn't know the
difference between an installer and a flash movie.

There's a bunch of info in InstallShield's forums that may help.

"Currently, Windows Installer technology does not have any native support
for installing Device Drivers. This can however be done through a custom
action of your own in installscript."
http://community.installshield.com/showthread.php?t=125229

Some stuff from MSDN....

Authoring a Windows Installer Installation Package That Uses DIFxApp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/install/hh/install/difxapp_d11632aa-4074-4b8a-8e1c-ccf805f2629a.xml.asp

If interested....

Windows Driver Development Kit
http://www.microsoft.com/whdc/devtools/ddk/default.mspx

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
3 Jun 2005 3:45 PM
John Morley
Hi All,

As a followup to yesterday's post, I was able to determine the system
changes using Total Uninstall and I have implemented them in my
Installshield installation. It basically works, but....... After my
installation runs, and I plug in the USB hardware device, Windows
detects the device and then asks if I want to install software for it.
When I agree, Windows then locates the appropriate driver on the machine
and installs it just fine, and everythings works properly. I'm pretty
sure there is a way to automate this final step, but for the life of me
I can't locate any information on that!

Thanks again guys!

John

John Morley wrote:
Show quoteHide quote
> Hi,
>
> This is slightly OT, but here goes........ I have a VB6 project that
> works with a USB connected data acquisition module. I'm trying to build
> an installer (using Installshield) that installs my VB program AND the
> drivers for the USB device in one-shot WITHOUT requiring the user to run
> the USB device installer as a separate operation. I know this is
> possible, but the USB device vendor hasn't been too helpful in telling
> me all the files I need to load onto the target machine. I'd like to
> "reverse engineer" the process by running the USB installation software
> and seeing what changes are made to the system (files copied, registry
> changes, etc.) and was wondering if anyone knows of a software program
> that will record this information for viewing after the fact??
>
> Thanks!!
>
> John
Author
3 Jun 2005 4:18 PM
Steven Burn
I don't use Installshielf myself but if it's anything like Inno (www.jrsoftware.org), it may have a "silent" switch for it somewhere (might want to check the docs or with the developers on this)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quoteHide quote
"John Morley" <jmorley@nospamanalysistech.com> wrote in message news:#9EZANFaFHA.900@tk2msftngp13.phx.gbl...
> Hi All,
>
> As a followup to yesterday's post, I was able to determine the system
> changes using Total Uninstall and I have implemented them in my
> Installshield installation. It basically works, but....... After my
> installation runs, and I plug in the USB hardware device, Windows
> detects the device and then asks if I want to install software for it.
> When I agree, Windows then locates the appropriate driver on the machine
> and installs it just fine, and everythings works properly. I'm pretty
> sure there is a way to automate this final step, but for the life of me
> I can't locate any information on that!
>
> Thanks again guys!
>
> John
>
> John Morley wrote:
> > Hi,
> >
> > This is slightly OT, but here goes........ I have a VB6 project that
> > works with a USB connected data acquisition module. I'm trying to build
> > an installer (using Installshield) that installs my VB program AND the
> > drivers for the USB device in one-shot WITHOUT requiring the user to run
> > the USB device installer as a separate operation. I know this is
> > possible, but the USB device vendor hasn't been too helpful in telling
> > me all the files I need to load onto the target machine. I'd like to
> > "reverse engineer" the process by running the USB installation software
> > and seeing what changes are made to the system (files copied, registry
> > changes, etc.) and was wondering if anyone knows of a software program
> > that will record this information for viewing after the fact??
> >
> > Thanks!!
> >
> > John