I would like to determine if a network machine is using the files I'm trying to replace by installing a new version of my software.
PC1 has the files required to run the application. PC2 has a shorcut to PC1's executable allowing it to run over the network. The problem is that when I install a new version on PC1 and check for the process the setup will continue because the process is being run on PC2 not PC1. The setup then starts spewing out errors that the files currently being used by PC2 cannot be replaced, which is correct but, goes ahead and replaces other files that aren't being used resulting in an corrupted installation.
Is there a script I can use that checks the "Open Files" on the machine running the setup? Similar to what VB2005 NetFileEnumFunction does.
How to NetFileEnum for files being installed?
Is this what support is like after purcahasing the software?
Seems like people aren't interested in the previous query.
Is there a product support desk I can contact?
Is there a product support desk I can contact?
No, not at all tru, it just took me some time to figure out how to accomplish this with InstallAware.
Here is a very simple way to accomplish your end result,
In your setup package use Call DLL and delete your executable.
It wont delete if its inuse and no one can start it during the install if its not there.
Here is a very simple way to accomplish your end result,
In your setup package use Call DLL and delete your executable.
It wont delete if its inuse and no one can start it during the install if its not there.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
jimo wrote:In your setup package use Call DLL and delete your executable.
Smart way, Jim!
Immelman should add some backup to restore the file - if the user cancels the install...
Martin Rothschink
InstallAware MVP
AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
InstallAware MVP
AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
Who is online
Users browsing this forum: No registered users and 98 guests