Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Overinstall and product still running.

1 view
Skip to first unread message

Martin Richter [MVP]

unread,
Mar 9, 2000, 3:00:00 AM3/9/00
to

Steve
> How can I check if a user is trying to install over the top of a
> previous install where the product is still running. I want to quit the
> install at this point and inform the user they must close the product
> before running the install.

Use FindWindow

--
Martin Richter [MVP]
Grutzeck-Software GmbH
Hanau, Germany

"The very best solution for a complex problem is mostly dumb!"

FAQ's : http://www.albert-weinert.de/vcfaq
http://mfcfaq.stingray.com/
Bücher : http://www.picturebox.de/edv/Buchempfehlungen.htm
CodeGuru: http://codeguru.developer.com

WWJD

Carsten Segieth

unread,
Mar 30, 2000, 3:00:00 AM3/30/00
to Martin Richter [MVP]
try something like this:

if Is( FILE_LOCKED, <exe_or_dll_with_full_path> ) then
messagebox( ..., severe );
abort;
endif;

Carsten

--
Carsten Segieth
InstallTeam, SQL Datenbanksysteme GmbH
Alt-Moabit 96, D-10559 Berlin, Germany
Phone: +49-30-390903-195, Fax: ...-115

0 new messages