cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mark_Koehler
Level 6

File In Use - Which File?

My InstallScript MSI project keeps encountering a file in use whenever I run it. I can determine the name of application using the file with the OnRMFilesInUse callback but I'd really like to know the name of the file.

Does anyone know a way to get the file name?
Labels (1)
0 Kudos
(2) Replies
gridman
Level 8

I don't fully understand your question.

You mean when you run your MSI InstallScript project, you get an error that says a file is in use?

This may not help, but I have noticed that sometimes it's as if InstallShield locks files. Sometimes closing the project and reopening it will clear it. Sometimes, you have to close both the project and InstallShield, then rerun IS and open your project.

Once in a while, I've had to even reboot my machine. But this may be Window's fault and not InstallShield.
0 Kudos
Mark_Koehler
Level 6

What I mean is that when I run my resulting MSI, one of the files I'm trying to install is currently is use. I'd really like to know which file it is.

In my specific example, the file is being used by SQL Server but I have no idea which file or component is being copied.
0 Kudos