PDA

View Full Version : ISX detect running EXEs?



ayacucho
10-16-2001, 10:44 AM
Hi,
I use ISX 2.04 to update customer files but I have found that
when an EXE is running ISX will (understandably) not over-write
it. Is there any way that I can detect this situation through ISX
so I can inform the user to close down his programs? I already
post a large warning at the start but of course it is ignored.

thanks

markp

Neeru
10-16-2001, 11:19 AM
Express 2.04 does not provide any built-in features that will enable to do the above. You could however write an exe or a dll that would detect to see if all the files that you are installing are not locked by the machine. Then if a locked file is encountered, you could throw a message to the user asking them to close the file. You can launch this via Express Extensions.

Your other option is to upgrade to Express 3.51, which has built-in functionalty to do the above. Express 3.51 is based on Windows installer service, which will usually alert the user if a file is in use by an application. If a file is being used by the system, then it will reboot at the end of the installation and update the file on reboot. For more information on Express 3.51, visit us at www.installshield.com/isx/

Thanks,
Neeru