Archive: find a in-use exe-File in a net-Directory


find a in-use exe-File in a net-Directory
Hi sorry my English is not so good.

How can I check whether an executable file that is located in a network drive is opened by another user During car version of NSIS setups. I have tried it with "LockedList :: addfolder $ INSTDIR". This indicates to me but only when the EXE file is open on my machine.

Thanks for your help


Have you tried the NsProcess plug-in?


As far as I know, the only way to know if a file on a network share is open by another network user is to try to get exclusive rights to it (usually means trying to write to the file). Try renaming it, for example.